CMS 3D CMS Logo

MonLaserStatusDat.h
Go to the documentation of this file.
1 #ifndef MONLASERSTATUSDAT_H
2 #define MONLASERSTATUSDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
11 class MonLaserStatusDat : public IDataItem {
12 public:
13  friend class EcalCondDBInterface;
15  ~MonLaserStatusDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { return "MON_LASER_STATUS_DAT"; }
19  inline void setLaserPower(float p) { m_laserPower = p; }
20  inline float getLaserPower() const { return m_laserPower; }
21 
22  inline void setLaserFilter(float p) { m_laserFilter = p; }
23  inline float getLaserFilter() const { return m_laserFilter; }
24 
25  inline void setLaserWavelength(float p) { m_laserWavelength = p; }
26  inline float getLaserWavelength() const { return m_laserWavelength; }
27 
28  inline void setLaserFanout(float p) { m_laserFanout = p; }
29  inline float getLaserFanout() const { return m_laserFanout; }
30 
31 private:
32  void prepareWrite() noexcept(false) override;
33 
34  void writeDB(const EcalLogicID* ecid, const MonLaserStatusDat* item, MonRunIOV* iov) noexcept(false);
35 
37 
38  void fetchData(std::map<EcalLogicID, MonLaserStatusDat>* fillMap, MonRunIOV* iov) noexcept(false);
39 
40  // User data
41  float m_laserPower;
45 };
46 
47 #endif
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
MonLaserStatusDat::getLaserFanout
float getLaserFanout() const
Definition: MonLaserStatusDat.h:29
MonLaserStatusDat::setLaserPower
void setLaserPower(float p)
Definition: MonLaserStatusDat.h:19
IDataItem.h
MonLaserStatusDat::m_laserFanout
float m_laserFanout
Definition: MonLaserStatusDat.h:44
funct::false
false
Definition: Factorize.h:29
MonLaserStatusDat::setLaserWavelength
void setLaserWavelength(float p)
Definition: MonLaserStatusDat.h:25
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
MonLaserStatusDat::setLaserFanout
void setLaserFanout(float p)
Definition: MonLaserStatusDat.h:28
MonLaserStatusDat::MonLaserStatusDat
MonLaserStatusDat()
Definition: MonLaserStatusDat.cc:10
MonLaserStatusDat
Definition: MonLaserStatusDat.h:11
MonLaserStatusDat::writeDB
void writeDB(const EcalLogicID *ecid, const MonLaserStatusDat *item, MonRunIOV *iov) noexcept(false)
Definition: MonLaserStatusDat.cc:39
watchdog.const
const
Definition: watchdog.py:83
MonLaserStatusDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, MonLaserStatusDat > *data, MonRunIOV *iov) noexcept(false)
MonLaserStatusDat::~MonLaserStatusDat
~MonLaserStatusDat() override
Definition: MonLaserStatusDat.cc:22
MonLaserStatusDat::m_laserWavelength
float m_laserWavelength
Definition: MonLaserStatusDat.h:43
IDataItem
Definition: IDataItem.h:16
MonLaserStatusDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition: MonLaserStatusDat.cc:24
EcalLogicID
Definition: EcalLogicID.h:7
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MonLaserStatusDat::getLaserWavelength
float getLaserWavelength() const
Definition: MonLaserStatusDat.h:26
MonRunIOV.h
MonLaserStatusDat::getLaserFilter
float getLaserFilter() const
Definition: MonLaserStatusDat.h:23
MonRunIOV
Definition: MonRunIOV.h:14
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
MonLaserStatusDat::m_laserPower
float m_laserPower
Definition: MonLaserStatusDat.h:41
MonLaserStatusDat::fetchData
void fetchData(std::map< EcalLogicID, MonLaserStatusDat > *fillMap, MonRunIOV *iov) noexcept(false)
Definition: MonLaserStatusDat.cc:70
MonLaserStatusDat::getTable
std::string getTable() override
Definition: MonLaserStatusDat.h:18
EcalLogicID.h
std
Definition: JetResolutionObject.h:76
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
MonLaserStatusDat::getLaserPower
float getLaserPower() const
Definition: MonLaserStatusDat.h:20
genParticles_cff.map
map
Definition: genParticles_cff.py:11
MonLaserStatusDat::m_laserFilter
float m_laserFilter
Definition: MonLaserStatusDat.h:42
MonLaserStatusDat::setLaserFilter
void setLaserFilter(float p)
Definition: MonLaserStatusDat.h:22