test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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;
16 
17  // User data methods
18  inline std::string getTable() { 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  throw(std::runtime_error);
29 
31  throw(std::runtime_error);
32 
33  void fetchData(std::map< EcalLogicID, MonH4TablePositionDat >* fillMap, MonRunIOV* iov)
34  throw(std::runtime_error);
35 
36  void writeArrayDB(const std::map< EcalLogicID, MonH4TablePositionDat >* data, MonRunIOV* iov)
37  throw(std::runtime_error);
38 
39  // User data
40  float m_tableX;
41  float m_tableY;
42 };
43 
44 #endif
void fetchData(std::map< EcalLogicID, MonH4TablePositionDat > *fillMap, MonRunIOV *iov)
tuple iov
Definition: o2o.py:307
void writeArrayDB(const std::map< EcalLogicID, MonH4TablePositionDat > *data, MonRunIOV *iov)
void writeDB(const EcalLogicID *ecid, const MonH4TablePositionDat *item, MonRunIOV *iov)
string const
Definition: compareJSON.py:14
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82