CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ODGolBiasCurrentDat.h
Go to the documentation of this file.
1 #ifndef ODGOLBIASCURRENTDAT_H
2 #define ODGOLBIASCURRENTDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
12  public:
13  friend class EcalCondDBInterface;
16 
17  // User data methods
18  inline std::string getTable() { return "GOL_BIAS_CURRENT_DAT"; }
19 
20  inline void setId(int dac) { m_ID = dac; }
21  inline int getId() const { return m_ID; }
22 
23  inline void setGolId(int dac) { m_gol = dac; }
24  inline int getGolId() const { return m_gol; }
25 
26  inline void setFedId(int dac) { m_fed = dac; }
27  inline int getFedId() const { return m_fed; }
28 
29  inline void setTTId(int dac) { m_tt = dac; }
30  inline int getTTId() const { return m_tt; }
31 
32  inline void setCurrent(int dac) { m_cur = dac; }
33  inline int getCurrent() const { return m_cur; }
34 
35  inline void setPLLCurrent(int x) { m_pll_cur = x; }
36  inline int getPLLCurrent() const { return m_pll_cur; }
37 
38  inline void setStatus(int dac) { m_sta = dac; }
39  inline int getStatus() const { return m_sta; }
40 
41 
42  private:
43  void prepareWrite()
44  throw(std::runtime_error);
45 
47  throw(std::runtime_error);
48 
50  throw(std::runtime_error);
51 
52 
53  void fetchData(std::vector< ODGolBiasCurrentDat >* fillMap, ODGolBiasCurrentInfo* iov)
54  throw(std::runtime_error);
55 
56  // User data
57  int m_gol;
58  int m_fed;
59  int m_tt;
60  int m_cur;
61  int m_pll_cur;
62  int m_sta;
63  int m_ID;
64 
65 };
66 
67 #endif
tuple iov
Definition: o2o.py:307
void writeArrayDB(const std::vector< ODGolBiasCurrentDat > &data, ODGolBiasCurrentInfo *iov)
string const
Definition: compareJSON.py:14
void fetchData(std::vector< ODGolBiasCurrentDat > *fillMap, ODGolBiasCurrentInfo *iov)
void writeDB(const ODGolBiasCurrentDat *item, ODGolBiasCurrentInfo *iov)