CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
24  inline void setProblematicEvents(int prob) { m_problematicEvents = prob; }
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 setProblemsGainZero(int prob) { m_problemsGainZero = prob; }
31  inline int getProblemsGainZero() const { return m_problemsGainZero; }
32 
33  inline void setProblemsGainSwitch(int prob) { m_problemsGainSwitch = prob; }
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 
46  void writeArrayDB(const std::map<EcalLogicID, MonCrystalConsistencyDat>* data, MonRunIOV* iov) noexcept(false);
47 
48  // User data
55 };
56 
57 #endif
std::string getTable() override
void writeArrayDB(const std::map< EcalLogicID, MonCrystalConsistencyDat > *data, MonRunIOV *iov) noexcept(false)
uint16_t *__restrict__ id
void writeDB(const EcalLogicID *ecid, const MonCrystalConsistencyDat *item, MonRunIOV *iov) noexcept(false)
list status
Definition: mps_update.py:107
void prepareWrite() noexcept(false) override
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
void fetchData(std::map< EcalLogicID, MonCrystalConsistencyDat > *fillVec, MonRunIOV *iov) noexcept(false)