CMS 3D CMS Logo

FEConfigBadTTDat.h
Go to the documentation of this file.
1 #ifndef FECONFIGBADTTDAT_H
2 #define FECONFIGBADTTDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
9 
10 class FEConfigBadTTDat : public IODConfig {
11 public:
12  friend class EcalCondDBInterface;
14  ~FEConfigBadTTDat() override;
15 
16  // User data methods
17  inline std::string getTable() override { return "FE_CONFIG_BadTT_DAT"; }
18 
19  inline void setId(int dac) { m_ID = dac; }
20  inline int getId() const { return m_ID; }
21 
22  inline void setFedId(int x) { m_fed = x; }
23  inline int getFedId() const { return m_fed; }
24 
25  inline void setTCCId(int dac) { m_tcc = dac; }
26  inline int getTCCId() const { return m_tcc; }
27 
28  inline void setTTId(int dac) { m_tt = dac; }
29  inline int getTTId() const { return m_tt; }
30 
31  inline void setStatus(int dac) { m_t1 = dac; }
32  inline int getStatus() const { return m_t1; }
33 
34 private:
35  void prepareWrite() noexcept(false) override;
36 
37  void writeDB(const FEConfigBadTTDat* item, FEConfigBadTTInfo* iov) noexcept(false);
38 
39  void writeArrayDB(const std::vector<FEConfigBadTTDat>& data, FEConfigBadTTInfo* iov) noexcept(false);
40 
41  void fetchData(std::vector<FEConfigBadTTDat>* fillMap, FEConfigBadTTInfo* iov) noexcept(false);
42 
43  // User data
44  int m_tcc;
45  int m_fed;
46  int m_tt;
47  int m_t1;
48  int m_ID;
49 };
50 
51 #endif
void prepareWrite() noexcept(false) override
void setTCCId(int dac)
int getId() const
void setFedId(int x)
std::string getTable() override
void setId(int dac)
void setStatus(int dac)
void fetchData(std::vector< FEConfigBadTTDat > *fillMap, FEConfigBadTTInfo *iov) noexcept(false)
~FEConfigBadTTDat() override
void writeDB(const FEConfigBadTTDat *item, FEConfigBadTTInfo *iov) noexcept(false)
int getTTId() const
void setTTId(int dac)
#define noexcept
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
int getFedId() const
int getStatus() const
void writeArrayDB(const std::vector< FEConfigBadTTDat > &data, FEConfigBadTTInfo *iov) noexcept(false)
int getTCCId() const