CMS 3D CMS Logo

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