CMS 3D CMS Logo

FEConfigBadStripDat.h
Go to the documentation of this file.
1 #ifndef FECONFIGBADStripDAT_H
2 #define FECONFIGBADStripDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
9 
11  public:
12  friend class EcalCondDBInterface;
14  ~FEConfigBadStripDat() override;
15 
16  // User data methods
17  inline std::string getTable() override { return "FE_CONFIG_BadST_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 dac) { m_fed = dac; }
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 setStripId(int dac) { m_xt = dac; }
32  inline int getStripId() const { return m_xt; }
33 
34 
35  inline void setStatus(int dac) { m_t1 = dac; }
36  inline int getStatus() const { return m_t1; }
37 
38  private:
39  void prepareWrite()
40  noexcept(false) override;
41 
42  void writeDB(const FEConfigBadStripDat* item, FEConfigBadStripInfo* iov )
43  noexcept(false);
44 
45  void writeArrayDB(const std::vector< FEConfigBadStripDat >& data, FEConfigBadStripInfo* iov)
46  noexcept(false);
47 
48 
49  void fetchData(std::vector< FEConfigBadStripDat >* fillMap, FEConfigBadStripInfo* iov)
50  noexcept(false);
51 
52  // User data
53  int m_tcc;
54  int m_fed;
55  int m_tt;
56  int m_xt;
57  int m_t1;
58  int m_ID;
59 
60 };
61 
62 #endif
#define noexcept
void writeArrayDB(const std::vector< FEConfigBadStripDat > &data, FEConfigBadStripInfo *iov) noexcept(false)
void writeDB(const FEConfigBadStripDat *item, FEConfigBadStripInfo *iov) noexcept(false)
void fetchData(std::vector< FEConfigBadStripDat > *fillMap, FEConfigBadStripInfo *iov) noexcept(false)
void prepareWrite() noexcept(false) override
std::string getTable() override
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82