CMS 3D CMS Logo

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  noexcept(false);
30 
31  void writeDB(const EcalLogicID* ecid, const CaliGeneralDat* item, CaliIOV* iov)
32  noexcept(false);
33 
34  void fetchData(std::map< EcalLogicID, CaliGeneralDat >* fillVec, CaliIOV* iov)
35  noexcept(false);
36 
37  // User data
40 
41 };
42 
43 #endif
std::string getComments() const
std::string m_comments
void fetchData(std::map< EcalLogicID, CaliGeneralDat > *fillVec, CaliIOV *iov) noexcept(false)
std::string getTable()
#define noexcept
void writeDB(const EcalLogicID *ecid, const CaliGeneralDat *item, CaliIOV *iov) noexcept(false)
void setComments(std::string comments)
void prepareWrite() noexcept(false)
int getNumEvents() const
void setNumEvents(int n)