Main Page
Namespaces
Classes
Package Documentation
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
13
#include "
Geometry/MuonNumbering/interface/MuonNumberingScheme.h
"
14
15
class
MuonBaseNumber
;
16
class
MuBarDetBuilder;
17
class
DDCompactView
;
18
class
MuonDDDConstants
;
19
20
class
DTNumberingScheme
:
public
MuonNumberingScheme
{
21
public
:
22
DTNumberingScheme
(
const
DDCompactView
& cpv);
23
DTNumberingScheme
(
const
MuonDDDConstants
& muonConstants);
24
~DTNumberingScheme
()
override
{}
25
26
int
baseNumberToUnitNumber
(
const
MuonBaseNumber
&
num
)
override
;
27
28
int
getDetId
(
const
MuonBaseNumber
& num)
const
;
29
30
private
:
31
void
initMe
(
const
MuonDDDConstants
& muonConstants);
32
// Decode MuonBaseNumber to id: no checking
33
void
decode
(
const
MuonBaseNumber
& num,
34
int
& wire_id,
35
int
& layer_id,
36
int
& superlayer_id,
37
int
& sector_id,
38
int
& station_id,
39
int
& wheel_id)
const
;
40
41
int
theRegionLevel
;
42
int
theWheelLevel
;
43
int
theStationLevel
;
44
int
theSuperLayerLevel
;
45
int
theLayerLevel
;
46
int
theWireLevel
;
47
50
friend
class
DTGeometryBuilderFromDDD
;
51
friend
class
DTGeometryParserFromDDD
;
52
};
53
54
#endif
DTGeometryBuilderFromDDD
Definition:
DTGeometryBuilderFromDDD.h:31
DTNumberingScheme::theStationLevel
int theStationLevel
Definition:
DTNumberingScheme.h:43
DTGeometryParserFromDDD
Definition:
DTGeometryParserFromDDD.h:21
DTNumberingScheme::theWireLevel
int theWireLevel
Definition:
DTNumberingScheme.h:46
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:109
MuonNumberingScheme
Definition:
MuonNumberingScheme.h:17
DTNumberingScheme::theRegionLevel
int theRegionLevel
Definition:
DTNumberingScheme.h:41
MuonBaseNumber
Definition:
MuonBaseNumber.h:21
DTNumberingScheme::baseNumberToUnitNumber
int baseNumberToUnitNumber(const MuonBaseNumber &num) override
Definition:
DTNumberingScheme.cc:33
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition:
DDCompactView.h:80
DTNumberingScheme
Definition:
DTNumberingScheme.h:20
MuonDDDConstants
Definition:
MuonDDDConstants.h:21
DTNumberingScheme::DTNumberingScheme
DTNumberingScheme(const DDCompactView &cpv)
Definition:
DTNumberingScheme.cc:11
MuonNumberingScheme.h
EgammaValidation_cff.num
num
Definition:
EgammaValidation_cff.py:34
DTNumberingScheme::initMe
void initMe(const MuonDDDConstants &muonConstants)
Definition:
DTNumberingScheme.cc:16
DTNumberingScheme::theSuperLayerLevel
int theSuperLayerLevel
Definition:
DTNumberingScheme.h:44
DTNumberingScheme::theWheelLevel
int theWheelLevel
Definition:
DTNumberingScheme.h:42
DTNumberingScheme::getDetId
int getDetId(const MuonBaseNumber &num) const
Definition:
DTNumberingScheme.cc:70
DTNumberingScheme::~DTNumberingScheme
~DTNumberingScheme() override
Definition:
DTNumberingScheme.h:24
DTNumberingScheme::theLayerLevel
int theLayerLevel
Definition:
DTNumberingScheme.h:45
Generated for CMSSW Reference Manual by
1.8.11