Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
();
17
18
// User data methods
19
inline
std::string
getTable
() {
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
31
private
:
32
void
prepareWrite
()
33
throw
(std::runtime_error);
34
35
void
writeDB
(
const
EcalLogicID
* ecid,
const
DCULVRTempsDat
* item,
DCUIOV
*
iov
)
36
throw
(std::runtime_error);
37
38
void
writeArrayDB
(
const
std::
map
<
EcalLogicID
,
DCULVRTempsDat
>*
data
,
DCUIOV
*
iov
)
39
throw
(std::runtime_error);
40
41
void
fetchData
(std::
map
< EcalLogicID,
DCULVRTempsDat
>* fillVec,
DCUIOV
*
iov
)
42
throw
(std::runtime_error);
43
44
// User data
45
float
m_t1
;
46
float
m_t2
;
47
float
m_t3
;
48
};
49
50
#endif
DCULVRTempsDat::getT1
float getT1() const
Definition:
DCULVRTempsDat.h:22
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:39
EcalLogicID
Definition:
EcalLogicID.h:8
DCULVRTempsDat::m_t3
float m_t3
Definition:
DCULVRTempsDat.h:47
DCULVRTempsDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, DCULVRTempsDat > *data, DCUIOV *iov)
DCUTag.h
groupFilesInBlocks.temp
temp
Definition:
groupFilesInBlocks.py:140
DCULVRTempsDat::m_t2
float m_t2
Definition:
DCULVRTempsDat.h:46
DCUIOV
Definition:
DCUIOV.h:13
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
Association.map
dictionary map
Definition:
Association.py:205
DCULVRTempsDat::getT2
float getT2() const
Definition:
DCULVRTempsDat.h:25
IDataItem
Definition:
IDataItem.h:16
o2o.iov
tuple iov
Definition:
o2o.py:307
DCULVRTempsDat::~DCULVRTempsDat
~DCULVRTempsDat()
Definition:
DCULVRTempsDat.cc:26
DCULVRTempsDat::prepareWrite
void prepareWrite()
Definition:
DCULVRTempsDat.cc:32
DCULVRTempsDat::m_t1
float m_t1
Definition:
DCULVRTempsDat.h:45
DCULVRTempsDat::getTable
std::string getTable()
Definition:
DCULVRTempsDat.h:19
EcalLogicID.h
DCULVRTempsDat
Definition:
DCULVRTempsDat.h:12
DCULVRTempsDat::DCULVRTempsDat
DCULVRTempsDat()
Definition:
DCULVRTempsDat.cc:12
DCUIOV.h
DCULVRTempsDat::getT3
float getT3() const
Definition:
DCULVRTempsDat.h:28
DCULVRTempsDat::setT3
void setT3(float temp)
Definition:
DCULVRTempsDat.h:27
IDataItem.h
compareJSON.const
string const
Definition:
compareJSON.py:14
DCULVRTempsDat::setT1
void setT1(float temp)
Definition:
DCULVRTempsDat.h:21
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:82
DCULVRTempsDat::writeDB
void writeDB(const EcalLogicID *ecid, const DCULVRTempsDat *item, DCUIOV *iov)
Definition:
DCULVRTempsDat.cc:50
DCULVRTempsDat::setT2
void setT2(float temp)
Definition:
DCULVRTempsDat.h:24
DCULVRTempsDat::fetchData
void fetchData(std::map< EcalLogicID, DCULVRTempsDat > *fillVec, DCUIOV *iov)
Definition:
DCULVRTempsDat.cc:78
CommPDSkim_cfg.throw
tuple throw
Definition:
CommPDSkim_cfg.py:101
Generated for CMSSW Reference Manual by
1.8.5