CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTRangeMapAccessor.cc
Go to the documentation of this file.
1 
9 
10 using namespace std;
11 
12 
13 
15 
16 
17 
19 
20 
21 
22 // Access by SL objects written into a RangeMap by layer.
23 pair<DTLayerId, DTSuperLayerIdComparator>
25  return make_pair(DTLayerId(slId,0), DTSuperLayerIdComparator());
26 }
27 
28 
29 
30 // Access by chamber objects written into a RangeMap by layer.
31 pair<DTLayerId, DTChamberIdComparator>
33  return make_pair(DTLayerId(chamberId,0,0), DTChamberIdComparator());
34 }
35 
36 
37 
38 // Access by chamber objects written into a RangeMap by SL.
39 pair<DTSuperLayerId, DTChamberIdComparator>
41  return make_pair(DTSuperLayerId(chamberId,0), DTChamberIdComparator());
42 }
43 
44 
45 // Access by chamber objects written into a RangeMap by DetLayer.
46 pair<DTChamberId, DTChamberIdDetLayerComparator>
48  return make_pair(DTChamberId(chamberId), DTChamberIdDetLayerComparator());
49 }
50 
virtual ~DTRangeMapAccessor()
Destructor.
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.
DTSuperLayerId
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.
DTRangeMapAccessor()
Constructor.