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