OnlineDB
EcalCondDB
interface
MODDCCOperationDat.h
Go to the documentation of this file.
1
#ifndef MODDCCOPERATIONDAT_H
2
#define MODDCCOPERATIONDAT_H
3
4
#include <map>
5
#include <stdexcept>
6
7
#include "
OnlineDB/EcalCondDB/interface/IDataItem.h
"
8
#include "
OnlineDB/EcalCondDB/interface/MODRunIOV.h
"
9
#include "
OnlineDB/EcalCondDB/interface/EcalLogicID.h
"
10
11
class
MODDCCOperationDat
:
public
IDataItem
{
12
public
:
13
friend
class
EcalCondDBInterface
;
14
MODDCCOperationDat
();
15
~MODDCCOperationDat
()
override
;
16
17
// User data methods
18
inline
std::string
getTable
()
override
{
return
"OD_DCC_OPERATION_DAT"
; }
19
20
inline
void
setOperation
(
std::string
x
) {
m_word
=
x
; }
21
inline
std::string
getOperation
()
const
{
return
m_word
; }
22
23
private
:
24
void
prepareWrite
() noexcept(
false
) override;
25
26
void
writeDB
(
const
EcalLogicID
* ecid,
const
MODDCCOperationDat
*
item
,
MODRunIOV
* iov) noexcept(
false
);
27
28
void
writeArrayDB
(
const
std
::
map
<
EcalLogicID
,
MODDCCOperationDat
>*
data
,
MODRunIOV
* iov) noexcept(
false
);
29
30
void
fetchData
(
std
::
map
<
EcalLogicID
,
MODDCCOperationDat
>* fillMap,
MODRunIOV
* iov) noexcept(
false
);
31
32
// User data
33
std
::
string
m_word
;
34
};
35
36
#endif
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
IDataItem.h
MODDCCOperationDat::MODDCCOperationDat
MODDCCOperationDat()
Definition:
MODDCCOperationDat.cc:11
funct::false
false
Definition:
Factorize.h:29
MODDCCOperationDat::m_word
std::string m_word
Definition:
MODDCCOperationDat.h:33
MODDCCOperationDat::writeDB
void writeDB(const EcalLogicID *ecid, const MODDCCOperationDat *item, MODRunIOV *iov) noexcept(false)
Definition:
MODDCCOperationDat.cc:37
MODDCCOperationDat::~MODDCCOperationDat
~MODDCCOperationDat() override
Definition:
MODDCCOperationDat.cc:20
MODDCCOperationDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, MODDCCOperationDat > *data, MODRunIOV *iov) noexcept(false)
Definition:
MODDCCOperationDat.cc:107
DDAxes::x
watchdog.const
const
Definition:
watchdog.py:83
MODDCCOperationDat
Definition:
MODDCCOperationDat.h:11
MODRunIOV.h
IDataItem
Definition:
IDataItem.h:16
EcalLogicID
Definition:
EcalLogicID.h:7
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
MODDCCOperationDat::getTable
std::string getTable() override
Definition:
MODDCCOperationDat.h:18
MODDCCOperationDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition:
MODDCCOperationDat.cc:22
B2GTnPMonitor_cfi.item
item
Definition:
B2GTnPMonitor_cfi.py:147
EcalLogicID.h
MODRunIOV
Definition:
MODRunIOV.h:13
std
Definition:
JetResolutionObject.h:76
MODDCCOperationDat::getOperation
std::string getOperation() const
Definition:
MODDCCOperationDat.h:21
MODDCCOperationDat::fetchData
void fetchData(std::map< EcalLogicID, MODDCCOperationDat > *fillMap, MODRunIOV *iov) noexcept(false)
Definition:
MODDCCOperationDat.cc:64
MODDCCOperationDat::setOperation
void setOperation(std::string x)
Definition:
MODDCCOperationDat.h:20
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:79
genParticles_cff.map
map
Definition:
genParticles_cff.py:11
Generated for CMSSW Reference Manual by
1.8.16