CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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;
16 
17  // User data methods
18  inline std::string getTable() { return "RUN_LASERRUN_CONFIG_DAT"; }
19 
20  inline void setLaserSequenceType(std::string x) { m_laserSeqType = x; }
21  inline std::string getLaserSequenceType() const { return m_laserSeqType; }
22  //
23  inline void setLaserSequenceCond(std::string x) { m_laserSeqCond = x; }
24  inline std::string getLaserSequenceCond() const { return m_laserSeqCond; }
25 
26  private:
27  void prepareWrite()
28  throw(std::runtime_error);
29 
30  void writeDB(const EcalLogicID* ecid, const RunLaserRunDat* item, RunIOV* iov )
31  throw(std::runtime_error);
32 
34  throw(std::runtime_error);
35 
36  // User data
37  std::string m_laserSeqType;
38  std::string m_laserSeqCond;
39 };
40 
41 #endif
void fetchData(std::map< EcalLogicID, RunLaserRunDat > *fillMap, RunIOV *iov)
std::string m_laserSeqCond
std::string getLaserSequenceCond() const
tuple iov
Definition: o2o.py:307
std::string getTable()
std::string getLaserSequenceType() const
std::string m_laserSeqType
void setLaserSequenceCond(std::string x)
void setLaserSequenceType(std::string x)
string const
Definition: compareJSON.py:14
void writeDB(const EcalLogicID *ecid, const RunLaserRunDat *item, RunIOV *iov)
void fillMap(Registry *reg, regmap_type &fillme)
Definition: Registry.cc:24
x
Definition: VDTMath.h:216
Definition: RunIOV.h:13