OnlineDB
EcalCondDB
interface
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
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
RunPNErrorsDat
:
public
IDataItem
{
13
public
:
14
friend
class
EcalCondDBInterface
;
15
RunPNErrorsDat
();
16
~RunPNErrorsDat
()
override
;
17
18
// User data methods
19
inline
std::string
getTable
()
override
{
return
"RUN_PN_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
RunPNErrorsDat
*
item
,
RunIOV
* iov) noexcept(
false
);
28
29
void
fetchData
(
std
::
map
<
EcalLogicID
,
RunPNErrorsDat
>* fillMap,
RunIOV
* iov) noexcept(
false
);
30
31
// User data
32
uint64_t
m_errorBits
;
33
};
34
35
#endif
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
IDataItem.h
RunIOV
Definition:
RunIOV.h:13
funct::false
false
Definition:
Factorize.h:29
RunPNErrorsDat::getErrorBits
uint64_t getErrorBits() const
Definition:
RunPNErrorsDat.h:22
RunPNErrorsDat::RunPNErrorsDat
RunPNErrorsDat()
Definition:
RunPNErrorsDat.cc:12
RunIOV.h
RunPNErrorsDat::fetchData
void fetchData(std::map< EcalLogicID, RunPNErrorsDat > *fillMap, RunIOV *iov) noexcept(false)
Definition:
RunPNErrorsDat.cc:63
watchdog.const
const
Definition:
watchdog.py:83
RunPNErrorsDat::setErrorBits
void setErrorBits(uint64_t bits)
Definition:
RunPNErrorsDat.h:21
RunPNErrorsDat
Definition:
RunPNErrorsDat.h:12
RunPNErrorsDat::getTable
std::string getTable() override
Definition:
RunPNErrorsDat.h:19
IDataItem
Definition:
IDataItem.h:16
EcalLogicID
Definition:
EcalLogicID.h:7
RunPNErrorsDat::writeDB
void writeDB(const EcalLogicID *ecid, const RunPNErrorsDat *item, RunIOV *iov) noexcept(false)
Definition:
RunPNErrorsDat.cc:39
RunPNErrorsDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition:
RunPNErrorsDat.cc:23
B2GTnPMonitor_cfi.item
item
Definition:
B2GTnPMonitor_cfi.py:147
RunPNErrorsDat::~RunPNErrorsDat
~RunPNErrorsDat() override
Definition:
RunPNErrorsDat.cc:21
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
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
RunPNErrorsDat::m_errorBits
uint64_t m_errorBits
Definition:
RunPNErrorsDat.h:32
Generated for CMSSW Reference Manual by
1.8.16