CMS 3D CMS Logo

RunFEConfigDat.h
Go to the documentation of this file.
1 #ifndef RUNFECONFIGDAT_H
2 #define RUNFECONFIGDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
11 
12 class RunFEConfigDat : public IDataItem {
13 public:
14  friend class EcalCondDBInterface;
16  ~RunFEConfigDat() override;
17 
18  // User data methods
19  inline std::string getTable() override { return "RUN_FECONFIG_DAT"; }
20 
21  inline int getConfigId() const { return m_config; }
22  inline void setConfigId(int x) { m_config = x; }
23 
24  std::list<ODDelaysDat> getDelays();
25 
26 private:
27  void prepareWrite() noexcept(false) override;
28 
29  void writeDB(const EcalLogicID* ecid, const RunFEConfigDat* item, RunIOV* iov) noexcept(false);
30 
31  void fetchData(std::map<EcalLogicID, RunFEConfigDat>* fillMap, RunIOV* iov) noexcept(false);
32 
33  // User data
34 
35  int m_config;
36 };
37 
38 #endif
void prepareWrite() noexcept(false) override
std::string getTable() override
void setConfigId(int x)
int getConfigId() const
void writeDB(const EcalLogicID *ecid, const RunFEConfigDat *item, RunIOV *iov) noexcept(false)
std::list< ODDelaysDat > getDelays()
void fetchData(std::map< EcalLogicID, RunFEConfigDat > *fillMap, RunIOV *iov) noexcept(false)
Definition: RunIOV.h:13
~RunFEConfigDat() override