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 
31  private:
32  void prepareWrite()
33  noexcept(false) override;
34 
35  void writeDB(const EcalLogicID* ecid, const MonDelaysTTDat* item, MonRunIOV* iov)
36  noexcept(false);
37 
38  void fetchData(std::map< EcalLogicID, MonDelaysTTDat >* fillVec, MonRunIOV* iov)
39  noexcept(false);
40 
41  void writeArrayDB(const std::map< EcalLogicID, MonDelaysTTDat >* data, MonRunIOV* iov)
42  noexcept(false);
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) noexcept(false)
~MonDelaysTTDat() override
void setDelayRMS(float rms)
float getDelayRMS() const
void setTaskStatus(bool status)
bool getTaskStatus() const
#define noexcept
float getDelayMean() const
void writeArrayDB(const std::map< EcalLogicID, MonDelaysTTDat > *data, MonRunIOV *iov) noexcept(false)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
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)