CMS 3D CMS Logo

CSCRangeMapAccessor.h
Go to the documentation of this file.
1 #ifndef DataFormats_CSCRecHit_CSCRangeMapAccessor_H
2 #define DataFormats_CSCRecHit_CSCRangeMapAccessor_H
3 
11 
13 public:
14  bool operator()(CSCDetId i1, CSCDetId i2) const;
15 };
16 
18 public:
19  bool operator()(CSCDetId i1, CSCDetId i2) const;
20 };
21 
23 public:
26 
28  virtual ~CSCRangeMapAccessor();
29 
31  static std::pair<CSCDetId, CSCDetIdSameChamberComparator> cscChamber(CSCDetId id);
32  static std::pair<CSCDetId, CSCDetIdSameDetLayerComparator> cscDetLayer(CSCDetId id);
33 
34 private:
35 };
36 
37 #endif
testProducerWithPsetDescEmpty_cfi.i2
i2
Definition: testProducerWithPsetDescEmpty_cfi.py:46
CSCDetIdSameChamberComparator
Definition: CSCRangeMapAccessor.h:17
CSCRangeMapAccessor::~CSCRangeMapAccessor
virtual ~CSCRangeMapAccessor()
Destructor.
Definition: CSCRangeMapAccessor.cc:11
CSCDetIdSameDetLayerComparator
Definition: CSCRangeMapAccessor.h:12
testProducerWithPsetDescEmpty_cfi.i1
i1
Definition: testProducerWithPsetDescEmpty_cfi.py:45
CSCDetId.h
CSCDetIdSameDetLayerComparator::operator()
bool operator()(CSCDetId i1, CSCDetId i2) const
Definition: CSCRangeMapAccessor.cc:28
CSCDetIdSameChamberComparator::operator()
bool operator()(CSCDetId i1, CSCDetId i2) const
Definition: CSCRangeMapAccessor.cc:21
CSCDetId
Definition: CSCDetId.h:26
CSCRangeMapAccessor::cscChamber
static std::pair< CSCDetId, CSCDetIdSameChamberComparator > cscChamber(CSCDetId id)
Returns a valid DetId + a valid comparator for the RangeMap.
Definition: CSCRangeMapAccessor.cc:13
CSCRangeMapAccessor
Definition: CSCRangeMapAccessor.h:22
CSCRangeMapAccessor::cscDetLayer
static std::pair< CSCDetId, CSCDetIdSameDetLayerComparator > cscDetLayer(CSCDetId id)
Definition: CSCRangeMapAccessor.cc:17
CSCRangeMapAccessor::CSCRangeMapAccessor
CSCRangeMapAccessor()
Constructor.
Definition: CSCRangeMapAccessor.cc:9