CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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;
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 
43  void writeArrayDB(const std::vector<ODVfeToRejectDat>& data, ODVfeToRejectInfo* iov) noexcept(false);
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)
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
int getId() const
void setId(int dac)
int getTTId() const
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
void writeDB(const ODVfeToRejectDat *item, ODVfeToRejectInfo *iov) noexcept(false)