Geometry
MuonNumbering
interface
DTNumberingScheme.h
Go to the documentation of this file.
1
#ifndef Geometry_MuonNumbering_DTNumberingScheme_h
2
#define Geometry_MuonNumbering_DTNumberingScheme_h
3
14
#include "
Geometry/MuonNumbering/interface/MuonNumberingScheme.h
"
15
16
class
MuonBaseNumber
;
17
class
MuBarDetBuilder;
18
class
MuonGeometryConstants
;
19
20
class
DTNumberingScheme
:
public
MuonNumberingScheme
{
21
public
:
22
DTNumberingScheme
(
const
MuonGeometryConstants
& muonConstants);
23
~DTNumberingScheme
()
override
{}
24
25
int
baseNumberToUnitNumber
(
const
MuonBaseNumber
&
num
)
const override
;
26
27
int
getDetId
(
const
MuonBaseNumber
&
num
)
const
;
28
29
private
:
30
void
initMe
(
const
MuonGeometryConstants
& muonConstants);
31
// Decode MuonBaseNumber to id: no checking
32
void
decode
(
const
MuonBaseNumber
&
num
,
33
int
& wire_id,
34
int
& layer_id,
35
int
& superlayer_id,
36
int
& sector_id,
37
int
& station_id,
38
int
& wheel_id)
const
;
39
40
int
theRegionLevel
;
41
int
theWheelLevel
;
42
int
theStationLevel
;
43
int
theSuperLayerLevel
;
44
int
theLayerLevel
;
45
int
theWireLevel
;
46
49
friend
class
DTGeometryBuilderFromDDD
;
50
friend
class
DTGeometryParserFromDDD
;
51
};
52
53
#endif
MuonGeometryConstants
Definition:
MuonGeometryConstants.h:20
DTNumberingScheme::theLayerLevel
int theLayerLevel
Definition:
DTNumberingScheme.h:44
DTNumberingScheme::initMe
void initMe(const MuonGeometryConstants &muonConstants)
Definition:
DTNumberingScheme.cc:21
DTGeometryBuilderFromDDD
Definition:
DTGeometryBuilderFromDDD.h:31
DTNumberingScheme::theWireLevel
int theWireLevel
Definition:
DTNumberingScheme.h:45
DTNumberingScheme::theStationLevel
int theStationLevel
Definition:
DTNumberingScheme.h:42
DTNumberingScheme::getDetId
int getDetId(const MuonBaseNumber &num) const
Definition:
DTNumberingScheme.cc:75
DTNumberingScheme::theRegionLevel
int theRegionLevel
Definition:
DTNumberingScheme.h:40
DTNumberingScheme::baseNumberToUnitNumber
int baseNumberToUnitNumber(const MuonBaseNumber &num) const override
Definition:
DTNumberingScheme.cc:38
DTGeometryParserFromDDD
Definition:
DTGeometryParserFromDDD.h:21
EgammaValidation_cff.num
num
Definition:
EgammaValidation_cff.py:34
MuonBaseNumber
Definition:
MuonBaseNumber.h:21
DTNumberingScheme::theSuperLayerLevel
int theSuperLayerLevel
Definition:
DTNumberingScheme.h:43
DTNumberingScheme::decode
void decode(const MuonBaseNumber &num, int &wire_id, int &layer_id, int &superlayer_id, int §or_id, int &station_id, int &wheel_id) const
Definition:
DTNumberingScheme.cc:114
DTNumberingScheme::DTNumberingScheme
DTNumberingScheme(const MuonGeometryConstants &muonConstants)
Definition:
DTNumberingScheme.cc:19
DTNumberingScheme::theWheelLevel
int theWheelLevel
Definition:
DTNumberingScheme.h:41
MuonNumberingScheme
Definition:
MuonNumberingScheme.h:17
DTNumberingScheme::~DTNumberingScheme
~DTNumberingScheme() override
Definition:
DTNumberingScheme.h:23
DTNumberingScheme
Definition:
DTNumberingScheme.h:20
MuonNumberingScheme.h
Generated for CMSSW Reference Manual by
1.8.16