test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MonLaserGreenDat.h
Go to the documentation of this file.
1 #ifndef MONLASERGREENDAT_H
2 #define MONLASERGREENDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
11 
12 class MonLaserGreenDat : public IDataItem {
13  public:
14  friend class EcalCondDBInterface;
17 
18  // User data methods
19  inline std::string getTable() { return "MON_LASER_GREEN_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  throw(std::runtime_error);
40 
42  throw(std::runtime_error);
43 
45  throw(std::runtime_error);
46 
47 
48  void fetchData(std::map< EcalLogicID, MonLaserGreenDat >* fillMap, MonRunIOV* iov)
49  throw(std::runtime_error);
50 
51  // User data
52  float m_apdMean;
53  float m_apdRMS;
57 
58 };
59 
60 #endif
float getAPDOverPNMean() const
float getAPDMean() const
bool getTaskStatus() const
void writeArrayDB(const std::map< EcalLogicID, MonLaserGreenDat > *data, MonRunIOV *iov)
tuple iov
Definition: o2o.py:307
void setTaskStatus(bool status)
void setAPDMean(float mean)
void setAPDRMS(float rms)
void setAPDOverPNRMS(float rms)
float getAPDRMS() const
string const
Definition: compareJSON.py:14
void setAPDOverPNMean(float mean)
void fetchData(std::map< EcalLogicID, MonLaserGreenDat > *fillMap, MonRunIOV *iov)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void writeDB(const EcalLogicID *ecid, const MonLaserGreenDat *item, MonRunIOV *iov)
std::string getTable()
float getAPDOverPNRMS() const
tuple status
Definition: ntuplemaker.py:245