CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RunMemTTErrorsDat.h
Go to the documentation of this file.
1 #ifndef RUNMEMTTERRORSDAT_H
2 #define RUNMEMTTERRORSDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 #include <cstdint>
11 
12 class RunMemTTErrorsDat : public IDataItem {
13 public:
14  friend class EcalCondDBInterface;
16  ~RunMemTTErrorsDat() override;
17 
18  // User data methods
19  inline std::string getTable() override { return "RUN_MEM_TT_ERRORS_DAT"; }
20 
21  inline void setErrorBits(uint64_t bits) { m_errorBits = bits; }
22  inline uint64_t getErrorBits() const { return m_errorBits; }
23 
24 private:
25  void prepareWrite() noexcept(false) override;
26 
27  void writeDB(const EcalLogicID* ecid, const RunMemTTErrorsDat* item, RunIOV* iov) noexcept(false);
28 
29  void fetchData(std::map<EcalLogicID, RunMemTTErrorsDat>* fillMap, RunIOV* iov) noexcept(false);
30 
31  // User data
33 };
34 
35 #endif
void writeDB(const EcalLogicID *ecid, const RunMemTTErrorsDat *item, RunIOV *iov) noexcept(false)
void prepareWrite() noexcept(false) override
uint64_t getErrorBits() const
unsigned long long uint64_t
Definition: Time.h:13
void fetchData(std::map< EcalLogicID, RunMemTTErrorsDat > *fillMap, RunIOV *iov) noexcept(false)
void setErrorBits(uint64_t bits)
Definition: RunIOV.h:13
~RunMemTTErrorsDat() override
std::string getTable() override