CMS 3D CMS Logo

MonLaserBlueDat.h
Go to the documentation of this file.
1 #ifndef MONLASERBLUEDAT_H
2 #define MONLASERBLUEDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
11 
12 class MonLaserBlueDat : public IDataItem {
13 public:
14  friend class EcalCondDBInterface;
16  ~MonLaserBlueDat() override;
17 
18  // User data methods
19  inline std::string getTable() override { return "MON_LASER_BLUE_DAT"; }
20 
21  inline void setAPDMean(float mean) { m_apdMean = mean; }
22  inline float getAPDMean() const { return m_apdMean; }
23 
24  inline void setAPDRMS(float rms) { m_apdRMS = rms; }
25  inline float getAPDRMS() const { return m_apdRMS; }
26 
27  inline void setAPDOverPNMean(float mean) { m_apdOverPNMean = mean; }
28  inline float getAPDOverPNMean() const { return m_apdOverPNMean; }
29 
30  inline void setAPDOverPNRMS(float rms) { m_apdOverPNRMS = rms; }
31  inline float getAPDOverPNRMS() const { return m_apdOverPNRMS; }
32 
33  inline void setTaskStatus(bool status) { m_taskStatus = status; }
34  inline bool getTaskStatus() const { return m_taskStatus; }
35 
36 private:
37  void prepareWrite() noexcept(false) override;
38 
39  void writeDB(const EcalLogicID* ecid, const MonLaserBlueDat* item, MonRunIOV* iov) noexcept(false);
40 
42 
43  void fetchData(std::map<EcalLogicID, MonLaserBlueDat>* fillMap, MonRunIOV* iov) noexcept(false);
44 
45  // User data
46  float m_apdMean;
47  float m_apdRMS;
51 };
52 
53 #endif
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
IDataItem.h
MonLaserBlueDat::m_apdRMS
float m_apdRMS
Definition: MonLaserBlueDat.h:47
SiStripPI::mean
Definition: SiStripPayloadInspectorHelper.h:169
funct::false
false
Definition: Factorize.h:29
MonLaserBlueDat
Definition: MonLaserBlueDat.h:12
mps_update.status
status
Definition: mps_update.py:69
MonLaserBlueDat::getTable
std::string getTable() override
Definition: MonLaserBlueDat.h:19
MonLaserBlueDat::setAPDOverPNMean
void setAPDOverPNMean(float mean)
Definition: MonLaserBlueDat.h:27
MonLaserBlueDat::MonLaserBlueDat
MonLaserBlueDat()
Definition: MonLaserBlueDat.cc:10
watchdog.const
const
Definition: watchdog.py:83
SiStripPI::rms
Definition: SiStripPayloadInspectorHelper.h:169
IDataItem
Definition: IDataItem.h:16
EcalLogicID
Definition: EcalLogicID.h:7
MonLaserBlueDat::writeDB
void writeDB(const EcalLogicID *ecid, const MonLaserBlueDat *item, MonRunIOV *iov) noexcept(false)
Definition: MonLaserBlueDat.cc:40
MonLaserBlueDat::m_apdOverPNMean
float m_apdOverPNMean
Definition: MonLaserBlueDat.h:48
MonLaserBlueDat::getAPDOverPNMean
float getAPDOverPNMean() const
Definition: MonLaserBlueDat.h:28
MonLaserBlueDat::m_apdOverPNRMS
float m_apdOverPNRMS
Definition: MonLaserBlueDat.h:49
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MonRunIOV.h
MonLaserBlueDat::setAPDRMS
void setAPDRMS(float rms)
Definition: MonLaserBlueDat.h:24
MonLaserBlueDat::getAPDRMS
float getAPDRMS() const
Definition: MonLaserBlueDat.h:25
MonLaserBlueDat::getTaskStatus
bool getTaskStatus() const
Definition: MonLaserBlueDat.h:34
MonLaserBlueDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, MonLaserBlueDat > *data, MonRunIOV *iov) noexcept(false)
Definition: MonLaserBlueDat.cc:116
MonLaserBlueDat::getAPDOverPNRMS
float getAPDOverPNRMS() const
Definition: MonLaserBlueDat.h:31
MonLaserBlueDat::getAPDMean
float getAPDMean() const
Definition: MonLaserBlueDat.h:22
MonRunIOV
Definition: MonRunIOV.h:14
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
MonRunTag.h
EcalLogicID.h
MonLaserBlueDat::m_taskStatus
bool m_taskStatus
Definition: MonLaserBlueDat.h:50
std
Definition: JetResolutionObject.h:76
MonLaserBlueDat::fetchData
void fetchData(std::map< EcalLogicID, MonLaserBlueDat > *fillMap, MonRunIOV *iov) noexcept(false)
Definition: MonLaserBlueDat.cc:70
MonLaserBlueDat::setTaskStatus
void setTaskStatus(bool status)
Definition: MonLaserBlueDat.h:33
MonLaserBlueDat::setAPDMean
void setAPDMean(float mean)
Definition: MonLaserBlueDat.h:21
MonLaserBlueDat::setAPDOverPNRMS
void setAPDOverPNRMS(float rms)
Definition: MonLaserBlueDat.h:30
MonLaserBlueDat::m_apdMean
float m_apdMean
Definition: MonLaserBlueDat.h:46
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
MonLaserBlueDat::~MonLaserBlueDat
~MonLaserBlueDat() override
Definition: MonLaserBlueDat.cc:23
genParticles_cff.map
map
Definition: genParticles_cff.py:11
MonLaserBlueDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition: MonLaserBlueDat.cc:25