OnlineDB
EcalCondDB
interface
RunFEConfigDat.h
Go to the documentation of this file.
1
#ifndef RUNFECONFIGDAT_H
2
#define RUNFECONFIGDAT_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 "
OnlineDB/EcalCondDB/interface/ODDelaysDat.h
"
11
12
class
RunFEConfigDat
:
public
IDataItem
{
13
public
:
14
friend
class
EcalCondDBInterface
;
15
RunFEConfigDat
();
16
~RunFEConfigDat
()
override
;
17
18
// User data methods
19
inline
std::string
getTable
()
override
{
return
"RUN_FECONFIG_DAT"
; }
20
21
inline
int
getConfigId
()
const
{
return
m_config
; }
22
inline
void
setConfigId
(
int
x
) {
m_config
=
x
; }
23
24
std::list<ODDelaysDat>
getDelays
();
25
26
private
:
27
void
prepareWrite
() noexcept(
false
) override;
28
29
void
writeDB
(
const
EcalLogicID
* ecid,
const
RunFEConfigDat
*
item
,
RunIOV
* iov) noexcept(
false
);
30
31
void
fetchData
(
std
::
map
<
EcalLogicID
,
RunFEConfigDat
>* fillMap,
RunIOV
* iov) noexcept(
false
);
32
33
// User data
34
35
int
m_config
;
36
};
37
38
#endif
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
IDataItem.h
RunIOV
Definition:
RunIOV.h:13
RunFEConfigDat::RunFEConfigDat
RunFEConfigDat()
Definition:
RunFEConfigDat.cc:11
funct::false
false
Definition:
Factorize.h:29
RunIOV.h
RunFEConfigDat::fetchData
void fetchData(std::map< EcalLogicID, RunFEConfigDat > *fillMap, RunIOV *iov) noexcept(false)
Definition:
RunFEConfigDat.cc:62
DDAxes::x
watchdog.const
const
Definition:
watchdog.py:83
RunFEConfigDat::m_config
int m_config
Definition:
RunFEConfigDat.h:35
RunFEConfigDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition:
RunFEConfigDat.cc:22
IDataItem
Definition:
IDataItem.h:16
RunFEConfigDat::setConfigId
void setConfigId(int x)
Definition:
RunFEConfigDat.h:22
EcalLogicID
Definition:
EcalLogicID.h:7
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
RunFEConfigDat
Definition:
RunFEConfigDat.h:12
RunFEConfigDat::~RunFEConfigDat
~RunFEConfigDat() override
Definition:
RunFEConfigDat.cc:20
B2GTnPMonitor_cfi.item
item
Definition:
B2GTnPMonitor_cfi.py:147
RunFEConfigDat::getDelays
std::list< ODDelaysDat > getDelays()
EcalLogicID.h
std
Definition:
JetResolutionObject.h:76
RunFEConfigDat::getConfigId
int getConfigId() const
Definition:
RunFEConfigDat.h:21
RunFEConfigDat::getTable
std::string getTable() override
Definition:
RunFEConfigDat.h:19
ODDelaysDat.h
genParticles_cff.map
map
Definition:
genParticles_cff.py:11
RunFEConfigDat::writeDB
void writeDB(const EcalLogicID *ecid, const RunFEConfigDat *item, RunIOV *iov) noexcept(false)
Definition:
RunFEConfigDat.cc:37
Generated for CMSSW Reference Manual by
1.8.16