Public Member Functions | |
bool | operator() (const DTPhysicalWireId &idl, const DTPhysicalWireId &idr) const |
Definition at line 212 of file DTCompactMapWriter.cc.
bool DTPhysicalWireCompare::operator() | ( | const DTPhysicalWireId & | idl, |
const DTPhysicalWireId & | idr | ||
) | const |
Definition at line 219 of file DTCompactMapWriter.cc.
References DTPhysicalWireId::superlayerId().
{ if ( idl.superlayerId() < idr.superlayerId() ) return true; if ( idl.superlayerId() > idr.superlayerId() ) return false; if ( idl. layerId() < idr. layerId() ) return true; if ( idl. layerId() > idr. layerId() ) return false; if ( idl. cellId() < idr. cellId() ) return true; if ( idl. cellId() > idr. cellId() ) return false; return false; }