CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/CondFormats/EcalObjects/interface/EcalTPGFineGrainStripEE.h

Go to the documentation of this file.
00001 #ifndef EcalTPGFineGrainStripEE_h
00002 #define EcalTPGFineGrainStripEE_h
00003 
00004 #include <map>
00005 #include <boost/cstdint.hpp>
00006 
00007 class EcalTPGFineGrainStripEE 
00008 {
00009  public:
00010   EcalTPGFineGrainStripEE() ;
00011   ~EcalTPGFineGrainStripEE() ;
00012 
00013   struct Item 
00014   {
00015     uint32_t threshold ;
00016     uint32_t lut ;
00017   };
00018 
00019   const std::map<uint32_t, Item> & getMap() const { return map_; }
00020   void  setValue(const uint32_t & id, const Item & value) ;
00021 
00022  private:
00023   std::map<uint32_t, Item> map_ ;
00024 
00025 };
00026 
00027 typedef std::map<uint32_t, EcalTPGFineGrainStripEE::Item>                 EcalTPGFineGrainStripEEMap;
00028 typedef std::map<uint32_t, EcalTPGFineGrainStripEE::Item>::const_iterator EcalTPGFineGrainStripEEMapIterator;
00029 
00030 #endif