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
23
DTNumberingScheme
(
const
DDCompactView
& cpv );
24
DTNumberingScheme
(
const
MuonDDDConstants
& muonConstants );
25
~DTNumberingScheme
()
override
{}
26
27
int
baseNumberToUnitNumber
(
const
MuonBaseNumber
&
num
)
override
;
28
29
int
getDetId
(
const
MuonBaseNumber
& num)
const
;
30
31
private
:
32
33
void
initMe
(
const
MuonDDDConstants
& muonConstants );
34
// Decode MuonBaseNumber to id: no checking
35
void
decode
(
const
MuonBaseNumber
& num,
36
int
& wire_id,
37
int
& layer_id,
38
int
& superlayer_id,
39
int
& sector_id,
40
int
& station_id,
41
int
& wheel_id
42
)
const
;
43
44
int
theRegionLevel
;
45
int
theWheelLevel
;
46
int
theStationLevel
;
47
int
theSuperLayerLevel
;
48
int
theLayerLevel
;
49
int
theWireLevel
;
50
53
friend
class
DTGeometryBuilderFromDDD
;
54
friend
class
DTGeometryParserFromDDD
;
55
};
56
57
#endif
pileupDistInMC.num
num
Definition:
pileupDistInMC.py:66
DTGeometryBuilderFromDDD
Definition:
DTGeometryBuilderFromDDD.h:31
DTNumberingScheme::theStationLevel
int theStationLevel
Definition:
DTNumberingScheme.h:46
DTGeometryParserFromDDD
Definition:
DTGeometryParserFromDDD.h:21
DTNumberingScheme::theWireLevel
int theWireLevel
Definition:
DTNumberingScheme.h:49
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:127
MuonNumberingScheme
Definition:
MuonNumberingScheme.h:17
DTNumberingScheme::theRegionLevel
int theRegionLevel
Definition:
DTNumberingScheme.h:44
MuonBaseNumber
Definition:
MuonBaseNumber.h:21
DTNumberingScheme::baseNumberToUnitNumber
int baseNumberToUnitNumber(const MuonBaseNumber &num) override
Definition:
DTNumberingScheme.cc:39
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:13
MuonNumberingScheme.h
DTNumberingScheme::initMe
void initMe(const MuonDDDConstants &muonConstants)
Definition:
DTNumberingScheme.cc:18
DTNumberingScheme::theSuperLayerLevel
int theSuperLayerLevel
Definition:
DTNumberingScheme.h:47
DTNumberingScheme::theWheelLevel
int theWheelLevel
Definition:
DTNumberingScheme.h:45
DTNumberingScheme::getDetId
int getDetId(const MuonBaseNumber &num) const
Definition:
DTNumberingScheme.cc:81
DTNumberingScheme::~DTNumberingScheme
~DTNumberingScheme() override
Definition:
DTNumberingScheme.h:25
DTNumberingScheme::theLayerLevel
int theLayerLevel
Definition:
DTNumberingScheme.h:48
Generated for CMSSW Reference Manual by
1.8.11