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