CMS 3D CMS Logo

MonH4TablePositionDat.h
Go to the documentation of this file.
1 #ifndef MONH4TABLEPOSITIONDAT_H
2 #define MONH4TABLEPOSITIONDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
12  public:
13  friend class EcalCondDBInterface;
15  ~MonH4TablePositionDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { return "MON_H4_TABLE_POSITION_DAT"; }
19 
20  inline void setTableX(float x) { m_tableX = x; }
21  inline float getTableX() const { return m_tableX; }
22 
23  inline void setTableY(float y) { m_tableY = y; }
24  inline float getTableY() const { return m_tableY; }
25 
26  private:
27  void prepareWrite()
28  noexcept(false) override;
29 
30  void writeDB(const EcalLogicID* ecid, const MonH4TablePositionDat* item, MonRunIOV* iov )
31  noexcept(false);
32 
33  void fetchData(std::map< EcalLogicID, MonH4TablePositionDat >* fillMap, MonRunIOV* iov)
34  noexcept(false);
35 
36  void writeArrayDB(const std::map< EcalLogicID, MonH4TablePositionDat >* data, MonRunIOV* iov)
37  noexcept(false);
38 
39  // User data
40  float m_tableX;
41  float m_tableY;
42 };
43 
44 #endif
void writeArrayDB(const std::map< EcalLogicID, MonH4TablePositionDat > *data, MonRunIOV *iov) noexcept(false)
#define noexcept
void prepareWrite() noexcept(false) override
void fetchData(std::map< EcalLogicID, MonH4TablePositionDat > *fillMap, MonRunIOV *iov) noexcept(false)
std::string getTable() override
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void writeDB(const EcalLogicID *ecid, const MonH4TablePositionDat *item, MonRunIOV *iov) noexcept(false)