CMS 3D CMS Logo

DD4hep_MuonNumbering.h
Go to the documentation of this file.
1 #ifndef GEOMETRY_MUON_NUMBERING_MUON_NUMBERING_H
2 #define GEOMETRY_MUON_NUMBERING_MUON_NUMBERING_H
3 
4 // -*- C++ -*-
5 //
6 // Package: Geometry/MuonNumbering
7 // Class: MuonNumbering
8 //
20 //
21 // Original Author: Ianna Osborne
22 // Created: Thu, 21 Mar 2019 15:32:36 CET
23 //
24 
27 
28 #include <string>
29 #include <unordered_map>
30 
31 class MuonBaseNumber;
32 
33 namespace cms {
34 
35  using MuonConstants = std::unordered_map<std::string_view, int>;
36 
37  class MuonNumbering {
38  public:
40  const int get(const char*) const;
41  void put(std::string_view, int);
42  const MuonConstants& values() const { return values_; }
43 
44  private:
46  };
47 } // namespace cms
48 
49 #endif
const MuonConstants & values() const
std::unordered_map< std::string_view, int > MuonConstants
Namespace of DDCMS conversion namespace.
void put(std::string_view, int)
const MuonBaseNumber geoHistoryToBaseNumber(const cms::ExpandedNodes &) const