OnlineDB
EcalCondDB
interface
CaliTempDat.h
Go to the documentation of this file.
1
#ifndef CALITEMPDAT_H
2
#define CALITEMPDAT_H
3
4
#include <map>
5
#include <stdexcept>
6
7
#include "
OnlineDB/EcalCondDB/interface/IDataItem.h
"
8
#include "
OnlineDB/EcalCondDB/interface/CaliTag.h
"
9
#include "
OnlineDB/EcalCondDB/interface/CaliIOV.h
"
10
#include "
OnlineDB/EcalCondDB/interface/EcalLogicID.h
"
11
12
class
CaliTempDat
:
public
IDataItem
{
13
public
:
14
friend
class
EcalCondDBInterface
;
15
CaliTempDat
();
16
~CaliTempDat
()
override
;
17
18
// User data methods
19
inline
std::string
getTable
()
override
{
return
"CALI_TEMP_DAT"
; }
20
21
inline
void
setBeta
(
float
c
) {
m_beta
=
c
; }
22
inline
float
getBeta
()
const
{
return
m_beta
; }
23
24
inline
void
setR25
(
float
c
) {
m_r25
=
c
; }
25
inline
float
getR25
()
const
{
return
m_r25
; }
26
27
inline
void
setOffset
(
float
c
) {
m_offset
=
c
; }
28
inline
float
getOffset
()
const
{
return
m_offset
; }
29
30
inline
void
setTaskStatus
(
bool
s
) {
m_taskStatus
=
s
; }
31
inline
bool
getTaskStatus
()
const
{
return
m_taskStatus
; }
32
33
private
:
34
void
prepareWrite
() noexcept(
false
) override;
35
36
void
writeDB
(
const
EcalLogicID
* ecid,
const
CaliTempDat
*
item
,
CaliIOV
* iov) noexcept(
false
);
37
38
void
fetchData
(
std
::
map
<
EcalLogicID
,
CaliTempDat
>* fillVec,
CaliIOV
* iov) noexcept(
false
);
39
40
void
writeArrayDB
(
const
std
::
map
<
EcalLogicID
,
CaliTempDat
>*
data
,
CaliIOV
* iov) noexcept(
false
);
41
42
// User data
43
float
m_beta
;
44
float
m_r25
;
45
float
m_offset
;
46
bool
m_taskStatus
;
47
};
48
49
#endif
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
IDataItem.h
CaliTempDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition:
CaliTempDat.cc:25
CaliIOV
Definition:
CaliIOV.h:13
funct::false
false
Definition:
Factorize.h:34
CaliTempDat::m_beta
float m_beta
Definition:
CaliTempDat.h:43
CaliTempDat::m_offset
float m_offset
Definition:
CaliTempDat.h:45
CaliTempDat::m_taskStatus
bool m_taskStatus
Definition:
CaliTempDat.h:46
CaliTempDat::getOffset
float getOffset() const
Definition:
CaliTempDat.h:28
watchdog.const
const
Definition:
watchdog.py:83
CaliTempDat
Definition:
CaliTempDat.h:12
CaliIOV.h
CaliTag.h
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
CaliTempDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, CaliTempDat > *data, CaliIOV *iov) noexcept(false)
Definition:
CaliTempDat.cc:113
IDataItem
Definition:
IDataItem.h:16
EcalLogicID
Definition:
EcalLogicID.h:7
CaliTempDat::setR25
void setR25(float c)
Definition:
CaliTempDat.h:24
CaliTempDat::fetchData
void fetchData(std::map< EcalLogicID, CaliTempDat > *fillVec, CaliIOV *iov) noexcept(false)
Definition:
CaliTempDat.cc:69
CaliTempDat::setOffset
void setOffset(float c)
Definition:
CaliTempDat.h:27
CaliTempDat::getTaskStatus
bool getTaskStatus() const
Definition:
CaliTempDat.h:31
CaliTempDat::setBeta
void setBeta(float c)
Definition:
CaliTempDat.h:21
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CaliTempDat::~CaliTempDat
~CaliTempDat() override
Definition:
CaliTempDat.cc:23
CaliTempDat::getR25
float getR25() const
Definition:
CaliTempDat.h:25
B2GTnPMonitor_cfi.item
item
Definition:
B2GTnPMonitor_cfi.py:147
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
EcalLogicID.h
CaliTempDat::CaliTempDat
CaliTempDat()
Definition:
CaliTempDat.cc:12
std
Definition:
JetResolutionObject.h:76
CaliTempDat::getTable
std::string getTable() override
Definition:
CaliTempDat.h:19
CaliTempDat::m_r25
float m_r25
Definition:
CaliTempDat.h:44
CaliTempDat::getBeta
float getBeta() const
Definition:
CaliTempDat.h:22
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:79
genParticles_cff.map
map
Definition:
genParticles_cff.py:11
CaliTempDat::setTaskStatus
void setTaskStatus(bool s)
Definition:
CaliTempDat.h:30
CaliTempDat::writeDB
void writeDB(const EcalLogicID *ecid, const CaliTempDat *item, CaliIOV *iov) noexcept(false)
Definition:
CaliTempDat.cc:40
Generated for CMSSW Reference Manual by
1.8.16