CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ODVfeToRejectDat.h
Go to the documentation of this file.
1 #ifndef ODVFETOREJECTDAT_H
2 #define ODVFETOREJECTDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
11 class ODVfeToRejectDat : public IODConfig {
12  public:
13  friend class EcalCondDBInterface;
16 
17  // User data methods
18  inline std::string getTable() { return "VFES_TO_REJECT_DAT"; }
19 
20  inline void setId(int dac) { m_ID = dac; }
21  inline int getId() const { return m_ID; }
22 
23  inline void setFedId(int dac) { m_fed = dac; }
24  inline int getFedId() const { return m_fed; }
25 
26  inline void setTTId(int dac) { m_tt = dac; }
27  inline int getTTId() const { return m_tt; }
28 
29  inline void setVfeId(int dac) { m_vfe = dac; }
30  inline int getVfeId() const { return m_vfe; }
31 
32  inline void setGain(int dac) { m_gain = dac; }
33  inline int getGain() const { return m_gain; }
34 
35  inline void setStatus(int dac) { m_sta = dac; }
36  inline int getStatus() const { return m_sta; }
37 
38 
39  private:
40  void prepareWrite()
41  throw(std::runtime_error);
42 
44  throw(std::runtime_error);
45 
47  throw(std::runtime_error);
48 
49 
51  throw(std::runtime_error);
52 
53  // User data
54 
55  int m_fed;
56  int m_tt;
57  int m_vfe;
58  int m_gain;
59  int m_sta;
60  int m_ID;
61 
62 };
63 
64 #endif
void setVfeId(int dac)
int getFedId() const
void setStatus(int dac)
void setTTId(int dac)
void setGain(int dac)
void writeDB(const ODVfeToRejectDat *item, ODVfeToRejectInfo *iov)
void setFedId(int dac)
tuple iov
Definition: o2o.py:307
int getStatus() const
int getGain() const
int getVfeId() const
void fetchData(std::vector< ODVfeToRejectDat > *fillMap, ODVfeToRejectInfo *iov)
int getId() const
void setId(int dac)
string const
Definition: compareJSON.py:14
std::string getTable()
int getTTId() const
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void writeArrayDB(const std::vector< ODVfeToRejectDat > data, ODVfeToRejectInfo *iov)
void fillMap(Registry *reg, regmap_type &fillme)
Definition: Registry.cc:24