CMS 3D CMS Logo

DTNumberingScheme.h
Go to the documentation of this file.
1 #ifndef Geometry_MuonNumbering_DTNumberingScheme_h
2 #define Geometry_MuonNumbering_DTNumberingScheme_h
3 
15 
16 class MuonBaseNumber;
17 class MuBarDetBuilder;
19 
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 
46 
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:74
DTNumberingScheme::theRegionLevel
int theRegionLevel
Definition: DTNumberingScheme.h:40
DTNumberingScheme::baseNumberToUnitNumber
int baseNumberToUnitNumber(const MuonBaseNumber &num) const override
Definition: DTNumberingScheme.cc:37
DTGeometryParserFromDDD
Definition: DTGeometryParserFromDDD.h:21
EgammaValidation_cff.num
num
Definition: EgammaValidation_cff.py:33
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 &sector_id, int &station_id, int &wheel_id) const
Definition: DTNumberingScheme.cc:113
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