CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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;
16  ~MonDelaysTTDat() override;
17 
18  // User data methods
19  inline std::string getTable() override { 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 private:
31  void prepareWrite() noexcept(false) override;
32 
33  void writeDB(const EcalLogicID* ecid, const MonDelaysTTDat* item, MonRunIOV* iov) noexcept(false);
34 
35  void fetchData(std::map<EcalLogicID, MonDelaysTTDat>* fillVec, MonRunIOV* iov) noexcept(false);
36 
37  void writeArrayDB(const std::map<EcalLogicID, MonDelaysTTDat>* data, MonRunIOV* iov) noexcept(false);
38 
39  // User data
40  float m_delayMean;
41  float m_delayRMS;
43 };
44 
45 #endif
void fetchData(std::map< EcalLogicID, MonDelaysTTDat > *fillVec, MonRunIOV *iov) noexcept(false)
~MonDelaysTTDat() override
list status
Definition: mps_update.py:107
#define override(base_class)
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) noexcept(false)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
void writeDB(const EcalLogicID *ecid, const MonDelaysTTDat *item, MonRunIOV *iov) noexcept(false)
std::string getTable() override
void prepareWrite() noexcept(false) override
void setDelayMean(float mean)