CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/CondFormats/EcalObjects/interface/EcalTPGWeightIdMap.h

Go to the documentation of this file.
00001 #ifndef EcalTPGWeightIdMap_h
00002 #define EcalTPGWeightIdMap_h
00003 
00004 #include <map>
00005 #include <boost/cstdint.hpp>
00006 #include "CondFormats/EcalObjects/interface/EcalTPGWeights.h"
00007 
00008 class EcalTPGWeightIdMap
00009 {
00010  public:
00011   typedef std::map<uint32_t, EcalTPGWeights> EcalTPGWeightMap ;
00012   typedef std::map<uint32_t, EcalTPGWeights>::const_iterator EcalTPGWeightMapItr ;
00013 
00014   EcalTPGWeightIdMap() ;
00015   ~EcalTPGWeightIdMap() ;
00016 
00017   const EcalTPGWeightMap & getMap() const { return map_; }
00018   void  setValue(const uint32_t & id, const  EcalTPGWeights & value) ;
00019 
00020  private:
00021   EcalTPGWeightMap map_ ;
00022 
00023 };
00024 
00025 #endif