CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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() noexcept(false) override;
32 
34 
35  void writeArrayDB(const std::map<EcalLogicID, MonPedestalsOnlineDat>* data, MonRunIOV* iov) noexcept(false);
36 
37  void fetchData(std::map<EcalLogicID, MonPedestalsOnlineDat>* fillMap, MonRunIOV* iov) noexcept(false);
38 
39  // User data
40  float m_adcMeanG12;
41  float m_adcRMSG12;
43 };
44 
45 #endif
list status
Definition: mps_update.py:107
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:79