CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
AlignmentSorter.h
Go to the documentation of this file.
1 #ifndef __CondFormats_Alignment_AlignmentSorter_h
2 #define __CondFormats_Alignment_AlignmentSorter_h
3 
11 template<class T>
12 struct lessAlignmentDetId : public std::binary_function<T,T,bool>
13 {
14 
15  bool operator()( const T& a, const T& b )
16  {
17  return a.rawId() < b.rawId();
18  }
19 
20 };
21 
25 template<class T>
26 struct lessIdAlignmentPair : public std::binary_function<T,T,bool>
27 {
28 
29  bool operator()( const T& a, const T& b )
30  {
31  return a.first < b.first;
32  }
33 
34 };
35 
36 #endif
bool operator()(const T &a, const T &b)
bool operator()(const T &a, const T &b)
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
long double T