CMS 3D CMS Logo

FEConfigFgrGroupDat.h
Go to the documentation of this file.
1 #ifndef FECONFFGRGROUPDAT_H
2 #define FECONFFGRGROUPDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
12  public:
13  friend class EcalCondDBInterface; // XXX temp should not need
15  ~FEConfigFgrGroupDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { return "FE_CONFIG_FGR_PER_GROUP_DAT"; }
19 
20  inline void setFgrGroupId(int x) { m_group_id = x; }
21  inline int getFgrGroupId() const { return m_group_id; }
22 
23  inline void setThreshLow(float x) { m_thresh_low = x; }
24  inline float getThreshLow() const { return m_thresh_low; }
25  inline void setThreshHigh(float x) { m_thresh_high = x; }
26  inline float getThreshHigh() const { return m_thresh_high; }
27  inline void setRatioLow(float x) { m_ratio_low = x; }
28  inline float getRatioLow() const { return m_ratio_low; }
29  inline void setRatioHigh(float x) { m_ratio_high = x; }
30  inline float getRatioHigh() const { return m_ratio_high; }
31  inline void setLUTValue(int x) { m_lut = x; }
32  inline int getLUTValue() const { return m_lut; }
33 
34  private:
35  void prepareWrite() noexcept(false) override;
36 
37  void writeDB(const EcalLogicID* ecid, const FEConfigFgrGroupDat* item, FEConfigFgrInfo* iconf) noexcept(false);
38 
39 
40  void writeArrayDB(const std::map< EcalLogicID, FEConfigFgrGroupDat>* data, FEConfigFgrInfo* iconf) noexcept(false);
41 
42 
43  void fetchData(std::map< EcalLogicID, FEConfigFgrGroupDat >* fillMap, FEConfigFgrInfo* iconf) noexcept(false);
44 
45  // User data
47  float m_thresh_low;
49  float m_ratio_low;
50  float m_ratio_high;
51  int m_lut;
52 
53 };
54 
55 #endif
void setThreshLow(float x)
void setRatioHigh(float x)
void setThreshHigh(float x)
void prepareWrite() noexcept(false) override
float getRatioLow() const
void fetchData(std::map< EcalLogicID, FEConfigFgrGroupDat > *fillMap, FEConfigFgrInfo *iconf) noexcept(false)
#define noexcept
float getThreshLow() const
float getRatioHigh() const
std::string getTable() override
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
float getThreshHigh() const
void writeArrayDB(const std::map< EcalLogicID, FEConfigFgrGroupDat > *data, FEConfigFgrInfo *iconf) noexcept(false)
void writeDB(const EcalLogicID *ecid, const FEConfigFgrGroupDat *item, FEConfigFgrInfo *iconf) noexcept(false)