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 {
9  return t1.tracksSize() > t2.tracksSize();
10  }
11 };
12 
13 template<typename T>
17  bool operator()( const T & t1, const T & t2 ) const {
18  return t1.normalizeChi2() < t2.normalizedChi2();
19  }
20 };
21 
22 #endif
bool operator()(const T &t1, const T &t2) const
bool operator()(const T &t1, const T &t2) const
long double T