Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
();
17
18
// User data methods
19
inline
std::string
getTable
() {
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
31
private
:
32
void
prepareWrite
()
33
throw
(std::runtime_error);
34
35
void
writeDB
(
const
EcalLogicID
* ecid,
const
DCULVRBTempsDat
* item,
DCUIOV
*
iov
)
36
throw
(std::runtime_error);
37
38
void
writeArrayDB
(
const
std::
map
<
EcalLogicID
,
DCULVRBTempsDat
>*
data
,
DCUIOV
*
iov
)
39
throw
(std::runtime_error);
40
41
void
fetchData
(std::
map
< EcalLogicID,
DCULVRBTempsDat
>* 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
DCULVRBTempsDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, DCULVRBTempsDat > *data, DCUIOV *iov)
Definition:
DCULVRBTempsDat.cc:123
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:36
EcalLogicID
Definition:
EcalLogicID.h:8
DCULVRBTempsDat::getT2
float getT2() const
Definition:
DCULVRBTempsDat.h:25
DCUTag.h
DCULVRBTempsDat::m_t1
float m_t1
Definition:
DCULVRBTempsDat.h:45
DCULVRBTempsDat::m_t3
float m_t3
Definition:
DCULVRBTempsDat.h:47
DCUIOV
Definition:
DCUIOV.h:13
DCULVRBTempsDat::getT1
float getT1() const
Definition:
DCULVRBTempsDat.h:22
python.multivaluedict.map
def map
Definition:
multivaluedict.py:125
IDataItem
Definition:
IDataItem.h:16
o2o.iov
tuple iov
Definition:
o2o.py:307
DCULVRBTempsDat::fetchData
void fetchData(std::map< EcalLogicID, DCULVRBTempsDat > *fillVec, DCUIOV *iov)
Definition:
DCULVRBTempsDat.cc:78
DCULVRBTempsDat::writeDB
void writeDB(const EcalLogicID *ecid, const DCULVRBTempsDat *item, DCUIOV *iov)
Definition:
DCULVRBTempsDat.cc:50
DCULVRBTempsDat::prepareWrite
void prepareWrite()
Definition:
DCULVRBTempsDat.cc:32
DCULVRBTempsDat::setT1
void setT1(float temp)
Definition:
DCULVRBTempsDat.h:21
cond::rpcobtemp::temp
Definition:
RPCObTempPyWrapper.cc:64
DCULVRBTempsDat::m_t2
float m_t2
Definition:
DCULVRBTempsDat.h:46
EcalLogicID.h
DCULVRBTempsDat::getTable
std::string getTable()
Definition:
DCULVRBTempsDat.h:19
DCULVRBTempsDat::setT3
void setT3(float temp)
Definition:
DCULVRBTempsDat.h:27
DCUIOV.h
IDataItem.h
compareJSON.const
string const
Definition:
compareJSON.py:14
DCULVRBTempsDat::getT3
float getT3() const
Definition:
DCULVRBTempsDat.h:28
DCULVRBTempsDat::DCULVRBTempsDat
DCULVRBTempsDat()
Definition:
DCULVRBTempsDat.cc:12
DCULVRBTempsDat::~DCULVRBTempsDat
~DCULVRBTempsDat()
Definition:
DCULVRBTempsDat.cc:26
runTheMatrix.data
data
Definition:
runTheMatrix.py:756
DCULVRBTempsDat::setT2
void setT2(float temp)
Definition:
DCULVRBTempsDat.h:24
DCULVRBTempsDat
Definition:
DCULVRBTempsDat.h:12
CommPDSkim_cfg.throw
tuple throw
Definition:
CommPDSkim_cfg.py:100
Generated for CMSSW Reference Manual by
1.8.5