DataFormats
DTRecHit
src
DTRangeMapAccessor.cc
Go to the documentation of this file.
1
6
#include "
DataFormats/DTRecHit/interface/DTRangeMapAccessor.h
"
7
8
using namespace
std
;
9
10
DTRangeMapAccessor::DTRangeMapAccessor
() {}
11
12
DTRangeMapAccessor::~DTRangeMapAccessor
() {}
13
14
// Access by SL objects written into a RangeMap by layer.
15
pair<DTLayerId, DTSuperLayerIdComparator>
DTRangeMapAccessor::layersBySuperLayer
(
DTSuperLayerId
slId) {
16
return
make_pair(
DTLayerId
(slId, 0),
DTSuperLayerIdComparator
());
17
}
18
19
// Access by chamber objects written into a RangeMap by layer.
20
pair<DTLayerId, DTChamberIdComparator>
DTRangeMapAccessor::layersByChamber
(
DTChamberId
chamberId) {
21
return
make_pair(
DTLayerId
(chamberId, 0, 0),
DTChamberIdComparator
());
22
}
23
24
// Access by chamber objects written into a RangeMap by SL.
25
pair<DTSuperLayerId, DTChamberIdComparator>
DTRangeMapAccessor::superLayersByChamber
(
DTChamberId
chamberId) {
26
return
make_pair(
DTSuperLayerId
(chamberId, 0),
DTChamberIdComparator
());
27
}
28
29
// Access by chamber objects written into a RangeMap by DetLayer.
30
pair<DTChamberId, DTChamberIdDetLayerComparator>
DTRangeMapAccessor::chambersByDetLayer
(
DTChamberId
chamberId) {
31
return
make_pair(
DTChamberId
(chamberId),
DTChamberIdDetLayerComparator
());
32
}
DTSuperLayerId
Definition:
DTSuperLayerId.h:12
DTRangeMapAccessor::superLayersByChamber
static std::pair< DTSuperLayerId, DTChamberIdComparator > superLayersByChamber(DTChamberId chamberId)
Access by chamber objects written into a RangeMap by SL.
Definition:
DTRangeMapAccessor.cc:25
DTRangeMapAccessor::~DTRangeMapAccessor
virtual ~DTRangeMapAccessor()
Destructor.
Definition:
DTRangeMapAccessor.cc:12
DTLayerId
Definition:
DTLayerId.h:12
DTChamberIdDetLayerComparator
Definition:
DTRangeMapAccessor.h:52
DTRangeMapAccessor::layersBySuperLayer
static std::pair< DTLayerId, DTSuperLayerIdComparator > layersBySuperLayer(DTSuperLayerId slId)
Access by SL objects written into a RangeMap by layer.
Definition:
DTRangeMapAccessor.cc:15
DTRangeMapAccessor.h
DTRangeMapAccessor::layersByChamber
static std::pair< DTLayerId, DTChamberIdComparator > layersByChamber(DTChamberId chamberId)
Access by chamber objects written into a RangeMap by layer.
Definition:
DTRangeMapAccessor.cc:20
DTSuperLayerIdComparator
Definition:
DTRangeMapAccessor.h:14
std
Definition:
JetResolutionObject.h:76
DTChamberIdComparator
Definition:
DTRangeMapAccessor.h:33
DTChamberId
Definition:
DTChamberId.h:14
DTRangeMapAccessor::DTRangeMapAccessor
DTRangeMapAccessor()
Constructor.
Definition:
DTRangeMapAccessor.cc:10
DTRangeMapAccessor::chambersByDetLayer
static std::pair< DTChamberId, DTChamberIdDetLayerComparator > chambersByDetLayer(DTChamberId id)
Access chambers in a RangeMap by DetLayer.
Definition:
DTRangeMapAccessor.cc:30
Generated for CMSSW Reference Manual by
1.8.16