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