CMS 3D CMS Logo

BestVertexComparator.h
Go to the documentation of this file.
1 #ifndef RecoHI_HiTracking_BestVertexComparator_h
2 #define RecoHI_HiTracking_BestVertexComparator_h
3 
4 template <typename T>
8  bool operator()(const T& t1, const T& t2) const { return t1.tracksSize() > t2.tracksSize(); }
9 };
10 
11 template <typename T>
15  bool operator()(const T& t1, const T& t2) const { return t1.normalizeChi2() < t2.normalizedChi2(); }
16 };
17 
18 #endif
RandomServiceHelper.t2
t2
Definition: RandomServiceHelper.py:257
LessByNormalizedChi2
Definition: BestVertexComparator.h:12
GreaterByTracksSize::first_argument_type
T first_argument_type
Definition: BestVertexComparator.h:6
RandomServiceHelper.t1
t1
Definition: RandomServiceHelper.py:256
GreaterByTracksSize
Definition: BestVertexComparator.h:5
LessByNormalizedChi2::first_argument_type
T first_argument_type
Definition: BestVertexComparator.h:13
LessByNormalizedChi2::second_argument_type
T second_argument_type
Definition: BestVertexComparator.h:14
T
long double T
Definition: Basic3DVectorLD.h:48
GreaterByTracksSize::second_argument_type
T second_argument_type
Definition: BestVertexComparator.h:7
GreaterByTracksSize::operator()
bool operator()(const T &t1, const T &t2) const
Definition: BestVertexComparator.h:8
LessByNormalizedChi2::operator()
bool operator()(const T &t1, const T &t2) const
Definition: BestVertexComparator.h:15