CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/CondFormats/EcalObjects/interface/EcalTPGSpike.h

Go to the documentation of this file.
00001 #ifndef EcalTPGSpike_h
00002 #define EcalTPGSpike_h
00003 
00004 #include <map>
00005 #include <boost/cstdint.hpp>
00006 
00007 class EcalTPGSpike 
00008 {
00009  public:
00010   typedef std::map<uint32_t, uint16_t>                 EcalTPGSpikeMap;
00011   typedef std::map<uint32_t, uint16_t>::const_iterator EcalTPGSpikeMapIterator;
00012 
00013   EcalTPGSpike() ;
00014   ~EcalTPGSpike() ;
00015 
00016   // map<stripId, lut>
00017   const std::map<uint32_t, uint16_t> & getMap() const { return map_; }
00018   void  setValue(const uint32_t & id, const uint16_t & val) ;
00019 
00020  private:
00021   std::map<uint32_t, uint16_t> map_ ;
00022 
00023 };
00024 
00025 #endif