CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
auto const T2 &decltype(t1.eta()) t2
Definition: deltaR.h:18
bool operator()(const T &t1, const T &t2) const
long double T