CMS 3D CMS Logo

MonTTConsistencyDat.h
Go to the documentation of this file.
1 #ifndef MONTTCONSISTENCYDAT_H
2 #define MONTTCONSISTENCYDAT_H
3 
4 #include <map>
5 #include <stdexcept>
6 
11 
13 public:
14  friend class EcalCondDBInterface;
16  ~MonTTConsistencyDat() override;
17 
18  // User data methods
19  inline std::string getTable() override { return "MON_TT_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 
30  inline void setProblemsSize(int size) { m_problemsSize = size; }
31  inline int getProblemsSize() const { return m_problemsSize; }
32 
33  inline void setProblemsLV1(int LV1) { m_problemsLV1 = LV1; }
34  inline int getProblemsLV1() const { return m_problemsLV1; }
35 
36  inline void setProblemsBunchX(int bunchX) { m_problemsBunchX = bunchX; }
37  inline int getProblemsBunchX() const { return m_problemsBunchX; }
38 
39  inline void setTaskStatus(bool status) { m_taskStatus = status; }
40  inline bool getTaskStatus() const { return m_taskStatus; }
41 
42 private:
43  void prepareWrite() noexcept(false) override;
44 
45  void writeDB(const EcalLogicID* ecid, const MonTTConsistencyDat* item, MonRunIOV* iov) noexcept(false);
46 
48 
49  void fetchData(std::map<EcalLogicID, MonTTConsistencyDat>* fillVec, MonRunIOV* iov) noexcept(false);
50 
51  // User data
59 };
60 
61 #endif
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
IDataItem.h
MonTTConsistencyDat::writeDB
void writeDB(const EcalLogicID *ecid, const MonTTConsistencyDat *item, MonRunIOV *iov) noexcept(false)
Definition: MonTTConsistencyDat.cc:43
funct::false
false
Definition: Factorize.h:29
MonTTConsistencyDat::setProblematicEvents
void setProblematicEvents(int prob)
Definition: MonTTConsistencyDat.h:24
mps_update.status
status
Definition: mps_update.py:69
MonTTConsistencyDat::m_processedEvents
int m_processedEvents
Definition: MonTTConsistencyDat.h:52
MonTTConsistencyDat::fetchData
void fetchData(std::map< EcalLogicID, MonTTConsistencyDat > *fillVec, MonRunIOV *iov) noexcept(false)
Definition: MonTTConsistencyDat.cc:76
MonTTConsistencyDat::getProblemsBunchX
int getProblemsBunchX() const
Definition: MonTTConsistencyDat.h:37
MonTTConsistencyDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition: MonTTConsistencyDat.cc:27
MonTTConsistencyDat::getProcessedEvents
int getProcessedEvents() const
Definition: MonTTConsistencyDat.h:22
MonTTConsistencyDat::getTaskStatus
bool getTaskStatus() const
Definition: MonTTConsistencyDat.h:40
watchdog.const
const
Definition: watchdog.py:83
MonTTConsistencyDat::setProblemsBunchX
void setProblemsBunchX(int bunchX)
Definition: MonTTConsistencyDat.h:36
MonTTConsistencyDat
Definition: MonTTConsistencyDat.h:12
MonTTConsistencyDat::setProblemsID
void setProblemsID(int id)
Definition: MonTTConsistencyDat.h:27
MonTTConsistencyDat::getProblemsLV1
int getProblemsLV1() const
Definition: MonTTConsistencyDat.h:34
IDataItem
Definition: IDataItem.h:16
MonTTConsistencyDat::getProblemsSize
int getProblemsSize() const
Definition: MonTTConsistencyDat.h:31
MonTTConsistencyDat::setProblemsSize
void setProblemsSize(int size)
Definition: MonTTConsistencyDat.h:30
EcalLogicID
Definition: EcalLogicID.h:7
MonTTConsistencyDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, MonTTConsistencyDat > *data, MonRunIOV *iov) noexcept(false)
Definition: MonTTConsistencyDat.cc:125
MonTTConsistencyDat::m_problemsSize
int m_problemsSize
Definition: MonTTConsistencyDat.h:55
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MonRunIOV.h
MonTTConsistencyDat::m_problemsID
int m_problemsID
Definition: MonTTConsistencyDat.h:54
ValidateTausOnZEEFastSim_cff.proc
proc
Definition: ValidateTausOnZEEFastSim_cff.py:6
MonRunIOV
Definition: MonRunIOV.h:14
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
MonTTConsistencyDat::setProblemsLV1
void setProblemsLV1(int LV1)
Definition: MonTTConsistencyDat.h:33
MonTTConsistencyDat::~MonTTConsistencyDat
~MonTTConsistencyDat() override
Definition: MonTTConsistencyDat.cc:25
MonTTConsistencyDat::getProblematicEvents
int getProblematicEvents() const
Definition: MonTTConsistencyDat.h:25
MonTTConsistencyDat::m_taskStatus
bool m_taskStatus
Definition: MonTTConsistencyDat.h:58
MonRunTag.h
EcalLogicID.h
std
Definition: JetResolutionObject.h:76
MonTTConsistencyDat::getProblemsID
int getProblemsID() const
Definition: MonTTConsistencyDat.h:28
MonTTConsistencyDat::m_problemsLV1
int m_problemsLV1
Definition: MonTTConsistencyDat.h:56
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:29
MonTTConsistencyDat::MonTTConsistencyDat
MonTTConsistencyDat()
Definition: MonTTConsistencyDat.cc:10
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
genParticles_cff.map
map
Definition: genParticles_cff.py:11
MonTTConsistencyDat::m_problemsBunchX
int m_problemsBunchX
Definition: MonTTConsistencyDat.h:57
MonTTConsistencyDat::setTaskStatus
void setTaskStatus(bool status)
Definition: MonTTConsistencyDat.h:39
TtFullHadEvtBuilder_cfi.prob
prob
Definition: TtFullHadEvtBuilder_cfi.py:33
MonTTConsistencyDat::getTable
std::string getTable() override
Definition: MonTTConsistencyDat.h:19
MonTTConsistencyDat::setProcessedEvents
void setProcessedEvents(int proc)
Definition: MonTTConsistencyDat.h:21
MonTTConsistencyDat::m_problematicEvents
int m_problematicEvents
Definition: MonTTConsistencyDat.h:53
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443