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
void initMe(const MuonGeometryConstants &muonConstants)
int baseNumberToUnitNumber(const MuonBaseNumber &num) const override
int getDetId(const MuonBaseNumber &num) const
DTNumberingScheme(const MuonGeometryConstants &muonConstants)
~DTNumberingScheme() override
void decode(const MuonBaseNumber &num, int &wire_id, int &layer_id, int &superlayer_id, int &sector_id, int &station_id, int &wheel_id) const