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
RPCNumberingScheme(const MuonConstants &muonConstants)
std::unordered_map< std::string_view, int > MuonConstants
void initMe(const MuonConstants &muonConstants)
Namespace of DDCMS conversion namespace.
void baseNumberToUnitNumber(const MuonBaseNumber &)