OnlineDB
EcalCondDB
interface
RunCrystalErrorsDat.h
Go to the documentation of this file.
1
#ifndef RUNCRYSTALERRORSDAT_H
2
#define RUNCRYSTALERRORSDAT_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
RunCrystalErrorsDat
:
public
IDataItem
{
13
public
:
14
friend
class
EcalCondDBInterface
;
15
RunCrystalErrorsDat
();
16
~RunCrystalErrorsDat
()
override
;
17
18
// User data methods
19
inline
std::string
getTable
()
override
{
return
"RUN_CRYSTAL_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
RunCrystalErrorsDat
*
item
,
RunIOV
* iov) noexcept(
false
);
28
29
void
fetchData
(
std
::
map
<
EcalLogicID
,
RunCrystalErrorsDat
>* 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
RunCrystalErrorsDat::setErrorBits
void setErrorBits(uint64_t bits)
Definition:
RunCrystalErrorsDat.h:21
RunIOV.h
RunCrystalErrorsDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition:
RunCrystalErrorsDat.cc:21
watchdog.const
const
Definition:
watchdog.py:83
RunCrystalErrorsDat
Definition:
RunCrystalErrorsDat.h:12
IDataItem
Definition:
IDataItem.h:16
EcalLogicID
Definition:
EcalLogicID.h:7
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
RunCrystalErrorsDat::getErrorBits
uint64_t getErrorBits() const
Definition:
RunCrystalErrorsDat.h:22
B2GTnPMonitor_cfi.item
item
Definition:
B2GTnPMonitor_cfi.py:147
RunCrystalErrorsDat::getTable
std::string getTable() override
Definition:
RunCrystalErrorsDat.h:19
RunCrystalErrorsDat::m_errorBits
uint64_t m_errorBits
Definition:
RunCrystalErrorsDat.h:32
RunCrystalErrorsDat::~RunCrystalErrorsDat
~RunCrystalErrorsDat() override
Definition:
RunCrystalErrorsDat.cc:19
EcalLogicID.h
std
Definition:
JetResolutionObject.h:76
RunCrystalErrorsDat::fetchData
void fetchData(std::map< EcalLogicID, RunCrystalErrorsDat > *fillMap, RunIOV *iov) noexcept(false)
Definition:
RunCrystalErrorsDat.cc:63
RunCrystalErrorsDat::RunCrystalErrorsDat
RunCrystalErrorsDat()
Definition:
RunCrystalErrorsDat.cc:12
cond::uint64_t
unsigned long long uint64_t
Definition:
Time.h:13
genParticles_cff.map
map
Definition:
genParticles_cff.py:11
RunCrystalErrorsDat::writeDB
void writeDB(const EcalLogicID *ecid, const RunCrystalErrorsDat *item, RunIOV *iov) noexcept(false)
Definition:
RunCrystalErrorsDat.cc:37
Generated for CMSSW Reference Manual by
1.8.16