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