src
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
DTGeometryBuilderFromDDD
Definition:
DTGeometryBuilderFromDDD.h:31
DTNumberingScheme::theStationLevel
int theStationLevel
Definition:
DTNumberingScheme.h:42
DTGeometryParserFromDDD
Definition:
DTGeometryParserFromDDD.h:21
DTNumberingScheme::theWireLevel
int theWireLevel
Definition:
DTNumberingScheme.h:45
DTNumberingScheme::initMe
void initMe(const MuonGeometryConstants &muonConstants)
Definition:
DTNumberingScheme.cc:21
MuonNumberingScheme
Definition:
MuonNumberingScheme.h:17
DTNumberingScheme::theRegionLevel
int theRegionLevel
Definition:
DTNumberingScheme.h:40
MuonBaseNumber
Definition:
MuonBaseNumber.h:21
DTNumberingScheme
Definition:
DTNumberingScheme.h:20
DTNumberingScheme::baseNumberToUnitNumber
int baseNumberToUnitNumber(const MuonBaseNumber &num) const override
Definition:
DTNumberingScheme.cc:37
DTNumberingScheme::getDetId
int getDetId(const MuonBaseNumber &num) const
Definition:
DTNumberingScheme.cc:68
MuonNumberingScheme.h
EgammaValidation_cff.num
num
Definition:
EgammaValidation_cff.py:33
DTNumberingScheme::theSuperLayerLevel
int theSuperLayerLevel
Definition:
DTNumberingScheme.h:43
DTNumberingScheme::DTNumberingScheme
DTNumberingScheme(const MuonGeometryConstants &muonConstants)
Definition:
DTNumberingScheme.cc:19
DTNumberingScheme::theWheelLevel
int theWheelLevel
Definition:
DTNumberingScheme.h:41
MuonGeometryConstants
Definition:
MuonGeometryConstants.h:20
DTNumberingScheme::~DTNumberingScheme
~DTNumberingScheme() override
Definition:
DTNumberingScheme.h:23
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:101
DTNumberingScheme::theLayerLevel
int theLayerLevel
Definition:
DTNumberingScheme.h:44
Generated for CMSSW Reference Manual by
1.8.14