Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:15:18

0001 #ifndef Geometry_MuonNumbering_MuonDDDConstant_h
0002 #define Geometry_MuonNumbering_MuonDDDConstant_h
0003 
0004 /** \class MuonDDDConstants
0005  *
0006  * this class reads the constant section of
0007  * the muon-numbering xml-file
0008  *  
0009  * \author Arno Straessner, CERN <arno.straessner@cern.ch>
0010  *  modified by:
0011  *   Michael Case, <michael.case@cern.ch>, 2006/10/05
0012  *
0013  */
0014 
0015 #include <string>
0016 #include <map>
0017 #include <iostream>
0018 
0019 class DDCompactView;
0020 
0021 class MuonDDDConstants {
0022 public:
0023   MuonDDDConstants(const DDCompactView& cpv);
0024 
0025   int getValue(const std::string& name) const;
0026   void addValue(const std::string& name, const int& value);
0027 
0028   MuonDDDConstants() = delete;
0029 
0030 private:
0031   std::map<std::string, int> namesAndValues_;
0032 };
0033 
0034 #endif