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()
34  noexcept(false) override;
35 
36  void writeDB(const EcalLogicID* ecid, const RunH4TablePositionDat* item, RunIOV* iov )
37  noexcept(false);
38 
39  void fetchData(std::map< EcalLogicID, RunH4TablePositionDat >* fillMap, RunIOV* iov)
40  noexcept(false);
41 
42  // User data
43  int m_table_x ;
44  int m_table_y ;
47 
48 };
49 
50 #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