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
EcalTPGPhysicsConst::Item::FG_highThreshold
double FG_highThreshold
Definition: EcalTPGPhysicsConst.h:19
EcalTPGPhysicsConst::Item::ttf_threshold_Low
double ttf_threshold_Low
Definition: EcalTPGPhysicsConst.h:16
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
EcalTPGPhysicsConst::Item::EtSat
double EtSat
Definition: EcalTPGPhysicsConst.h:15
EcalTPGPhysicsConst::~EcalTPGPhysicsConst
~EcalTPGPhysicsConst()
Definition: EcalTPGPhysicsConst.cc:5
EcalTPGPhysicsConst::setValue
void setValue(const uint32_t &id, const Item &value)
Definition: EcalTPGPhysicsConst.cc:7
EcalTPGPhysicsConst::getMap
const std::map< uint32_t, Item > & getMap() const
Definition: EcalTPGPhysicsConst.h:27
EcalTPGPhysicsConst::Item
Definition: EcalTPGPhysicsConst.h:14
EcalTPGPhysicsConst::Item::FG_lowThreshold
double FG_lowThreshold
Definition: EcalTPGPhysicsConst.h:18
Serializable.h
value
Definition: value.py:1
EcalTPGPhysicsConst::EcalTPGPhysicsConst
EcalTPGPhysicsConst()
Definition: EcalTPGPhysicsConst.cc:3
EcalTPGPhysicsConst::map_
std::map< uint32_t, Item > map_
Definition: EcalTPGPhysicsConst.h:31
EcalTPGPhysicsConst
Definition: EcalTPGPhysicsConst.h:9
EcalTPGPhysicsConstMap
std::map< uint32_t, EcalTPGPhysicsConst::Item > EcalTPGPhysicsConstMap
Definition: EcalTPGPhysicsConst.h:36
EcalTPGPhysicsConst::Item::FG_highRatio
double FG_highRatio
Definition: EcalTPGPhysicsConst.h:21
EcalTPGPhysicsConst::Item::ttf_threshold_High
double ttf_threshold_High
Definition: EcalTPGPhysicsConst.h:17
EcalTPGPhysicsConstMapIterator
std::map< uint32_t, EcalTPGPhysicsConst::Item >::const_iterator EcalTPGPhysicsConstMapIterator
Definition: EcalTPGPhysicsConst.h:37
EcalTPGPhysicsConst::Item::FG_lowRatio
double FG_lowRatio
Definition: EcalTPGPhysicsConst.h:20