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