CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/Geometry/MuonNumbering/interface/MuonDDDConstants.h

Go to the documentation of this file.
00001 #ifndef MuonNumbering_MuonDDDConstant_h
00002 #define MuonNumbering_MuonDDDConstant_h
00003 
00017 #include<string>
00018 #include<map>
00019 #include<iostream>
00020 
00021 class DDCompactView;
00022 
00023 class MuonDDDConstants {
00024  public:
00025 
00026   MuonDDDConstants( const DDCompactView& cpv );
00027   ~MuonDDDConstants();
00028 
00029   int getValue ( const std::string& name ) const;
00030   void addValue( const std::string& name, const int& value );
00031       
00032  private:
00033   MuonDDDConstants();
00034   std::map<std::string, int> namesAndValues_;
00035 };
00036 
00037 #endif