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 
5 
6 #include <map>
7 #include <boost/cstdint.hpp>
8 
10 {
11  public:
14 
15  struct Item
16  {
17  double EtSat ;
20  double FG_lowThreshold ;
21  double FG_highThreshold ;
22  double FG_lowRatio ;
23  double FG_highRatio ;
24 
26 } ;
27 
28  // first index is for barrel or endcap
29  const std::map<uint32_t, Item> & getMap() const { return map_; }
30  void setValue(const uint32_t & id, const Item & value) ;
31 
32  private:
33  std::map<uint32_t, Item> map_ ;
34 
35 
37 };
38 
39 typedef std::map<uint32_t, EcalTPGPhysicsConst::Item> EcalTPGPhysicsConstMap;
40 typedef std::map<uint32_t, EcalTPGPhysicsConst::Item>::const_iterator EcalTPGPhysicsConstMapIterator;
41 
42 #endif
void setValue(const uint32_t &id, const Item &value)
std::map< uint32_t, Item > map_
const std::map< uint32_t, Item > & getMap() const
#define COND_SERIALIZABLE
Definition: Serializable.h:30
std::map< uint32_t, EcalTPGPhysicsConst::Item > EcalTPGPhysicsConstMap
std::map< uint32_t, EcalTPGPhysicsConst::Item >::const_iterator EcalTPGPhysicsConstMapIterator