CMS 3D CMS Logo

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
36 };
37 
38 #endif
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
IDataItem.h
RunIOV
Definition: RunIOV.h:13
RunLaserRunDat::m_laserSeqCond
std::string m_laserSeqCond
Definition: RunLaserRunDat.h:35
funct::false
false
Definition: Factorize.h:34
RunIOV.h
RunLaserRunDat::fetchData
void fetchData(std::map< EcalLogicID, RunLaserRunDat > *fillMap, RunIOV *iov) noexcept(false)
Definition: RunLaserRunDat.cc:62
DDAxes::x
watchdog.const
const
Definition: watchdog.py:83
RunLaserRunDat::~RunLaserRunDat
~RunLaserRunDat() override
Definition: RunLaserRunDat.cc:19
IDataItem
Definition: IDataItem.h:16
RunLaserRunDat::getTable
std::string getTable() override
Definition: RunLaserRunDat.h:18
RunLaserRunDat
Definition: RunLaserRunDat.h:11
EcalLogicID
Definition: EcalLogicID.h:7
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
RunLaserRunDat::RunLaserRunDat
RunLaserRunDat()
Definition: RunLaserRunDat.cc:11
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
RunLaserRunDat::writeDB
void writeDB(const EcalLogicID *ecid, const RunLaserRunDat *item, RunIOV *iov) noexcept(false)
Definition: RunLaserRunDat.cc:36
RunLaserRunDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition: RunLaserRunDat.cc:21
EcalLogicID.h
RunLaserRunDat::setLaserSequenceType
void setLaserSequenceType(std::string x)
Definition: RunLaserRunDat.h:20
std
Definition: JetResolutionObject.h:76
RunLaserRunDat::getLaserSequenceCond
std::string getLaserSequenceCond() const
Definition: RunLaserRunDat.h:24
RunLaserRunDat::getLaserSequenceType
std::string getLaserSequenceType() const
Definition: RunLaserRunDat.h:21
genParticles_cff.map
map
Definition: genParticles_cff.py:11
RunLaserRunDat::m_laserSeqType
std::string m_laserSeqType
Definition: RunLaserRunDat.h:34
RunLaserRunDat::setLaserSequenceCond
void setLaserSequenceCond(std::string x)
Definition: RunLaserRunDat.h:23