CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
16 
17  // User data methods
18  inline std::string getTable() { 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  throw(std::runtime_error);
40 
42  throw(std::runtime_error);
43 
44 
46  throw(std::runtime_error);
47 
48 
49  void fetchData(std::map< EcalLogicID, FEConfigParamDat >* fillMap, FEConfigLinInfo* iconf)
50  throw(std::runtime_error);
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 fetchData(std::map< EcalLogicID, FEConfigParamDat > *fillMap, FEConfigLinInfo *iconf)
void setFGlowratio(float x)
float getETSat() const
void setFGlowthresh(float x)
void writeArrayDB(const std::map< EcalLogicID, FEConfigParamDat > *data, FEConfigLinInfo *iconf)
void setFGhighthresh(float x)
void setETSat(float x)
float getFGhighthresh() const
float getFGlowratio() const
void writeDB(const EcalLogicID *ecid, const FEConfigParamDat *item, FEConfigLinInfo *iconf)
float getFGlowthresh() const
float getTTThreshhigh() const
string const
Definition: compareJSON.py:14
void setTTThreshhigh(float x)
float getFGhighratio() const
std::string getTable()
void setFGhighratio(float x)