1 #ifndef DataFormats_DTRangeMapAccessor_H
2 #define DataFormats_DTRangeMapAccessor_H
19 if (sl1 == sl2)
return false;
40 if (ch1 == ch2)
return false;
83 static std::pair<DTLayerId, DTSuperLayerIdComparator>
87 static std::pair<DTLayerId, DTChamberIdComparator>
91 static std::pair<DTSuperLayerId, DTChamberIdComparator>
95 static std::pair<DTChamberId, DTChamberIdDetLayerComparator>
virtual ~DTRangeMapAccessor()
Destructor.
bool operator()(DTChamberId ch1, DTChamberId ch2) const
Compare two ChamberId.
static std::pair< DTLayerId, DTSuperLayerIdComparator > layersBySuperLayer(DTSuperLayerId slId)
Access by SL objects written into a RangeMap by layer.
static std::pair< DTChamberId, DTChamberIdDetLayerComparator > chambersByDetLayer(DTChamberId id)
Access chambers in a RangeMap by DetLayer.
static std::pair< DTLayerId, DTChamberIdComparator > layersByChamber(DTChamberId chamberId)
Access by chamber objects written into a RangeMap by layer.
static std::pair< DTSuperLayerId, DTChamberIdComparator > superLayersByChamber(DTChamberId chamberId)
Access by chamber objects written into a RangeMap by SL.
bool operator()(DTChamberId ch1, DTChamberId ch2) const
DTRangeMapAccessor()
Constructor.
int station() const
Return the station number.
bool operator()(DTSuperLayerId sl1, DTSuperLayerId sl2) const
Compare two superLayerId.