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 
24  MuonDDDConstants( const DDCompactView& cpv );
25 
26  int getValue ( const std::string& name ) const;
27  void addValue( const std::string& name, const int& value );
28 
29  MuonDDDConstants() = delete;
30 
31  private:
32  std::map<std::string, int> namesAndValues_;
33 };
34 
35 #endif
MuonDDDConstants()=delete
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
int getValue(const std::string &name) const
Definition: value.py:1
std::map< std::string, int > namesAndValues_
void addValue(const std::string &name, const int &value)