CMS 3D CMS Logo

MuonDDDConstants.h
Go to the documentation of this file.
1 #ifndef Geometry_MuonNumbering_MuonDDDConstant_h
2 #define Geometry_MuonNumbering_MuonDDDConstant_h
3 
15 #include <string>
16 #include <map>
17 #include <iostream>
18 
19 class DDCompactView;
20 
22 public:
23  MuonDDDConstants(const DDCompactView& cpv);
24 
25  int getValue(const std::string& name) const;
26  void addValue(const std::string& name, const int& value);
27 
28  MuonDDDConstants() = delete;
29 
30 private:
31  std::map<std::string, int> namesAndValues_;
32 };
33 
34 #endif
MuonDDDConstants()=delete
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
Definition: value.py:1
std::map< std::string, int > namesAndValues_
void addValue(const std::string &name, const int &value)
int getValue(const std::string &name) const