OnlineDB
EcalCondDB
interface
FEConfigLUTDat.h
Go to the documentation of this file.
1
#ifndef FECONFLUTDAT_H
2
#define FECONFLUTDAT_H
3
4
#include <vector>
5
#include <stdexcept>
6
7
#include "
OnlineDB/EcalCondDB/interface/IDataItem.h
"
8
#include "
OnlineDB/EcalCondDB/interface/FEConfigLUTInfo.h
"
9
#include "
OnlineDB/EcalCondDB/interface/EcalLogicID.h
"
10
11
class
FEConfigLUTDat
:
public
IDataItem
{
12
public
:
13
friend
class
EcalCondDBInterface
;
// XXX temp should not need
14
FEConfigLUTDat
();
15
~FEConfigLUTDat
()
override
;
16
17
// User data methods
18
inline
std::string
getTable
()
override
{
return
"FE_CONFIG_LUT_DAT"
; }
19
20
inline
void
setLUTGroupId
(
int
x
) {
m_group_id
=
x
; }
21
inline
int
getLUTGroupId
()
const
{
return
m_group_id
; }
22
23
private
:
24
void
prepareWrite
() noexcept(
false
) override;
25
26
void
writeDB
(
const
EcalLogicID
* ecid,
const
FEConfigLUTDat
*
item
,
FEConfigLUTInfo
* iconf) noexcept(
false
);
27
28
void
writeArrayDB
(
const
std
::
map
<
EcalLogicID
,
FEConfigLUTDat
>*
data
,
FEConfigLUTInfo
* iconf) noexcept(
false
);
29
30
void
fetchData
(
std
::
map
<
EcalLogicID
,
FEConfigLUTDat
>* fillMap,
FEConfigLUTInfo
* iconf) noexcept(
false
);
31
32
// User data
33
int
m_group_id
;
34
};
35
36
#endif
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
IDataItem.h
FEConfigLUTDat::getTable
std::string getTable() override
Definition:
FEConfigLUTDat.h:18
funct::false
false
Definition:
Factorize.h:29
FEConfigLUTDat::getLUTGroupId
int getLUTGroupId() const
Definition:
FEConfigLUTDat.h:21
FEConfigLUTDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, FEConfigLUTDat > *data, FEConfigLUTInfo *iconf) noexcept(false)
Definition:
FEConfigLUTDat.cc:105
DDAxes::x
watchdog.const
const
Definition:
watchdog.py:83
IDataItem
Definition:
IDataItem.h:16
EcalLogicID
Definition:
EcalLogicID.h:7
FEConfigLUTDat
Definition:
FEConfigLUTDat.h:11
FEConfigLUTInfo
Definition:
FEConfigLUTInfo.h:11
B2GTnPMonitor_cfi.item
item
Definition:
B2GTnPMonitor_cfi.py:147
FEConfigLUTDat::setLUTGroupId
void setLUTGroupId(int x)
Definition:
FEConfigLUTDat.h:20
FEConfigLUTDat::m_group_id
int m_group_id
Definition:
FEConfigLUTDat.h:33
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
FEConfigLUTInfo.h
FEConfigLUTDat::FEConfigLUTDat
FEConfigLUTDat()
Definition:
FEConfigLUTDat.cc:11
FEConfigLUTDat::writeDB
void writeDB(const EcalLogicID *ecid, const FEConfigLUTDat *item, FEConfigLUTInfo *iconf) noexcept(false)
Definition:
FEConfigLUTDat.cc:37
EcalLogicID.h
FEConfigLUTDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition:
FEConfigLUTDat.cc:22
FEConfigLUTDat::fetchData
void fetchData(std::map< EcalLogicID, FEConfigLUTDat > *fillMap, FEConfigLUTInfo *iconf) noexcept(false)
Definition:
FEConfigLUTDat.cc:64
std
Definition:
JetResolutionObject.h:76
FEConfigLUTDat::~FEConfigLUTDat
~FEConfigLUTDat() override
Definition:
FEConfigLUTDat.cc: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