CMS 3D CMS Logo

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 
38 
39  // User data
40  float m_delayMean;
41  float m_delayRMS;
43 };
44 
45 #endif
bool getTaskStatus() const
float getDelayRMS() const
void fetchData(std::map< EcalLogicID, MonDelaysTTDat > *fillVec, MonRunIOV *iov) noexcept(false)
~MonDelaysTTDat() override
void setDelayRMS(float rms)
void setTaskStatus(bool status)
void writeArrayDB(const std::map< EcalLogicID, MonDelaysTTDat > *data, MonRunIOV *iov) noexcept(false)
float getDelayMean() const
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)