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()
44  noexcept(false) override;
45 
46  void writeDB(const EcalLogicID* ecid, const MonTTConsistencyDat* item, MonRunIOV* iov)
47  noexcept(false);
48 
49  void writeArrayDB(const std::map< EcalLogicID, MonTTConsistencyDat >* data, MonRunIOV* iov)
50  noexcept(false);
51 
52  void fetchData(std::map< EcalLogicID, MonTTConsistencyDat >* fillVec, MonRunIOV* iov)
53  noexcept(false);
54 
55  // User data
63 
64 };
65 
66 #endif
size
Write out results.
void prepareWrite() noexcept(false) override
void setProblematicEvents(int prob)
void writeArrayDB(const std::map< EcalLogicID, MonTTConsistencyDat > *data, MonRunIOV *iov) noexcept(false)
TrainProcessor *const proc
Definition: MVATrainer.cc:101
int getProblematicEvents() const
void setProblemsLV1(int LV1)
void setProblemsSize(int size)
void setProcessedEvents(int proc)
int getProcessedEvents() const
void setProblemsBunchX(int bunchX)
#define noexcept
void fetchData(std::map< EcalLogicID, MonTTConsistencyDat > *fillVec, MonRunIOV *iov) noexcept(false)
bool getTaskStatus() const
void writeDB(const EcalLogicID *ecid, const MonTTConsistencyDat *item, MonRunIOV *iov) noexcept(false)
void setTaskStatus(bool status)
int getProblemsBunchX() const
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
int getProblemsSize() const
std::string getTable() override