CMS 3D CMS Logo

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