CMS 3D CMS Logo

RunH4TablePositionDat.h
Go to the documentation of this file.
1 #ifndef RUNH4TABLEPOSITIONDAT_H
2 #define RUNH4TABLEPOSITIONDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
12 public:
13  friend class EcalCondDBInterface;
15  ~RunH4TablePositionDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { return "RUN_H4_TABLE_POSITION_DAT"; }
19 
20  inline void setTableX(int num) { m_table_x = num; }
21  inline int getTableX() const { return m_table_x; }
22 
23  inline void setTableY(int num) { m_table_y = num; }
24  inline int getTableY() const { return m_table_y; }
25 
26  inline void setNumSpills(int num) { m_numSpills = num; }
27  inline int getNumSpills() const { return m_numSpills; }
28 
29  inline void setNumEvents(int num) { m_numEvents = num; }
30  inline int getNumEvents() const { return m_numEvents; }
31 
32 private:
33  void prepareWrite() noexcept(false) override;
34 
35  void writeDB(const EcalLogicID* ecid, const RunH4TablePositionDat* item, RunIOV* iov) noexcept(false);
36 
37  void fetchData(std::map<EcalLogicID, RunH4TablePositionDat>* fillMap, RunIOV* iov) noexcept(false);
38 
39  // User data
40  int m_table_x;
41  int m_table_y;
44 };
45 
46 #endif
void writeDB(const EcalLogicID *ecid, const RunH4TablePositionDat *item, RunIOV *iov) noexcept(false)
void fetchData(std::map< EcalLogicID, RunH4TablePositionDat > *fillMap, RunIOV *iov) noexcept(false)
void prepareWrite() noexcept(false) override
#define noexcept
std::string getTable() override
Definition: RunIOV.h:13