CMS 3D CMS Logo

FEConfigFgrParamDat.h
Go to the documentation of this file.
1 #ifndef FECONFFGRPARAMDAT_H
2 #define FECONFFGRPARAMDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
12 public:
13  friend class EcalCondDBInterface; // XXX temp should not need
15  ~FEConfigFgrParamDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { return "FE_CONFIG_FGRPARAM_DAT"; }
19 
20  inline void setFGlowthresh(float x) { m_fglowthresh = x; }
21  inline void setFGhighthresh(float x) { m_fghighthresh = x; }
22  inline void setFGlowratio(float x) { m_lowratio = x; }
23  inline void setFGhighratio(float x) { m_highratio = x; }
24 
25  inline float getFGlowthresh() const { return m_fglowthresh; }
26  inline float getFGhighthresh() const { return m_fghighthresh; }
27  inline float getFGlowratio() const { return m_lowratio; }
28  inline float getFGhighratio() const { return m_highratio; }
29 
30 private:
31  void prepareWrite() noexcept(false) override;
32 
34 
36 
37  void fetchData(std::map<EcalLogicID, FEConfigFgrParamDat>* fillMap, FEConfigFgrInfo* iconf) noexcept(false);
38 
39  // User data
42  float m_lowratio;
43  float m_highratio;
44 };
45 
46 #endif
void fetchData(std::map< EcalLogicID, FEConfigFgrParamDat > *fillMap, FEConfigFgrInfo *iconf) noexcept(false)
void setFGhighratio(float x)
void setFGlowthresh(float x)
void writeDB(const EcalLogicID *ecid, const FEConfigFgrParamDat *item, FEConfigFgrInfo *iconf) noexcept(false)
void writeArrayDB(const std::map< EcalLogicID, FEConfigFgrParamDat > *data, FEConfigFgrInfo *iconf) noexcept(false)
float getFGhighratio() const
void prepareWrite() noexcept(false) override
void setFGlowratio(float x)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
std::string getTable() override
float getFGlowthresh() const
float getFGlowratio() const
void setFGhighthresh(float x)
float getFGhighthresh() const