1 |
econte |
1.1 |
#ifndef Tracker_TrajMeasLessEstim_H
|
2 |
|
|
#define Tracker_TrajMeasLessEstim_H
|
3 |
|
|
|
4 |
|
|
#include "TrackingTools/PatternTools/interface/TrajectoryMeasurement.h"
|
5 |
|
|
|
6 |
|
|
/** Function object for ordering TrajectoryMeasurements according to the
|
7 |
|
|
* value of their compatibility estimate (typically Chi^2)
|
8 |
|
|
*/
|
9 |
|
|
|
10 |
|
|
class TrajMeasLessEstim {
|
11 |
|
|
public:
|
12 |
|
|
bool operator()( const TrajectoryMeasurement& a, const TrajectoryMeasurement& b) {
|
13 |
|
|
return a.estimate() < b.estimate();
|
14 |
|
|
}
|
15 |
|
|
};
|
16 |
|
|
|
17 |
|
|
#endif // Tracker_TrajMeasLessEstim_H
|