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 
32  inline void setStatus(int dac) { m_t1 = dac; }
33  inline int getStatus() const { return m_t1; }
34 
35  private:
36  void prepareWrite()
37  noexcept(false) override;
38 
39  void writeDB(const FEConfigBadTTDat* item, FEConfigBadTTInfo* iov )
40  noexcept(false);
41 
42  void writeArrayDB(const std::vector< FEConfigBadTTDat >& data, FEConfigBadTTInfo* iov)
43  noexcept(false);
44 
45 
46  void fetchData(std::vector< FEConfigBadTTDat >* fillMap, FEConfigBadTTInfo* iov)
47  noexcept(false);
48 
49  // User data
50  int m_tcc;
51  int m_fed;
52  int m_tt;
53  int m_t1;
54  int m_ID;
55 
56 };
57 
58 #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:82
int getFedId() const
int getStatus() const
void writeArrayDB(const std::vector< FEConfigBadTTDat > &data, FEConfigBadTTInfo *iov) noexcept(false)
int getTCCId() const