CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RunConfigDat.h
Go to the documentation of this file.
1 #ifndef RUNCONFIGDAT_H
2 #define RUNCONFIGDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
11 class RunConfigDat : public IDataItem {
12  public:
13  friend class EcalCondDBInterface;
14  RunConfigDat();
15  ~RunConfigDat();
16 
17  // User data methods
18  inline std::string getTable() { return "RUN_CONFIG_DAT"; }
19 
20  inline std::string getConfigTag() const { return m_configTag; }
22 
23  inline int getConfigVersion() const { return m_configVer; }
24  inline void setConfigVersion(int ver) { m_configVer = ver; }
25 
26  private:
27  void prepareWrite()
28  throw(std::runtime_error);
29 
30  void writeDB(const EcalLogicID* ecid, const RunConfigDat* item, RunIOV* iov )
31  throw(std::runtime_error);
32 
33  void fetchData(std::map< EcalLogicID, RunConfigDat >* fillMap, RunIOV* iov)
34  throw(std::runtime_error);
35 
36  // User data
37  std::string m_configTag;
39 
40 };
41 
42 #endif
void writeDB(const EcalLogicID *ecid, const RunConfigDat *item, RunIOV *iov)
Definition: RunConfigDat.cc:48
void setConfigVersion(int ver)
Definition: RunConfigDat.h:24
void prepareWrite()
Definition: RunConfigDat.cc:30
void fetchData(std::map< EcalLogicID, RunConfigDat > *fillMap, RunIOV *iov)
Definition: RunConfigDat.cc:74
std::string m_configTag
Definition: RunConfigDat.h:37
tuple iov
Definition: o2o.py:307
int getConfigVersion() const
Definition: RunConfigDat.h:23
std::string getTable()
Definition: RunConfigDat.h:18
string const
Definition: compareJSON.py:14
void setConfigTag(std::string tag)
Definition: RunConfigDat.h:21
std::string getConfigTag() const
Definition: RunConfigDat.h:20
Definition: RunIOV.h:13