CMS 3D CMS Logo

MonLaserIRedDat.h
Go to the documentation of this file.
1 #ifndef MONLASERIREDDAT_H
2 #define MONLASERIREDDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
11 
12 class MonLaserIRedDat : public IDataItem {
13  public:
14  friend class EcalCondDBInterface;
16  ~MonLaserIRedDat() override;
17 
18  // User data methods
19  inline std::string getTable() override { return "MON_LASER_IRED_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 
37  private:
38  void prepareWrite()
39  noexcept(false) override;
40 
41  void writeDB(const EcalLogicID* ecid, const MonLaserIRedDat* item, MonRunIOV* iov)
42  noexcept(false);
43 
44  void writeArrayDB(const std::map< EcalLogicID, MonLaserIRedDat >* data, MonRunIOV* iov)
45  noexcept(false);
46 
47  void fetchData(std::map< EcalLogicID, MonLaserIRedDat >* fillMap, MonRunIOV* iov)
48  noexcept(false);
49 
50  // User data
51  float m_apdMean;
52  float m_apdRMS;
56 
57 };
58 
59 #endif
float getAPDOverPNMean() const
bool getTaskStatus() const
float getAPDRMS() const
void setAPDMean(float mean)
std::string getTable() override
~MonLaserIRedDat() override
void writeArrayDB(const std::map< EcalLogicID, MonLaserIRedDat > *data, MonRunIOV *iov) noexcept(false)
void fetchData(std::map< EcalLogicID, MonLaserIRedDat > *fillMap, MonRunIOV *iov) noexcept(false)
void setTaskStatus(bool status)
void setAPDOverPNRMS(float rms)
float getAPDOverPNRMS() const
#define noexcept
void setAPDOverPNMean(float mean)
void setAPDRMS(float rms)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void prepareWrite() noexcept(false) override
void writeDB(const EcalLogicID *ecid, const MonLaserIRedDat *item, MonRunIOV *iov) noexcept(false)
float getAPDMean() const