CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MonLed1Dat.h
Go to the documentation of this file.
1 #ifndef MONLED1DAT_H
2 #define MONLED1DAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
11 
12 class MonLed1Dat : public IDataItem {
13  public:
14  friend class EcalCondDBInterface;
15  MonLed1Dat();
16  ~MonLed1Dat();
17 
18  // User data methods
19  inline std::string getTable() { return "MON_LED1_DAT"; }
20 
21  inline void setVPTMean(float mean) { m_vptMean = mean; }
22  inline float getVPTMean() const { return m_vptMean; }
23 
24  inline void setVPTRMS(float rms) { m_vptRMS = rms; }
25  inline float getVPTRMS() const { return m_vptRMS; }
26 
27  inline void setVPTOverPNMean(float mean) { m_vptOverPNMean = mean; }
28  inline float getVPTOverPNMean() const { return m_vptOverPNMean; }
29 
30  inline void setVPTOverPNRMS(float rms) { m_vptOverPNRMS = rms; }
31  inline float getVPTOverPNRMS() const { return m_vptOverPNRMS; }
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  void fetchData(std::map< EcalLogicID, MonLed1Dat >* fillMap, MonRunIOV* iov)
48  throw(std::runtime_error);
49 
50  // User data
51  float m_vptMean;
52  float m_vptRMS;
56 
57 };
58 
59 #endif
bool getTaskStatus() const
Definition: MonLed1Dat.h:34
float getVPTOverPNRMS() const
Definition: MonLed1Dat.h:31
float m_vptMean
Definition: MonLed1Dat.h:51
void prepareWrite()
Definition: MonLed1Dat.cc:33
std::string getTable()
Definition: MonLed1Dat.h:19
float getVPTOverPNMean() const
Definition: MonLed1Dat.h:28
void writeDB(const EcalLogicID *ecid, const MonLed1Dat *item, MonRunIOV *iov)
Definition: MonLed1Dat.cc:51
void fetchData(std::map< EcalLogicID, MonLed1Dat > *fillMap, MonRunIOV *iov)
Definition: MonLed1Dat.cc:81
void setVPTOverPNMean(float mean)
Definition: MonLed1Dat.h:27
tuple iov
Definition: o2o.py:307
void setTaskStatus(bool status)
Definition: MonLed1Dat.h:33
float getVPTMean() const
Definition: MonLed1Dat.h:22
void setVPTRMS(float rms)
Definition: MonLed1Dat.h:24
float m_vptOverPNRMS
Definition: MonLed1Dat.h:54
float m_vptOverPNMean
Definition: MonLed1Dat.h:53
string const
Definition: compareJSON.py:14
void writeArrayDB(const std::map< EcalLogicID, MonLed1Dat > *data, MonRunIOV *iov)
Definition: MonLed1Dat.cc:130
float getVPTRMS() const
Definition: MonLed1Dat.h:25
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
float m_vptRMS
Definition: MonLed1Dat.h:52
void setVPTMean(float mean)
Definition: MonLed1Dat.h:21
void setVPTOverPNRMS(float rms)
Definition: MonLed1Dat.h:30
tuple status
Definition: ntuplemaker.py:245
bool m_taskStatus
Definition: MonLed1Dat.h:55