OnlineDB
EcalCondDB
interface
DCUIDarkPedDat.h
Go to the documentation of this file.
1
#ifndef DCUIDARKPEDDAT_H
2
#define DCUIDARKPEDDAT_H
3
4
#include <map>
5
#include <stdexcept>
6
7
#include "
OnlineDB/EcalCondDB/interface/IDataItem.h
"
8
#include "
OnlineDB/EcalCondDB/interface/DCUTag.h
"
9
#include "
OnlineDB/EcalCondDB/interface/DCUIOV.h
"
10
#include "
OnlineDB/EcalCondDB/interface/EcalLogicID.h
"
11
12
class
DCUIDarkPedDat
:
public
IDataItem
{
13
public
:
14
friend
class
EcalCondDBInterface
;
15
DCUIDarkPedDat
();
16
~DCUIDarkPedDat
()
override
;
17
18
// User data methods
19
inline
std::string
getTable
()
override
{
return
"DCU_IDARK_PED_DAT"
; }
20
21
inline
void
setPed
(
float
temp
) {
m_ped
=
temp
; }
22
inline
float
getPed
()
const
{
return
m_ped
; }
23
24
private
:
25
void
prepareWrite
() noexcept(
false
) override;
26
27
void
writeDB
(
const
EcalLogicID
* ecid,
const
DCUIDarkPedDat
*
item
,
DCUIOV
* iov) noexcept(
false
);
28
29
void
writeArrayDB
(
const
std
::
map
<
EcalLogicID
,
DCUIDarkPedDat
>*
data
,
DCUIOV
* iov) noexcept(
false
);
30
31
void
fetchData
(
std
::
map
<
EcalLogicID
,
DCUIDarkPedDat
>* fillVec,
DCUIOV
* iov) noexcept(
false
);
32
33
// User data
34
float
m_ped
;
35
};
36
37
#endif
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
IDataItem.h
funct::false
false
Definition:
Factorize.h:29
DCUIDarkPedDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition:
DCUIDarkPedDat.cc:23
DCUIDarkPedDat::setPed
void setPed(float temp)
Definition:
DCUIDarkPedDat.h:21
DCUIDarkPedDat::getTable
std::string getTable() override
Definition:
DCUIDarkPedDat.h:19
DCUIOV
Definition:
DCUIOV.h:13
DCUIDarkPedDat::fetchData
void fetchData(std::map< EcalLogicID, DCUIDarkPedDat > *fillVec, DCUIOV *iov) noexcept(false)
Definition:
DCUIDarkPedDat.cc:64
watchdog.const
const
Definition:
watchdog.py:83
groupFilesInBlocks.temp
list temp
Definition:
groupFilesInBlocks.py:142
DCUIDarkPedDat
Definition:
DCUIDarkPedDat.h:12
DCUIDarkPedDat::~DCUIDarkPedDat
~DCUIDarkPedDat() override
Definition:
DCUIDarkPedDat.cc:21
DCUIDarkPedDat::getPed
float getPed() const
Definition:
DCUIDarkPedDat.h:22
IDataItem
Definition:
IDataItem.h:16
DCUIDarkPedDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, DCUIDarkPedDat > *data, DCUIOV *iov) noexcept(false)
Definition:
DCUIDarkPedDat.cc:104
DCUIDarkPedDat::m_ped
float m_ped
Definition:
DCUIDarkPedDat.h:34
EcalLogicID
Definition:
EcalLogicID.h:7
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DCUTag.h
B2GTnPMonitor_cfi.item
item
Definition:
B2GTnPMonitor_cfi.py:147
DCUIDarkPedDat::DCUIDarkPedDat
DCUIDarkPedDat()
Definition:
DCUIDarkPedDat.cc:12
EcalLogicID.h
DCUIOV.h
std
Definition:
JetResolutionObject.h:76
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:79
DCUIDarkPedDat::writeDB
void writeDB(const EcalLogicID *ecid, const DCUIDarkPedDat *item, DCUIOV *iov) noexcept(false)
Definition:
DCUIDarkPedDat.cc:38
genParticles_cff.map
map
Definition:
genParticles_cff.py:11
Generated for CMSSW Reference Manual by
1.8.16