CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalTPGPhysicsConst.h
Go to the documentation of this file.
1 #ifndef EcalTPGPhysicsConst_h
2 #define EcalTPGPhysicsConst_h
3 
4 #include <map>
5 #include <boost/cstdint.hpp>
6 
8 {
9  public:
12 
13  struct Item
14  {
15  double EtSat ;
18  double FG_lowThreshold ;
19  double FG_highThreshold ;
20  double FG_lowRatio ;
21  double FG_highRatio ;
22  } ;
23 
24  // first index is for barrel or endcap
25  const std::map<uint32_t, Item> & getMap() const { return map_; }
26  void setValue(const uint32_t & id, const Item & value) ;
27 
28  private:
29  std::map<uint32_t, Item> map_ ;
30 
31 };
32 
33 typedef std::map<uint32_t, EcalTPGPhysicsConst::Item> EcalTPGPhysicsConstMap;
34 typedef std::map<uint32_t, EcalTPGPhysicsConst::Item>::const_iterator EcalTPGPhysicsConstMapIterator;
35 
36 #endif
void setValue(const uint32_t &id, const Item &value)
std::map< uint32_t, Item > map_
const std::map< uint32_t, Item > & getMap() const
std::map< uint32_t, EcalTPGPhysicsConst::Item > EcalTPGPhysicsConstMap
std::map< uint32_t, EcalTPGPhysicsConst::Item >::const_iterator EcalTPGPhysicsConstMapIterator