test
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 
7 
8 using namespace std;
9 
10 
11 
13 
14 
15 
17 
18 
19 
20 // Access by SL objects written into a RangeMap by layer.
21 pair<DTLayerId, DTSuperLayerIdComparator>
23  return make_pair(DTLayerId(slId,0), DTSuperLayerIdComparator());
24 }
25 
26 
27 
28 // Access by chamber objects written into a RangeMap by layer.
29 pair<DTLayerId, DTChamberIdComparator>
31  return make_pair(DTLayerId(chamberId,0,0), DTChamberIdComparator());
32 }
33 
34 
35 
36 // Access by chamber objects written into a RangeMap by SL.
37 pair<DTSuperLayerId, DTChamberIdComparator>
39  return make_pair(DTSuperLayerId(chamberId,0), DTChamberIdComparator());
40 }
41 
42 
43 // Access by chamber objects written into a RangeMap by DetLayer.
44 pair<DTChamberId, DTChamberIdDetLayerComparator>
46  return make_pair(DTChamberId(chamberId), DTChamberIdDetLayerComparator());
47 }
48 
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.