CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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;
17 
18  // User data methods
19  inline std::string getTable() { 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  throw(std::runtime_error);
33 
35  throw(std::runtime_error);
36 
38  throw(std::runtime_error);
39 
40 
41 
42  void fetchData(std::map< EcalLogicID, MonPedestalsOnlineDat >* fillMap, MonRunIOV* iov)
43  throw(std::runtime_error);
44 
45  // User data
46  float m_adcMeanG12;
47  float m_adcRMSG12;
49 };
50 
51 #endif
tuple iov
Definition: o2o.py:307
void setTaskStatus(bool status)
void writeDB(const EcalLogicID *ecid, const MonPedestalsOnlineDat *item, MonRunIOV *iov)
void fetchData(std::map< EcalLogicID, MonPedestalsOnlineDat > *fillMap, MonRunIOV *iov)
void setADCMeanG12(float mean)
void writeArrayDB(const std::map< EcalLogicID, MonPedestalsOnlineDat > *data, MonRunIOV *iov)
string const
Definition: compareJSON.py:14
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
tuple status
Definition: ntuplemaker.py:245