#include <DTRangeMapAccessor.h>
Public Member Functions | |
DTRangeMapAccessor () | |
Constructor. | |
virtual | ~DTRangeMapAccessor () |
Destructor. | |
Static Public Member Functions | |
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< DTLayerId, DTSuperLayerIdComparator > | layersBySuperLayer (DTSuperLayerId slId) |
Access by SL 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. |
Utility class for access to objects in a RangeMap with needed granularity.
Definition at line 80 of file DTRangeMapAccessor.h.
DTRangeMapAccessor::DTRangeMapAccessor | ( | ) |
DTRangeMapAccessor::~DTRangeMapAccessor | ( | ) | [virtual] |
pair< DTChamberId, DTChamberIdDetLayerComparator > DTRangeMapAccessor::chambersByDetLayer | ( | DTChamberId | id | ) | [static] |
Access chambers in a RangeMap by DetLayer.
Definition at line 47 of file DTRangeMapAccessor.cc.
References DTChamberId.
{ return make_pair(DTChamberId(chamberId), DTChamberIdDetLayerComparator()); }
pair< DTLayerId, DTChamberIdComparator > DTRangeMapAccessor::layersByChamber | ( | DTChamberId | chamberId | ) | [static] |
Access by chamber objects written into a RangeMap by layer.
Definition at line 32 of file DTRangeMapAccessor.cc.
References DTLayerId.
{ return make_pair(DTLayerId(chamberId,0,0), DTChamberIdComparator()); }
pair< DTLayerId, DTSuperLayerIdComparator > DTRangeMapAccessor::layersBySuperLayer | ( | DTSuperLayerId | slId | ) | [static] |
Access by SL objects written into a RangeMap by layer.
Definition at line 24 of file DTRangeMapAccessor.cc.
References DTLayerId.
Referenced by DTEfficiencyTask::analyze(), DTClusterer::produce(), DTRecSegment2DProducer::produce(), DTRecSegment2DExtendedProducer::produce(), DTMeantimerPatternReco4D::setDTRecHit1DContainer(), and DTCombinatorialPatternReco4D::setDTRecHit1DContainer().
{ return make_pair(DTLayerId(slId,0), DTSuperLayerIdComparator()); }
pair< DTSuperLayerId, DTChamberIdComparator > DTRangeMapAccessor::superLayersByChamber | ( | DTChamberId | chamberId | ) | [static] |
Access by chamber objects written into a RangeMap by SL.
Definition at line 40 of file DTRangeMapAccessor.cc.
References DTSuperLayerId.
{ return make_pair(DTSuperLayerId(chamberId,0), DTChamberIdComparator()); }