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()
41  noexcept(false) override;
42 
43  void writeDB(const EcalLogicID* ecid, const MonMemChConsistencyDat* item, MonRunIOV* iov)
44  noexcept(false);
45 
46  void writeArrayDB(const std::map< EcalLogicID, MonMemChConsistencyDat >* data, MonRunIOV* iov)
47  noexcept(false);
48 
49 
50  void fetchData(std::map< EcalLogicID, MonMemChConsistencyDat >* fillVec, MonRunIOV* iov)
51  noexcept(false);
52 
53  // User data
60 
61 };
62 
63 #endif
void prepareWrite() noexcept(false) override
TrainProcessor *const proc
Definition: MVATrainer.cc:101
void writeDB(const EcalLogicID *ecid, const MonMemChConsistencyDat *item, MonRunIOV *iov) noexcept(false)
void writeArrayDB(const std::map< EcalLogicID, MonMemChConsistencyDat > *data, MonRunIOV *iov) noexcept(false)
std::string getTable() override
#define noexcept
void setTaskStatus(bool status)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void setProblemsGainSwitch(int prob)
void fetchData(std::map< EcalLogicID, MonMemChConsistencyDat > *fillVec, MonRunIOV *iov) noexcept(false)