CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RunLaserRunDat.h
Go to the documentation of this file.
1 #ifndef RUNLASERRUNDAT_H
2 #define RUNLASERRUNDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
11 class RunLaserRunDat : public IDataItem {
12 public:
13  friend class EcalCondDBInterface;
15  ~RunLaserRunDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { return "RUN_LASERRUN_CONFIG_DAT"; }
19 
21  inline std::string getLaserSequenceType() const { return m_laserSeqType; }
22  //
24  inline std::string getLaserSequenceCond() const { return m_laserSeqCond; }
25 
26 private:
27  void prepareWrite() noexcept(false) override;
28 
29  void writeDB(const EcalLogicID* ecid, const RunLaserRunDat* item, RunIOV* iov) noexcept(false);
30 
31  void fetchData(std::map<EcalLogicID, RunLaserRunDat>* fillMap, RunIOV* iov) noexcept(false);
32 
33  // User data
34  std::string m_laserSeqType;
35  std::string m_laserSeqCond;
36 };
37 
38 #endif
void prepareWrite() noexcept(false) override
std::string m_laserSeqCond
void writeDB(const EcalLogicID *ecid, const RunLaserRunDat *item, RunIOV *iov) noexcept(false)
void fetchData(std::map< EcalLogicID, RunLaserRunDat > *fillMap, RunIOV *iov) noexcept(false)
std::string getTable() override
std::string getLaserSequenceCond() const
std::string getLaserSequenceType() const
std::string m_laserSeqType
void setLaserSequenceCond(std::string x)
void setLaserSequenceType(std::string x)
~RunLaserRunDat() override
Definition: RunIOV.h:13