CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CaliGeneralDat.h
Go to the documentation of this file.
1 #ifndef CALIGENERALDAT_H
2 #define CALIGENERALDAT_H
3 
4 #include <map>
5 #include <stdexcept>
6 
11 
12 class CaliGeneralDat : public IDataItem {
13  public:
14  friend class EcalCondDBInterface;
17 
18  // User data methods
19  inline std::string getTable() { return "CALI_GENERAL_DAT"; }
20 
21  inline void setNumEvents(int n) { m_numEvents = n; }
22  inline int getNumEvents() const { return m_numEvents; }
23 
25  inline std::string getComments() const { return m_comments; }
26 
27  private:
28  void prepareWrite()
29  throw(std::runtime_error);
30 
32  throw(std::runtime_error);
33 
34  void fetchData(std::map< EcalLogicID, CaliGeneralDat >* fillVec, CaliIOV* iov)
35  throw(std::runtime_error);
36 
37  // User data
39  std::string m_comments;
40 
41 };
42 
43 #endif
std::string getComments() const
std::string m_comments
std::string getTable()
void setComments(std::string comments)
tuple iov
Definition: o2o.py:307
void writeDB(const EcalLogicID *ecid, const CaliGeneralDat *item, CaliIOV *iov)
int getNumEvents() const
void setNumEvents(int n)
string const
Definition: compareJSON.py:14
void fetchData(std::map< EcalLogicID, CaliGeneralDat > *fillVec, CaliIOV *iov)