CMS 3D CMS Logo

FEConfigLUTParamDat.h
Go to the documentation of this file.
1 #ifndef FECONFLUTPARAMDAT_H
2 #define FECONFLUTPARAMDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
12  public:
13  friend class EcalCondDBInterface; // XXX temp should not need
15  ~FEConfigLUTParamDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { return "FE_CONFIG_LUTPARAM_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 
25 
26 
27  inline float getETSat() const { return m_etsat; }
28  inline float getTTThreshlow() const { return m_tthreshlow; }
29  inline float getTTThreshhigh() const{ return m_tthreshhigh; }
30 
31  private:
32  void prepareWrite() noexcept(false) override;
33 
34  void writeDB(const EcalLogicID* ecid, const FEConfigLUTParamDat* item, FEConfigLUTInfo* iconf) noexcept(false);
35 
36 
37  void writeArrayDB(const std::map< EcalLogicID, FEConfigLUTParamDat>* data, FEConfigLUTInfo* iconf) noexcept(false);
38 
39 
40  void fetchData(std::map< EcalLogicID, FEConfigLUTParamDat >* fillMap, FEConfigLUTInfo* iconf) noexcept(false);
41 
42  // User data
43 float m_etsat ;
44 float m_tthreshlow ;
46 
47 };
48 
49 #endif
std::string getTable() override
void prepareWrite() noexcept(false) override
void writeDB(const EcalLogicID *ecid, const FEConfigLUTParamDat *item, FEConfigLUTInfo *iconf) noexcept(false)
float getTTThreshhigh() const
float getTTThreshlow() const
void fetchData(std::map< EcalLogicID, FEConfigLUTParamDat > *fillMap, FEConfigLUTInfo *iconf) noexcept(false)
#define noexcept
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void setTTThreshhigh(float x)
void writeArrayDB(const std::map< EcalLogicID, FEConfigLUTParamDat > *data, FEConfigLUTInfo *iconf) noexcept(false)
void setTTThreshlow(float x)