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 
14 
15 class MuonBaseNumber;
16 class MuBarDetBuilder;
18 
20 public:
21  DTNumberingScheme(const MuonGeometryConstants& muonConstants);
22  ~DTNumberingScheme() override {}
23 
24  int baseNumberToUnitNumber(const MuonBaseNumber& num) override;
25 
26  int getDetId(const MuonBaseNumber& num) const;
27 
28 private:
29  void initMe(const MuonGeometryConstants& muonConstants);
30  // Decode MuonBaseNumber to id: no checking
31  void decode(const MuonBaseNumber& num,
32  int& wire_id,
33  int& layer_id,
34  int& superlayer_id,
35  int& sector_id,
36  int& station_id,
37  int& wheel_id) const;
38 
45 
50 };
51 
52 #endif
MuonGeometryConstants
Definition: MuonGeometryConstants.h:20
DTNumberingScheme::theLayerLevel
int theLayerLevel
Definition: DTNumberingScheme.h:43
DTNumberingScheme::initMe
void initMe(const MuonGeometryConstants &muonConstants)
Definition: DTNumberingScheme.cc:11
DTGeometryBuilderFromDDD
Definition: DTGeometryBuilderFromDDD.h:31
DTNumberingScheme::theWireLevel
int theWireLevel
Definition: DTNumberingScheme.h:44
DTNumberingScheme::theStationLevel
int theStationLevel
Definition: DTNumberingScheme.h:41
DTNumberingScheme::getDetId
int getDetId(const MuonBaseNumber &num) const
Definition: DTNumberingScheme.cc:65
DTNumberingScheme::baseNumberToUnitNumber
int baseNumberToUnitNumber(const MuonBaseNumber &num) override
Definition: DTNumberingScheme.cc:28
DTNumberingScheme::theRegionLevel
int theRegionLevel
Definition: DTNumberingScheme.h:39
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:42
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:104
DTNumberingScheme::DTNumberingScheme
DTNumberingScheme(const MuonGeometryConstants &muonConstants)
Definition: DTNumberingScheme.cc:9
DTNumberingScheme::theWheelLevel
int theWheelLevel
Definition: DTNumberingScheme.h:40
MuonNumberingScheme
Definition: MuonNumberingScheme.h:17
DTNumberingScheme::~DTNumberingScheme
~DTNumberingScheme() override
Definition: DTNumberingScheme.h:22
DTNumberingScheme
Definition: DTNumberingScheme.h:19
MuonNumberingScheme.h