Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
OnlineDB
EcalCondDB
interface
RunPTMTempDat.h
Go to the documentation of this file.
1
#ifndef RUNPTMTEMPDAT_H
2
#define RUNPTMTEMPDAT_H
3
4
#include <vector>
5
#include <stdexcept>
6
7
#include "
OnlineDB/EcalCondDB/interface/IDataItem.h
"
8
#include "
OnlineDB/EcalCondDB/interface/RunIOV.h
"
9
#include "
OnlineDB/EcalCondDB/interface/EcalLogicID.h
"
10
11
class
RunPTMTempDat
:
public
IDataItem
{
12
public
:
13
friend
class
EcalCondDBInterface
;
14
RunPTMTempDat
();
15
~RunPTMTempDat
();
16
17
// User data methods
18
inline
std::string
getTable
() {
return
"RUN_PTM_TEMP_DAT"
; }
19
inline
void
setTemperature
(
float
t
) {
m_temperature
=
t
; }
20
inline
float
getTemperature
()
const
{
return
m_temperature
; }
21
22
private
:
23
void
prepareWrite
()
24
throw
(std::runtime_error);
25
26
void
writeDB
(
const
EcalLogicID
* ecid,
const
RunPTMTempDat
* item,
RunIOV
*
iov
)
27
throw
(std::runtime_error);
28
29
void
fetchData
(std::
map
<
EcalLogicID
,
RunPTMTempDat
>* fillMap,
RunIOV
*
iov
)
30
throw
(std::runtime_error);
31
32
// User data
33
float
m_temperature
;
34
};
35
36
#endif
RunPTMTempDat::writeDB
void writeDB(const EcalLogicID *ecid, const RunPTMTempDat *item, RunIOV *iov)
Definition:
RunPTMTempDat.cc:47
RunPTMTempDat::prepareWrite
void prepareWrite()
Definition:
RunPTMTempDat.cc:29
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
RunPTMTempDat::~RunPTMTempDat
~RunPTMTempDat()
Definition:
RunPTMTempDat.cc:23
RunPTMTempDat::getTable
std::string getTable()
Definition:
RunPTMTempDat.h:18
lumiQTWidget.t
tuple t
Definition:
lumiQTWidget.py:50
EcalLogicID
Definition:
EcalLogicID.h:7
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
RunIOV.h
python.multivaluedict.map
def map
Definition:
multivaluedict.py:125
IDataItem
Definition:
IDataItem.h:16
o2o.iov
tuple iov
Definition:
o2o.py:307
RunPTMTempDat::m_temperature
float m_temperature
Definition:
RunPTMTempDat.h:33
EcalLogicID.h
RunPTMTempDat::fetchData
void fetchData(std::map< EcalLogicID, RunPTMTempDat > *fillMap, RunIOV *iov)
Definition:
RunPTMTempDat.cc:72
RunPTMTempDat::setTemperature
void setTemperature(float t)
Definition:
RunPTMTempDat.h:19
RunPTMTempDat::RunPTMTempDat
RunPTMTempDat()
Definition:
RunPTMTempDat.cc:11
IDataItem.h
compareJSON.const
string const
Definition:
compareJSON.py:14
RunPTMTempDat
Definition:
RunPTMTempDat.h:11
RunPTMTempDat::getTemperature
float getTemperature() const
Definition:
RunPTMTempDat.h:20
RunIOV
Definition:
RunIOV.h:13
CommPDSkim_cfg.throw
tuple throw
Definition:
CommPDSkim_cfg.py:101
Generated for CMSSW Reference Manual by
1.8.5