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
MonDelaysTTDat::MonDelaysTTDat
MonDelaysTTDat()
Definition: MonDelaysTTDat.cc:12
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
MonDelaysTTDat::m_delayRMS
float m_delayRMS
Definition: MonDelaysTTDat.h:41
IDataItem.h
SiStripPI::mean
Definition: SiStripPayloadInspectorHelper.h:169
funct::false
false
Definition: Factorize.h:29
MonDelaysTTDat::~MonDelaysTTDat
~MonDelaysTTDat() override
Definition: MonDelaysTTDat.cc:23
mps_update.status
status
Definition: mps_update.py:69
MonDelaysTTDat::setDelayRMS
void setDelayRMS(float rms)
Definition: MonDelaysTTDat.h:24
MonDelaysTTDat::m_delayMean
float m_delayMean
Definition: MonDelaysTTDat.h:40
watchdog.const
const
Definition: watchdog.py:83
SiStripPI::rms
Definition: SiStripPayloadInspectorHelper.h:169
MonDelaysTTDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition: MonDelaysTTDat.cc:25
MonDelaysTTDat::setTaskStatus
void setTaskStatus(bool status)
Definition: MonDelaysTTDat.h:27
MonDelaysTTDat::fetchData
void fetchData(std::map< EcalLogicID, MonDelaysTTDat > *fillVec, MonRunIOV *iov) noexcept(false)
Definition: MonDelaysTTDat.cc:68
IDataItem
Definition: IDataItem.h:16
EcalLogicID
Definition: EcalLogicID.h:7
MonDelaysTTDat::writeDB
void writeDB(const EcalLogicID *ecid, const MonDelaysTTDat *item, MonRunIOV *iov) noexcept(false)
Definition: MonDelaysTTDat.cc:40
MonDelaysTTDat::getTable
std::string getTable() override
Definition: MonDelaysTTDat.h:19
MonDelaysTTDat
Definition: MonDelaysTTDat.h:12
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MonRunIOV.h
MonDelaysTTDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, MonDelaysTTDat > *data, MonRunIOV *iov) noexcept(false)
Definition: MonDelaysTTDat.cc:111
MonDelaysTTDat::getDelayMean
float getDelayMean() const
Definition: MonDelaysTTDat.h:22
MonRunIOV
Definition: MonRunIOV.h:14
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
MonDelaysTTDat::m_taskStatus
bool m_taskStatus
Definition: MonDelaysTTDat.h:42
MonRunTag.h
EcalLogicID.h
MonDelaysTTDat::getDelayRMS
float getDelayRMS() const
Definition: MonDelaysTTDat.h:25
std
Definition: JetResolutionObject.h:76
MonDelaysTTDat::setDelayMean
void setDelayMean(float mean)
Definition: MonDelaysTTDat.h:21
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
MonDelaysTTDat::getTaskStatus
bool getTaskStatus() const
Definition: MonDelaysTTDat.h:28
genParticles_cff.map
map
Definition: genParticles_cff.py:11