test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
16 
17  // User data methods
18  inline std::string getTable() { 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()
33  throw(std::runtime_error);
34 
36  throw(std::runtime_error);
37 
38 
40  throw(std::runtime_error);
41 
42 
43  void fetchData(std::map< EcalLogicID, FEConfigFgrParamDat >* fillMap, FEConfigFgrInfo* iconf)
44  throw(std::runtime_error);
45 
46  // User data
49 float m_lowratio ;
50 float m_highratio ;
51 
52 };
53 
54 #endif
float getFGlowthresh() const
float getFGhighthresh() const
void setFGhighratio(float x)
void setFGlowthresh(float x)
float getFGhighratio() const
void writeArrayDB(const std::map< EcalLogicID, FEConfigFgrParamDat > *data, FEConfigFgrInfo *iconf)
void fetchData(std::map< EcalLogicID, FEConfigFgrParamDat > *fillMap, FEConfigFgrInfo *iconf)
void writeDB(const EcalLogicID *ecid, const FEConfigFgrParamDat *item, FEConfigFgrInfo *iconf)
string const
Definition: compareJSON.py:14
float getFGlowratio() const
void setFGlowratio(float x)
void setFGhighthresh(float x)