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 
21  inline void setFGlowthresh(float x) { m_fglowthresh = x; }
22  inline void setFGhighthresh(float x) { m_fghighthresh = x; }
23  inline void setFGlowratio(float x) { m_lowratio = x; }
24  inline void setFGhighratio(float x) { m_highratio = x; }
25 
26  inline float getFGlowthresh() const { return m_fglowthresh; }
27  inline float getFGhighthresh() const{ return m_fghighthresh; }
28  inline float getFGlowratio() const { return m_lowratio ; }
29  inline float getFGhighratio() const { return m_highratio; }
30 
31  private:
32  void prepareWrite() noexcept(false) override;
33 
34  void writeDB(const EcalLogicID* ecid, const FEConfigFgrParamDat* item, FEConfigFgrInfo* iconf) noexcept(false);
35 
36 
37  void writeArrayDB(const std::map< EcalLogicID, FEConfigFgrParamDat>* data, FEConfigFgrInfo* iconf) noexcept(false);
38 
39 
40  void fetchData(std::map< EcalLogicID, FEConfigFgrParamDat >* fillMap, FEConfigFgrInfo* iconf) noexcept(false);
41 
42  // User data
45 float m_lowratio ;
46 float m_highratio ;
47 
48 };
49 
50 #endif
float getFGlowthresh() const
void fetchData(std::map< EcalLogicID, FEConfigFgrParamDat > *fillMap, FEConfigFgrInfo *iconf) noexcept(false)
float getFGhighthresh() const
void setFGhighratio(float x)
void setFGlowthresh(float x)
float getFGhighratio() const
void writeDB(const EcalLogicID *ecid, const FEConfigFgrParamDat *item, FEConfigFgrInfo *iconf) noexcept(false)
void writeArrayDB(const std::map< EcalLogicID, FEConfigFgrParamDat > *data, FEConfigFgrInfo *iconf) noexcept(false)
#define noexcept
void prepareWrite() noexcept(false) override
float getFGlowratio() const
void setFGlowratio(float x)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
std::string getTable() override
void setFGhighthresh(float x)