CMS 3D CMS Logo

RunTTErrorsDat.h
Go to the documentation of this file.
1 #ifndef RUNTTERRORSDAT_H
2 #define RUNTTERRORSDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 #include <cstdint>
11 
12 class RunTTErrorsDat : public IDataItem {
13 public:
14  friend class EcalCondDBInterface;
16  ~RunTTErrorsDat() override;
17 
18  // User data methods
19  inline std::string getTable() override { return "RUN_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 RunTTErrorsDat* item, RunIOV* iov) noexcept(false);
28 
29  void fetchData(std::map<EcalLogicID, RunTTErrorsDat>* fillMap, RunIOV* iov) noexcept(false);
30 
31  // User data
33 };
34 
35 #endif
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
IDataItem.h
RunIOV
Definition: RunIOV.h:13
funct::false
false
Definition: Factorize.h:29
RunTTErrorsDat::~RunTTErrorsDat
~RunTTErrorsDat() override
Definition: RunTTErrorsDat.cc:21
RunTTErrorsDat::getErrorBits
uint64_t getErrorBits() const
Definition: RunTTErrorsDat.h:22
RunIOV.h
RunTTErrorsDat::setErrorBits
void setErrorBits(uint64_t bits)
Definition: RunTTErrorsDat.h:21
watchdog.const
const
Definition: watchdog.py:83
RunTTErrorsDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition: RunTTErrorsDat.cc:23
IDataItem
Definition: IDataItem.h:16
EcalLogicID
Definition: EcalLogicID.h:7
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
RunTTErrorsDat::RunTTErrorsDat
RunTTErrorsDat()
Definition: RunTTErrorsDat.cc:12
RunTTErrorsDat::getTable
std::string getTable() override
Definition: RunTTErrorsDat.h:19
RunTTErrorsDat::fetchData
void fetchData(std::map< EcalLogicID, RunTTErrorsDat > *fillMap, RunIOV *iov) noexcept(false)
Definition: RunTTErrorsDat.cc:63
RunTTErrorsDat::m_errorBits
uint64_t m_errorBits
Definition: RunTTErrorsDat.h:32
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
RunTTErrorsDat::writeDB
void writeDB(const EcalLogicID *ecid, const RunTTErrorsDat *item, RunIOV *iov) noexcept(false)
Definition: RunTTErrorsDat.cc:39
EcalLogicID.h
std
Definition: JetResolutionObject.h:76
cond::uint64_t
unsigned long long uint64_t
Definition: Time.h:13
genParticles_cff.map
map
Definition: genParticles_cff.py:11
RunTTErrorsDat
Definition: RunTTErrorsDat.h:12