CMS 3D CMS Logo

RunPNErrorsDat.h
Go to the documentation of this file.
1 #ifndef RUNPNERRORSDAT_H
2 #define RUNPNERRORSDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 #include <cstdint>
11 
12 class RunPNErrorsDat : public IDataItem {
13 public:
14  friend class EcalCondDBInterface;
16  ~RunPNErrorsDat() override;
17 
18  // User data methods
19  inline std::string getTable() override { return "RUN_PN_ERRORS_DAT"; }
20 
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 RunPNErrorsDat* item, RunIOV* iov) noexcept(false);
28 
29  void fetchData(std::map<EcalLogicID, RunPNErrorsDat>* fillMap, RunIOV* iov) noexcept(false);
30 
31  // User data
33 };
34 
35 #endif
constexpr uint32_t bits
Definition: gpuClustering.h:25
uint64_t m_errorBits
void prepareWrite() noexcept(false) override
void fetchData(std::map< EcalLogicID, RunPNErrorsDat > *fillMap, RunIOV *iov) noexcept(false)
uint64_t getErrorBits() const
unsigned long long uint64_t
Definition: Time.h:13
void setErrorBits(uint64_t bits)
~RunPNErrorsDat() override
std::string getTable() override
void writeDB(const EcalLogicID *ecid, const RunPNErrorsDat *item, RunIOV *iov) noexcept(false)
Definition: RunIOV.h:13