CMS 3D CMS Logo

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  noexcept(false);
45 
46  void writeDB(const ODGolBiasCurrentDat* item, ODGolBiasCurrentInfo* iov )
47  noexcept(false);
48 
49  void writeArrayDB(const std::vector< ODGolBiasCurrentDat >& data, ODGolBiasCurrentInfo* iov)
50  noexcept(false);
51 
52 
53  void fetchData(std::vector< ODGolBiasCurrentDat >* fillMap, ODGolBiasCurrentInfo* iov)
54  noexcept(false);
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
#define noexcept
void fetchData(std::vector< ODGolBiasCurrentDat > *fillMap, ODGolBiasCurrentInfo *iov) noexcept(false)
void prepareWrite() noexcept(false)
void writeDB(const ODGolBiasCurrentDat *item, ODGolBiasCurrentInfo *iov) noexcept(false)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void writeArrayDB(const std::vector< ODGolBiasCurrentDat > &data, ODGolBiasCurrentInfo *iov) noexcept(false)