CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MonDelaysTTDat.h
Go to the documentation of this file.
1 #ifndef MONDELAYSTTDAT_H
2 #define MONDELAYSTTDAT_H
3 
4 #include <map>
5 #include <stdexcept>
6 
11 
12 class MonDelaysTTDat : public IDataItem {
13  public:
14  friend class EcalCondDBInterface;
17 
18  // User data methods
19  inline std::string getTable() { return "MON_DELAYS_TT_DAT"; }
20 
21  inline void setDelayMean(float mean) { m_delayMean = mean; }
22  inline float getDelayMean() const { return m_delayMean; }
23 
24  inline void setDelayRMS(float rms) { m_delayRMS = rms; }
25  inline float getDelayRMS() const { return m_delayRMS; }
26 
27  inline void setTaskStatus(bool status) { m_taskStatus = status; }
28  inline bool getTaskStatus() const { return m_taskStatus; }
29 
30 
31  private:
32  void prepareWrite()
33  throw(std::runtime_error);
34 
36  throw(std::runtime_error);
37 
38  void fetchData(std::map< EcalLogicID, MonDelaysTTDat >* fillVec, MonRunIOV* iov)
39  throw(std::runtime_error);
40 
41  void writeArrayDB(const std::map< EcalLogicID, MonDelaysTTDat >* data, MonRunIOV* iov)
42  throw(std::runtime_error);
43 
44 
45  // User data
46  float m_delayMean;
47  float m_delayRMS;
49 
50 };
51 
52 #endif
void fetchData(std::map< EcalLogicID, MonDelaysTTDat > *fillVec, MonRunIOV *iov)
tuple iov
Definition: o2o.py:307
void setDelayRMS(float rms)
float getDelayRMS() const
void setTaskStatus(bool status)
bool getTaskStatus() const
float getDelayMean() const
void writeArrayDB(const std::map< EcalLogicID, MonDelaysTTDat > *data, MonRunIOV *iov)
string const
Definition: compareJSON.py:14
std::string getTable()
void writeDB(const EcalLogicID *ecid, const MonDelaysTTDat *item, MonRunIOV *iov)
void setDelayMean(float mean)
tuple status
Definition: ntuplemaker.py:245