CMS 3D CMS Logo

ODTowersToByPassDat.h
Go to the documentation of this file.
1 #ifndef ODTOWERSTOBYPASSDAT_H
2 #define ODTOWERSTOBYPASSDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
12 public:
13  friend class EcalCondDBInterface;
15  ~ODTowersToByPassDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { return "TOWERS_TO_BYPASS_DAT"; }
19 
20  inline void setId(int dac) { m_ID = dac; }
21  inline int getId() const { return m_ID; }
22 
23  inline void setTrId(int dac) { m_tr = dac; }
24  inline int getTrId() const { return m_tr; }
25 
26  inline void setFedId(int dac) { m_fed = dac; }
27  inline int getFedId() const { return m_fed; }
28 
29  inline void setTTId(int dac) { m_tt = dac; }
30  inline int getTTId() const { return m_tt; }
31 
32  inline void setTimeCorr(int dac) { m_time = dac; }
33  inline int getTimeCorr() const { return m_time; }
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 
44 
45  void fetchData(std::vector<ODTowersToByPassDat>* fillMap, ODTowersToByPassInfo* iov) noexcept(false);
46 
47  // User data
48  int m_tr;
49  int m_fed;
50  int m_tt;
51  int m_time;
52  int m_sta;
53  int m_ID;
54 };
55 
56 #endif
void prepareWrite() noexcept(false) override
void writeDB(const ODTowersToByPassDat *item, ODTowersToByPassInfo *iov) noexcept(false)
void fetchData(std::vector< ODTowersToByPassDat > *fillMap, ODTowersToByPassInfo *iov) noexcept(false)
void writeArrayDB(const std::vector< ODTowersToByPassDat > &data, ODTowersToByPassInfo *iov) noexcept(false)
std::string getTable() override
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80