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() noexcept(false);
28 
29  void writeDB(const EcalLogicID* ecid, const RunTPGConfigDat* item, RunIOV* iov ) noexcept(false);
30 
31  void fetchData(std::map< EcalLogicID, RunTPGConfigDat >* fillMap, RunIOV* iov) noexcept(false);
32 
33  // User data
34  int m_version;
35  std::string m_config;
36 
37 };
38 
39 #endif
std::string getConfigTag() const
void setConfigTag(std::string x)
std::string m_config
int getVersion() const
#define noexcept
void writeDB(const EcalLogicID *ecid, const RunTPGConfigDat *item, RunIOV *iov) noexcept(false)
tuple iov
Definition: o2o.py:307
void setVersion(int x)
void fetchData(std::map< EcalLogicID, RunTPGConfigDat > *fillMap, RunIOV *iov) noexcept(false)
void prepareWrite() noexcept(false)
std::string getTable()
volatile std::atomic< bool > shutdown_flag false
Definition: RunIOV.h:13