RecoLocalMuon
CSCRecHitD
src
CSCRangeMapForRecHit.h
Go to the documentation of this file.
1
#ifndef CSCRecHitD_CSCRangeMapForRecHit_H
2
#define CSCRecHitD_CSCRangeMapForRecHit_H
3
10
#include <
DataFormats/MuonDetId/interface/CSCDetId.h
>
11
12
class
CSCDetIdSameDetLayerCompare
{
13
public
:
14
bool
operator()
(
CSCDetId
i1
,
CSCDetId
i2
)
const
;
15
};
16
17
class
CSCDetIdSameChamberCompare
{
18
public
:
19
bool
operator()
(
CSCDetId
i1
,
CSCDetId
i2
)
const
;
20
};
21
22
class
CSCRangeMapForRecHit
{
23
public
:
25
CSCRangeMapForRecHit
();
26
28
virtual
~CSCRangeMapForRecHit
();
29
31
static
std::pair<CSCDetId, CSCDetIdSameChamberCompare>
cscChamber
(
CSCDetId
id
);
32
static
std::pair<CSCDetId, CSCDetIdSameDetLayerCompare>
cscDetLayer
(
CSCDetId
id
);
33
34
private
:
35
};
36
37
#endif
CSCDetIdSameChamberCompare::operator()
bool operator()(CSCDetId i1, CSCDetId i2) const
Definition:
CSCRangeMapForRecHit.cc:20
testProducerWithPsetDescEmpty_cfi.i2
i2
Definition:
testProducerWithPsetDescEmpty_cfi.py:46
testProducerWithPsetDescEmpty_cfi.i1
i1
Definition:
testProducerWithPsetDescEmpty_cfi.py:45
CSCRangeMapForRecHit::cscDetLayer
static std::pair< CSCDetId, CSCDetIdSameDetLayerCompare > cscDetLayer(CSCDetId id)
Definition:
CSCRangeMapForRecHit.cc:16
CSCDetIdSameDetLayerCompare::operator()
bool operator()(CSCDetId i1, CSCDetId i2) const
Definition:
CSCRangeMapForRecHit.cc:26
CSCDetId.h
CSCRangeMapForRecHit::CSCRangeMapForRecHit
CSCRangeMapForRecHit()
Constructor.
Definition:
CSCRangeMapForRecHit.cc:8
CSCDetId
Definition:
CSCDetId.h:26
CSCDetIdSameChamberCompare
Definition:
CSCRangeMapForRecHit.h:17
CSCRangeMapForRecHit::~CSCRangeMapForRecHit
virtual ~CSCRangeMapForRecHit()
Destructor.
Definition:
CSCRangeMapForRecHit.cc:10
CSCRangeMapForRecHit
Definition:
CSCRangeMapForRecHit.h:22
CSCRangeMapForRecHit::cscChamber
static std::pair< CSCDetId, CSCDetIdSameChamberCompare > cscChamber(CSCDetId id)
Returns a valid DetId + a valid comparator for the RangeMap.
Definition:
CSCRangeMapForRecHit.cc:12
CSCDetIdSameDetLayerCompare
Definition:
CSCRangeMapForRecHit.h:12
Generated for CMSSW Reference Manual by
1.8.16