CMS 3D CMS Logo

MonMemChConsistencyDat.h
Go to the documentation of this file.
1 #ifndef MONMEMCHCONSISTENCYDAT_H
2 #define MONMEMCHCONSISTENCYDAT_H
3 
4 #include <map>
5 #include <stdexcept>
6 
11 
13 public:
14  friend class EcalCondDBInterface;
16  ~MonMemChConsistencyDat() override;
17 
18  // User data methods
19  inline std::string getTable() override { return "MON_MEM_CH_CONSISTENCY_DAT"; }
20 
22  inline int getProcessedEvents() const { return m_processedEvents; }
23 
25  inline int getProblematicEvents() const { return m_problematicEvents; }
26 
27  inline void setProblemsID(int id) { m_problemsID = id; }
28  inline int getProblemsID() const { return m_problemsID; }
29 
31  inline int getProblemsGainZero() const { return m_problemsGainZero; }
32 
34  inline int getProblemsGainSwitch() const { return m_problemsGainSwitch; }
35 
36  inline void setTaskStatus(bool status) { m_taskStatus = status; }
37  inline bool getTaskStatus() const { return m_taskStatus; }
38 
39 private:
40  void prepareWrite() noexcept(false) override;
41 
43 
45 
46  void fetchData(std::map<EcalLogicID, MonMemChConsistencyDat>* fillVec, MonRunIOV* iov) noexcept(false);
47 
48  // User data
55 };
56 
57 #endif
MonMemChConsistencyDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, MonMemChConsistencyDat > *data, MonRunIOV *iov) noexcept(false)
Definition: MonMemChConsistencyDat.cc:121
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
IDataItem.h
MonMemChConsistencyDat::m_taskStatus
bool m_taskStatus
Definition: MonMemChConsistencyDat.h:54
MonMemChConsistencyDat::getProblemsGainZero
int getProblemsGainZero() const
Definition: MonMemChConsistencyDat.h:31
funct::false
false
Definition: Factorize.h:29
mps_update.status
status
Definition: mps_update.py:69
MonMemChConsistencyDat::getTable
std::string getTable() override
Definition: MonMemChConsistencyDat.h:19
MonMemChConsistencyDat::setTaskStatus
void setTaskStatus(bool status)
Definition: MonMemChConsistencyDat.h:36
watchdog.const
const
Definition: watchdog.py:83
MonMemChConsistencyDat::setProblemsGainZero
void setProblemsGainZero(int prob)
Definition: MonMemChConsistencyDat.h:30
MonMemChConsistencyDat::setProblemsGainSwitch
void setProblemsGainSwitch(int prob)
Definition: MonMemChConsistencyDat.h:33
MonMemChConsistencyDat::m_problemsID
int m_problemsID
Definition: MonMemChConsistencyDat.h:51
IDataItem
Definition: IDataItem.h:16
MonMemChConsistencyDat::getProblemsGainSwitch
int getProblemsGainSwitch() const
Definition: MonMemChConsistencyDat.h:34
EcalLogicID
Definition: EcalLogicID.h:7
MonMemChConsistencyDat::fetchData
void fetchData(std::map< EcalLogicID, MonMemChConsistencyDat > *fillVec, MonRunIOV *iov) noexcept(false)
Definition: MonMemChConsistencyDat.cc:73
MonMemChConsistencyDat::m_problemsGainZero
int m_problemsGainZero
Definition: MonMemChConsistencyDat.h:52
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MonMemChConsistencyDat
Definition: MonMemChConsistencyDat.h:12
MonRunIOV.h
MonMemChConsistencyDat::getProblemsID
int getProblemsID() const
Definition: MonMemChConsistencyDat.h:28
ValidateTausOnZEEFastSim_cff.proc
proc
Definition: ValidateTausOnZEEFastSim_cff.py:6
MonMemChConsistencyDat::setProcessedEvents
void setProcessedEvents(int proc)
Definition: MonMemChConsistencyDat.h:21
MonMemChConsistencyDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition: MonMemChConsistencyDat.cc:26
MonRunIOV
Definition: MonRunIOV.h:14
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
MonRunTag.h
EcalLogicID.h
MonMemChConsistencyDat::m_processedEvents
int m_processedEvents
Definition: MonMemChConsistencyDat.h:49
std
Definition: JetResolutionObject.h:76
MonMemChConsistencyDat::getProcessedEvents
int getProcessedEvents() const
Definition: MonMemChConsistencyDat.h:22
MonMemChConsistencyDat::getTaskStatus
bool getTaskStatus() const
Definition: MonMemChConsistencyDat.h:37
MonMemChConsistencyDat::~MonMemChConsistencyDat
~MonMemChConsistencyDat() override
Definition: MonMemChConsistencyDat.cc:24
MonMemChConsistencyDat::getProblematicEvents
int getProblematicEvents() const
Definition: MonMemChConsistencyDat.h:25
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:31
MonMemChConsistencyDat::writeDB
void writeDB(const EcalLogicID *ecid, const MonMemChConsistencyDat *item, MonRunIOV *iov) noexcept(false)
Definition: MonMemChConsistencyDat.cc:41
MonMemChConsistencyDat::m_problematicEvents
int m_problematicEvents
Definition: MonMemChConsistencyDat.h:50
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
genParticles_cff.map
map
Definition: genParticles_cff.py:11
MonMemChConsistencyDat::MonMemChConsistencyDat
MonMemChConsistencyDat()
Definition: MonMemChConsistencyDat.cc:10
MonMemChConsistencyDat::m_problemsGainSwitch
int m_problemsGainSwitch
Definition: MonMemChConsistencyDat.h:53
MonMemChConsistencyDat::setProblematicEvents
void setProblematicEvents(int prob)
Definition: MonMemChConsistencyDat.h:24
TtFullHadEvtBuilder_cfi.prob
prob
Definition: TtFullHadEvtBuilder_cfi.py:33
MonMemChConsistencyDat::setProblemsID
void setProblemsID(int id)
Definition: MonMemChConsistencyDat.h:27