CMS 3D CMS Logo

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;
15  ~ODVfeToRejectDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { 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 private:
39  void prepareWrite() noexcept(false) override;
40 
42 
44 
45  void fetchData(std::vector<ODVfeToRejectDat>* fillMap, ODVfeToRejectInfo* iov) noexcept(false);
46 
47  // User data
48 
49  int m_fed;
50  int m_tt;
51  int m_vfe;
52  int m_gain;
53  int m_sta;
54  int m_ID;
55 };
56 
57 #endif
void setVfeId(int dac)
void setStatus(int dac)
void setTTId(int dac)
int getGain() const
void fetchData(std::vector< ODVfeToRejectDat > *fillMap, ODVfeToRejectInfo *iov) noexcept(false)
int getStatus() const
void setGain(int dac)
int getVfeId() const
void writeArrayDB(const std::vector< ODVfeToRejectDat > &data, ODVfeToRejectInfo *iov) noexcept(false)
~ODVfeToRejectDat() override
void setFedId(int dac)
int getFedId() const
void prepareWrite() noexcept(false) override
std::string getTable() override
void setId(int dac)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
int getTTId() const
void writeDB(const ODVfeToRejectDat *item, ODVfeToRejectInfo *iov) noexcept(false)