CMS 3D CMS Logo

DD4hep_RPCNumberingScheme.h
Go to the documentation of this file.
1 #ifndef GEOMETRY_MUON_NUMBERING_RPC_NUMBERING_SCHEME_H
2 #define GEOMETRY_MUON_NUMBERING_RPC_NUMBERING_SCHEME_H
3 
4 /*
5 //\class RPCNumberingScheme
6 
7  Description: RPC Numbering Scheme for DD4hep
8 
9 //
10 // Author: Sergio Lo Meo (sergio.lo.meo@cern.ch) following what Ianna Osburne made for DTs (DD4HEP migration)
11 // Created: Fri, 20 Sep 2019
12 */
13 
15 
16 class MuonBaseNumber;
17 class MuonConstants;
18 
19 namespace cms {
21  public:
22  RPCNumberingScheme(const MuonConstants& muonConstants);
24  int getDetId() const { return detId; }
25 
26  private:
27  const int get(const char*, const MuonConstants&) const;
28  void initMe(const MuonConstants& muonConstants);
29  void setDetId(int idnew) { detId = idnew; }
38 
39  int detId;
40  };
41 } // namespace cms
42 #endif
cms::RPCNumberingScheme::theBWheelLevel
int theBWheelLevel
Definition: DD4hep_RPCNumberingScheme.h:31
cms::RPCNumberingScheme::theBStationLevel
int theBStationLevel
Definition: DD4hep_RPCNumberingScheme.h:32
cms::RPCNumberingScheme::theERollLevel
int theERollLevel
Definition: DD4hep_RPCNumberingScheme.h:37
cms::RPCNumberingScheme::getDetId
int getDetId() const
Definition: DD4hep_RPCNumberingScheme.h:24
cms::RPCNumberingScheme::setDetId
void setDetId(int idnew)
Definition: DD4hep_RPCNumberingScheme.h:29
cms::RPCNumberingScheme::theBChamberLevel
int theBChamberLevel
Definition: DD4hep_RPCNumberingScheme.h:34
cms::RPCNumberingScheme
Definition: DD4hep_RPCNumberingScheme.h:20
cms::RPCNumberingScheme::detId
int detId
Definition: DD4hep_RPCNumberingScheme.h:39
cms::RPCNumberingScheme::theEPlaneLevel
int theEPlaneLevel
Definition: DD4hep_RPCNumberingScheme.h:35
cms::RPCNumberingScheme::initMe
void initMe(const MuonConstants &muonConstants)
Definition: DD4hep_RPCNumberingScheme.cc:13
DD4hep_MuonNumbering.h
MuonBaseNumber
Definition: MuonBaseNumber.h:21
cms::RPCNumberingScheme::theBPlaneLevel
int theBPlaneLevel
Definition: DD4hep_RPCNumberingScheme.h:33
cms::RPCNumberingScheme::theESectorLevel
int theESectorLevel
Definition: DD4hep_RPCNumberingScheme.h:36
cms::RPCNumberingScheme::baseNumberToUnitNumber
void baseNumberToUnitNumber(const MuonBaseNumber &)
Definition: DD4hep_RPCNumberingScheme.cc:27
cms::RPCNumberingScheme::get
const int get(const char *, const MuonConstants &) const
Definition: DD4hep_RPCNumberingScheme.cc:142
cms::RPCNumberingScheme::RPCNumberingScheme
RPCNumberingScheme(const MuonConstants &muonConstants)
Definition: DD4hep_RPCNumberingScheme.cc:11
cms::RPCNumberingScheme::theRegionLevel
int theRegionLevel
Definition: DD4hep_RPCNumberingScheme.h:30
cms
Namespace of DDCMS conversion namespace.
Definition: ProducerAnalyzer.cc:21
cms::MuonConstants
std::unordered_map< std::string_view, int > MuonConstants
Definition: DD4hep_MuonNumbering.h:35