CMS 3D CMS Logo

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