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