CMS 3D CMS Logo

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