CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/CondFormats/EcalObjects/interface/EcalTPGPhysicsConst.h

Go to the documentation of this file.
00001 #ifndef EcalTPGPhysicsConst_h
00002 #define EcalTPGPhysicsConst_h
00003 
00004 #include <map>
00005 #include <boost/cstdint.hpp>
00006 
00007 class EcalTPGPhysicsConst 
00008 {
00009  public:
00010   EcalTPGPhysicsConst() ;
00011   ~EcalTPGPhysicsConst() ;
00012 
00013   struct Item 
00014   {
00015     double EtSat ; 
00016     double ttf_threshold_Low ; 
00017     double ttf_threshold_High ; 
00018     double FG_lowThreshold  ; 
00019     double FG_highThreshold ; 
00020     double FG_lowRatio ; 
00021     double FG_highRatio ; 
00022   } ;
00023 
00024   // first index is for barrel or endcap
00025   const std::map<uint32_t, Item> & getMap() const { return map_; }
00026   void  setValue(const uint32_t & id, const Item & value) ;
00027 
00028  private:
00029   std::map<uint32_t, Item> map_ ;
00030 
00031 };
00032 
00033 typedef std::map<uint32_t, EcalTPGPhysicsConst::Item>                 EcalTPGPhysicsConstMap;
00034 typedef std::map<uint32_t, EcalTPGPhysicsConst::Item>::const_iterator EcalTPGPhysicsConstMapIterator;
00035 
00036 #endif