OnlineDB
EcalCondDB
interface
DCULVRTempsDat.h
Go to the documentation of this file.
1
#ifndef DCULVRTEMPSDAT_H
2
#define DCULVRTEMPSDAT_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
DCULVRTempsDat
:
public
IDataItem
{
13
public
:
14
friend
class
EcalCondDBInterface
;
15
DCULVRTempsDat
();
16
~DCULVRTempsDat
()
override
;
17
18
// User data methods
19
inline
std::string
getTable
()
override
{
return
"DCU_LVR_TEMPS_DAT"
; }
20
21
inline
void
setT1
(
float
temp
) {
m_t1
=
temp
; }
22
inline
float
getT1
()
const
{
return
m_t1
; }
23
24
inline
void
setT2
(
float
temp
) {
m_t2
=
temp
; }
25
inline
float
getT2
()
const
{
return
m_t2
; }
26
27
inline
void
setT3
(
float
temp
) {
m_t3
=
temp
; }
28
inline
float
getT3
()
const
{
return
m_t3
; }
29
30
private
:
31
void
prepareWrite
() noexcept(
false
) override;
32
33
void
writeDB
(
const
EcalLogicID
* ecid,
const
DCULVRTempsDat
*
item
,
DCUIOV
* iov) noexcept(
false
);
34
35
void
writeArrayDB
(
const
std
::
map
<
EcalLogicID
,
DCULVRTempsDat
>*
data
,
DCUIOV
* iov) noexcept(
false
);
36
37
void
fetchData
(
std
::
map
<
EcalLogicID
,
DCULVRTempsDat
>* fillVec,
DCUIOV
* iov) noexcept(
false
);
38
39
// User data
40
float
m_t1
;
41
float
m_t2
;
42
float
m_t3
;
43
};
44
45
#endif
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
IDataItem.h
funct::false
false
Definition:
Factorize.h:34
DCULVRTempsDat
Definition:
DCULVRTempsDat.h:12
DCULVRTempsDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, DCULVRTempsDat > *data, DCUIOV *iov) noexcept(false)
DCUIOV
Definition:
DCUIOV.h:13
DCULVRTempsDat::getT3
float getT3() const
Definition:
DCULVRTempsDat.h:28
DCULVRTempsDat::writeDB
void writeDB(const EcalLogicID *ecid, const DCULVRTempsDat *item, DCUIOV *iov) noexcept(false)
Definition:
DCULVRTempsDat.cc:40
watchdog.const
const
Definition:
watchdog.py:83
groupFilesInBlocks.temp
list temp
Definition:
groupFilesInBlocks.py:142
DCULVRTempsDat::m_t2
float m_t2
Definition:
DCULVRTempsDat.h:41
DCULVRTempsDat::m_t1
float m_t1
Definition:
DCULVRTempsDat.h:40
IDataItem
Definition:
IDataItem.h:16
DCULVRTempsDat::setT1
void setT1(float temp)
Definition:
DCULVRTempsDat.h:21
DCULVRTempsDat::getT2
float getT2() const
Definition:
DCULVRTempsDat.h:25
DCULVRTempsDat::setT2
void setT2(float temp)
Definition:
DCULVRTempsDat.h:24
DCULVRTempsDat::fetchData
void fetchData(std::map< EcalLogicID, DCULVRTempsDat > *fillVec, DCUIOV *iov) noexcept(false)
Definition:
DCULVRTempsDat.cc:68
EcalLogicID
Definition:
EcalLogicID.h:7
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DCULVRTempsDat::m_t3
float m_t3
Definition:
DCULVRTempsDat.h:42
DCUTag.h
DCULVRTempsDat::setT3
void setT3(float temp)
Definition:
DCULVRTempsDat.h:27
B2GTnPMonitor_cfi.item
item
Definition:
B2GTnPMonitor_cfi.py:147
DCULVRTempsDat::getTable
std::string getTable() override
Definition:
DCULVRTempsDat.h:19
EcalLogicID.h
DCULVRTempsDat::~DCULVRTempsDat
~DCULVRTempsDat() override
Definition:
DCULVRTempsDat.cc:23
DCUIOV.h
std
Definition:
JetResolutionObject.h:76
DCULVRTempsDat::getT1
float getT1() const
Definition:
DCULVRTempsDat.h:22
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:79
genParticles_cff.map
map
Definition:
genParticles_cff.py:11
DCULVRTempsDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition:
DCULVRTempsDat.cc:25
DCULVRTempsDat::DCULVRTempsDat
DCULVRTempsDat()
Definition:
DCULVRTempsDat.cc:12
Generated for CMSSW Reference Manual by
1.8.16