CMS 3D CMS Logo

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;
15  ~RunTPGConfigDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { 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) override;
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;
36 
37 };
38 
39 #endif
std::string getConfigTag() const
void setConfigTag(std::string x)
std::string m_config
int getVersion() const
~RunTPGConfigDat() override
void writeDB(const EcalLogicID *ecid, const RunTPGConfigDat *item, RunIOV *iov) noexcept(false)
void prepareWrite() noexcept(false) override
void setVersion(int x)
#define noexcept
void fetchData(std::map< EcalLogicID, RunTPGConfigDat > *fillMap, RunIOV *iov) noexcept(false)
Definition: RunIOV.h:13
std::string getTable() override