CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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() noexcept(false) override;
28 
30 
31  void fetchData(std::map<EcalLogicID, MonH4TablePositionDat>* fillMap, MonRunIOV* iov) noexcept(false);
32 
33  void writeArrayDB(const std::map<EcalLogicID, MonH4TablePositionDat>* data, MonRunIOV* iov) noexcept(false);
34 
35  // User data
36  float m_tableX;
37  float m_tableY;
38 };
39 
40 #endif
void writeArrayDB(const std::map< EcalLogicID, MonH4TablePositionDat > *data, MonRunIOV *iov) noexcept(false)
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:79
void writeDB(const EcalLogicID *ecid, const MonH4TablePositionDat *item, MonRunIOV *iov) noexcept(false)