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