#include <CaloOnlineTools/HcalOnlineDb/interface/XMLHTRPatterns.h>
Public Member Functions | |
HTRPatternID () | |
bool | operator< (const HTRPatternID &_id) const |
~HTRPatternID () | |
Public Attributes | |
int | crate |
int | fiber |
int | slot |
int | topbottom |
Definition at line 31 of file XMLHTRPatterns.h.
HTRPatternID::HTRPatternID | ( | ) | [inline] |
HTRPatternID::~HTRPatternID | ( | ) | [inline] |
bool HTRPatternID::operator< | ( | const HTRPatternID & | _id | ) | const [inline] |
Definition at line 41 of file XMLHTRPatterns.h.
References crate, fiber, slot, and topbottom.
00042 { 00043 if ( crate < _id . crate ) return true; 00044 else if ( crate == _id . crate && slot < _id . slot ) return true; 00045 else if ( crate == _id . crate && slot == _id . slot && topbottom < _id . topbottom ) return true; 00046 else if ( crate == _id . crate && slot == _id . slot && topbottom == _id . topbottom && fiber < _id . fiber ) return true; 00047 else return false; 00048 }