Public Member Functions | |
bool | operator() (const DTROBCardId &idl, const DTROBCardId &idr) const |
Definition at line 119 of file DTCompactMapWriter.cc.
bool DTROBCardCompare::operator() | ( | const DTROBCardId & | idl, |
const DTROBCardId & | idr | ||
) | const |
Definition at line 126 of file DTCompactMapWriter.cc.
References DTROBCardId::stationId().
{ if ( idl. wheelId() < idr. wheelId() ) return true; if ( idl. wheelId() > idr. wheelId() ) return false; if ( idl. sectorId() < idr. sectorId() ) return true; if ( idl. sectorId() > idr. sectorId() ) return false; if ( idl.stationId() < idr.stationId() ) return true; if ( idl.stationId() > idr.stationId() ) return false; if ( idl. robId() < idr. robId() ) return true; if ( idl. robId() > idr. robId() ) return false; return false; }