CMS 3D CMS Logo

EcalTPGPhysicsConst.h
Go to the documentation of this file.
1 #ifndef EcalTPGPhysicsConst_h
2 #define EcalTPGPhysicsConst_h
3 
5 
6 #include <map>
7 #include <cstdint>
8 
10 public:
13 
14  struct Item {
15  double EtSat;
20  double FG_lowRatio;
21  double FG_highRatio;
22 
24  };
25 
26  // first index is for barrel or endcap
27  const std::map<uint32_t, Item>& getMap() const { return map_; }
28  void setValue(const uint32_t& id, const Item& value);
29 
30 private:
31  std::map<uint32_t, Item> map_;
32 
34 };
35 
36 typedef std::map<uint32_t, EcalTPGPhysicsConst::Item> EcalTPGPhysicsConstMap;
37 typedef std::map<uint32_t, EcalTPGPhysicsConst::Item>::const_iterator EcalTPGPhysicsConstMapIterator;
38 
39 #endif
void setValue(const uint32_t &id, const Item &value)
std::map< uint32_t, Item > map_
Definition: value.py:1
const std::map< uint32_t, Item > & getMap() const
#define COND_SERIALIZABLE
Definition: Serializable.h:38
std::map< uint32_t, EcalTPGPhysicsConst::Item > EcalTPGPhysicsConstMap
std::map< uint32_t, EcalTPGPhysicsConst::Item >::const_iterator EcalTPGPhysicsConstMapIterator