Public Member Functions | |
bool | operator() (const pair< vector< DetGroup > const *, int > &a, const pair< vector< DetGroup >const *, int > &b) const |
Definition at line 20 of file TIDLayer.cc.
bool TIDringLess::operator() | ( | const pair< vector< DetGroup > const *, int > & | a, | |
const pair< vector< DetGroup >const *, int > & | b | |||
) | const [inline] |
Definition at line 23 of file TIDLayer.cc.
00023 { 00024 if(a.second==2) {return true;} 00025 else if(a.second==0) { 00026 if(b.second==2) return false; 00027 if(b.second==1) return true; 00028 } 00029 return false; 00030 };