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::getValue
int getValue(const std::string &name) const
Definition: MuonDDDConstants.cc:49
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
MuonDDDConstants::namesAndValues_
std::map< std::string, int > namesAndValues_
Definition: MuonDDDConstants.h:31
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MuonDDDConstants
Definition: MuonDDDConstants.h:21
value
Definition: value.py:1
MuonDDDConstants::addValue
void addValue(const std::string &name, const int &value)
Definition: MuonDDDConstants.cc:70
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
MuonDDDConstants::MuonDDDConstants
MuonDDDConstants()=delete