CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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;
16 
17  // User data methods
18  inline std::string getTable() { 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  throw(std::runtime_error);
35 
37  throw(std::runtime_error);
38 
40  throw(std::runtime_error);
41 
42  // User data
43  int m_table_x ;
44  int m_table_y ;
47 
48 };
49 
50 #endif
dictionary map
Definition: Association.py:205
tuple iov
Definition: o2o.py:307
long long int num
Definition: procUtils.cc:71
string const
Definition: compareJSON.py:14
void fillMap(Registry *reg, regmap_type &fillme)
Definition: Registry.cc:24
Definition: RunIOV.h:13
void fetchData(std::map< EcalLogicID, RunH4TablePositionDat > *fillMap, RunIOV *iov)
void writeDB(const EcalLogicID *ecid, const RunH4TablePositionDat *item, RunIOV *iov)