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 
21  inline void setETSat(float x) { m_etsat = x; }
22  inline void setTTThreshlow(float x) { m_tthreshlow = x; }
23  inline void setTTThreshhigh(float x) { m_tthreshhigh = x; }
24  inline void setFGlowthresh(float x) { m_fglowthresh = x; }
25  inline void setFGhighthresh(float x) { m_fghighthresh = x; }
26  inline void setFGlowratio(float x) { m_lowratio = x; }
27  inline void setFGhighratio(float x) { m_highratio = x; }
28 
29  inline float getETSat() const { return m_etsat; }
30  inline float getTTThreshlow() const { return m_tthreshlow; }
31  inline float getTTThreshhigh() const{ return m_tthreshhigh; }
32  inline float getFGlowthresh() const { return m_fglowthresh; }
33  inline float getFGhighthresh() const{ return m_fghighthresh; }
34  inline float getFGlowratio() const { return m_lowratio ; }
35  inline float getFGhighratio() const { return m_highratio; }
36 
37  private:
38  void prepareWrite()
39  noexcept(false) override;
40 
41  void writeDB(const EcalLogicID* ecid, const FEConfigParamDat* item, FEConfigLinInfo* iconf)
42  noexcept(false);
43 
44 
45  void writeArrayDB(const std::map< EcalLogicID, FEConfigParamDat>* data, FEConfigLinInfo* iconf)
46  noexcept(false);
47 
48 
49  void fetchData(std::map< EcalLogicID, FEConfigParamDat >* fillMap, FEConfigLinInfo* iconf)
50  noexcept(false);
51 
52  // User data
53 float m_etsat ;
54 float m_tthreshlow ;
58 float m_lowratio ;
59 float m_highratio ;
60 
61 };
62 
63 #endif
float getTTThreshlow() const
void setTTThreshlow(float x)
void setFGlowratio(float x)
void writeDB(const EcalLogicID *ecid, const FEConfigParamDat *item, FEConfigLinInfo *iconf) noexcept(false)
float getETSat() const
void setFGlowthresh(float x)
void setFGhighthresh(float x)
void setETSat(float x)
void writeArrayDB(const std::map< EcalLogicID, FEConfigParamDat > *data, FEConfigLinInfo *iconf) noexcept(false)
float getFGhighthresh() const
float getFGlowratio() const
~FEConfigParamDat() override
float getFGlowthresh() const
float getTTThreshhigh() const
#define noexcept
void fetchData(std::map< EcalLogicID, FEConfigParamDat > *fillMap, FEConfigLinInfo *iconf) noexcept(false)
std::string getTable() override
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void setTTThreshhigh(float x)
float getFGhighratio() const
void prepareWrite() noexcept(false) override
void setFGhighratio(float x)