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 
39  private:
40  void prepareWrite()
41  noexcept(false) override;
42 
43  void writeDB(const ODVfeToRejectDat* item, ODVfeToRejectInfo* iov )
44  noexcept(false);
45 
46  void writeArrayDB(const std::vector< ODVfeToRejectDat >& data, ODVfeToRejectInfo* iov)
47  noexcept(false);
48 
49 
50  void fetchData(std::vector< ODVfeToRejectDat >* fillMap, ODVfeToRejectInfo* iov)
51  noexcept(false);
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 fetchData(std::vector< ODVfeToRejectDat > *fillMap, ODVfeToRejectInfo *iov) noexcept(false)
void setGain(int dac)
void writeArrayDB(const std::vector< ODVfeToRejectDat > &data, ODVfeToRejectInfo *iov) noexcept(false)
~ODVfeToRejectDat() override
void setFedId(int dac)
int getStatus() const
int getGain() const
int getVfeId() const
void prepareWrite() noexcept(false) override
std::string getTable() override
#define noexcept
int getId() const
void setId(int dac)
int getTTId() const
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void writeDB(const ODVfeToRejectDat *item, ODVfeToRejectInfo *iov) noexcept(false)