CMS 3D CMS Logo

MonPedestalsOnlineDat.h
Go to the documentation of this file.
1 #ifndef MONPEDESTALSONLINEDAT_H
2 #define MONPEDESTALSONLINEDAT_H
3 
4 #include <map>
5 #include <stdexcept>
6 
11 
13 public:
14  friend class EcalCondDBInterface;
16  ~MonPedestalsOnlineDat() override;
17 
18  // User data methods
19  inline std::string getTable() override { return "MON_PEDESTALS_ONLINE_DAT"; }
20 
21  inline void setADCMeanG12(float mean) { m_adcMeanG12 = mean; }
22  inline float getADCMeanG12() const { return m_adcMeanG12; }
23 
24  inline void setADCRMSG12(float rms) { m_adcRMSG12 = rms; }
25  inline float getADCRMSG12() const { return m_adcRMSG12; }
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 
34 
36 
37  void fetchData(std::map<EcalLogicID, MonPedestalsOnlineDat>* fillMap, MonRunIOV* iov) noexcept(false);
38 
39  // User data
40  float m_adcMeanG12;
41  float m_adcRMSG12;
43 };
44 
45 #endif
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
IDataItem.h
SiStripPI::mean
Definition: SiStripPayloadInspectorHelper.h:169
funct::false
false
Definition: Factorize.h:29
MonPedestalsOnlineDat::getADCRMSG12
float getADCRMSG12() const
Definition: MonPedestalsOnlineDat.h:25
mps_update.status
status
Definition: mps_update.py:69
MonPedestalsOnlineDat::getTaskStatus
bool getTaskStatus() const
Definition: MonPedestalsOnlineDat.h:28
MonPedestalsOnlineDat::setTaskStatus
void setTaskStatus(bool status)
Definition: MonPedestalsOnlineDat.h:27
watchdog.const
const
Definition: watchdog.py:83
SiStripPI::rms
Definition: SiStripPayloadInspectorHelper.h:169
MonPedestalsOnlineDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, MonPedestalsOnlineDat > *data, MonRunIOV *iov) noexcept(false)
Definition: MonPedestalsOnlineDat.cc:113
MonPedestalsOnlineDat::m_adcMeanG12
float m_adcMeanG12
Definition: MonPedestalsOnlineDat.h:40
IDataItem
Definition: IDataItem.h:16
EcalLogicID
Definition: EcalLogicID.h:7
MonPedestalsOnlineDat::getTable
std::string getTable() override
Definition: MonPedestalsOnlineDat.h:19
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MonRunIOV.h
MonPedestalsOnlineDat::~MonPedestalsOnlineDat
~MonPedestalsOnlineDat() override
Definition: MonPedestalsOnlineDat.cc:23
MonPedestalsOnlineDat::fetchData
void fetchData(std::map< EcalLogicID, MonPedestalsOnlineDat > *fillMap, MonRunIOV *iov) noexcept(false)
Definition: MonPedestalsOnlineDat.cc:69
MonPedestalsOnlineDat
Definition: MonPedestalsOnlineDat.h:12
MonRunIOV
Definition: MonRunIOV.h:14
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
MonRunTag.h
EcalLogicID.h
std
Definition: JetResolutionObject.h:76
MonPedestalsOnlineDat::m_adcRMSG12
float m_adcRMSG12
Definition: MonPedestalsOnlineDat.h:41
MonPedestalsOnlineDat::writeDB
void writeDB(const EcalLogicID *ecid, const MonPedestalsOnlineDat *item, MonRunIOV *iov) noexcept(false)
Definition: MonPedestalsOnlineDat.cc:40
MonPedestalsOnlineDat::m_taskStatus
bool m_taskStatus
Definition: MonPedestalsOnlineDat.h:42
MonPedestalsOnlineDat::MonPedestalsOnlineDat
MonPedestalsOnlineDat()
Definition: MonPedestalsOnlineDat.cc:12
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
genParticles_cff.map
map
Definition: genParticles_cff.py:11
MonPedestalsOnlineDat::setADCRMSG12
void setADCRMSG12(float rms)
Definition: MonPedestalsOnlineDat.h:24
MonPedestalsOnlineDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition: MonPedestalsOnlineDat.cc:25
MonPedestalsOnlineDat::getADCMeanG12
float getADCMeanG12() const
Definition: MonPedestalsOnlineDat.h:22
MonPedestalsOnlineDat::setADCMeanG12
void setADCMeanG12(float mean)
Definition: MonPedestalsOnlineDat.h:21