CMS 3D CMS Logo

MonPedestalsOnlineDat.h
Go to the documentation of this file.
1 #ifndef MONPEDESTALSONLINEDAT_H
2 #define MONPEDESTALSONLINEDAT_H
3 
4 #include <map>
5 #include <stdexcept>
6 
11 
13  public:
14  friend class EcalCondDBInterface;
16  ~MonPedestalsOnlineDat() override;
17 
18  // User data methods
19  inline std::string getTable() override { return "MON_PEDESTALS_ONLINE_DAT"; }
20 
21  inline void setADCMeanG12(float mean) { m_adcMeanG12 = mean; }
22  inline float getADCMeanG12() const { return m_adcMeanG12; }
23 
24  inline void setADCRMSG12(float rms) { m_adcRMSG12 = rms; }
25  inline float getADCRMSG12() const { return m_adcRMSG12; }
26 
27  inline void setTaskStatus(bool status) { m_taskStatus = status; }
28  inline bool getTaskStatus() const { return m_taskStatus; }
29 
30  private:
31  void prepareWrite()
32  noexcept(false) override;
33 
34  void writeDB(const EcalLogicID* ecid, const MonPedestalsOnlineDat* item, MonRunIOV* iov )
35  noexcept(false);
36 
37  void writeArrayDB(const std::map< EcalLogicID, MonPedestalsOnlineDat >* data, MonRunIOV* iov)
38  noexcept(false);
39 
40 
41 
42  void fetchData(std::map< EcalLogicID, MonPedestalsOnlineDat >* fillMap, MonRunIOV* iov)
43  noexcept(false);
44 
45  // User data
46  float m_adcMeanG12;
47  float m_adcRMSG12;
49 };
50 
51 #endif
#define noexcept
void setTaskStatus(bool status)
void prepareWrite() noexcept(false) override
std::string getTable() override
void writeArrayDB(const std::map< EcalLogicID, MonPedestalsOnlineDat > *data, MonRunIOV *iov) noexcept(false)
void setADCMeanG12(float mean)
void fetchData(std::map< EcalLogicID, MonPedestalsOnlineDat > *fillMap, MonRunIOV *iov) noexcept(false)
void writeDB(const EcalLogicID *ecid, const MonPedestalsOnlineDat *item, MonRunIOV *iov) noexcept(false)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82