Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:31:41

0001 #ifndef Tracker_TrajMeasLessEstim_H
0002 #define Tracker_TrajMeasLessEstim_H
0003 
0004 #include "TrackingTools/PatternTools/interface/TrajectoryMeasurement.h"
0005 
0006 /** Function object for ordering TrajectoryMeasurements according to the
0007  *  value of their compatibility estimate (typically Chi^2)
0008  */
0009 
0010 class TrajMeasLessEstim {
0011 public:
0012   bool operator()(const TrajectoryMeasurement& a, const TrajectoryMeasurement& b) {
0013     return a.estimate() < b.estimate();
0014   }
0015 };
0016 
0017 #endif  // Tracker_TrajMeasLessEstim_H