OnlineDB
EcalCondDB
interface
DCSPTMTemp.h
Go to the documentation of this file.
1
#ifndef DCSPTMTEMP_H
2
#define DCSPTMTEMP_H
3
4
#include <stdexcept>
5
#include <iostream>
6
7
#include "
OnlineDB/EcalCondDB/interface/IIOV.h
"
8
#include "
OnlineDB/EcalCondDB/interface/Tm.h
"
9
#include "
OnlineDB/EcalCondDB/interface/DateHandler.h
"
10
#include "
OnlineDB/EcalCondDB/interface/EcalLogicID.h
"
11
12
typedef
int
run_t
;
13
14
class
DCSPTMTemp
:
public
IDBObject
{
15
public
:
16
friend
class
EcalCondDBInterface
;
17
18
DCSPTMTemp
();
19
~DCSPTMTemp
()
override
;
20
21
// Methods for user data
22
inline
std::string
getTable
() {
return
""
; }
23
24
float
getTemperature
();
25
void
setTemperature
(
float
temp
);
26
27
void
setStart
(
const
Tm
&
start
);
28
Tm
getStart
()
const
;
29
void
setEnd
(
const
Tm
&
end
);
30
Tm
getEnd
()
const
;
31
EcalLogicID
getEcalLogicID
()
const
;
32
void
setEcalLogicID
(
const
EcalLogicID
& ecid);
33
34
private
:
35
// User data
36
int
m_ID
;
37
EcalLogicID
m_ecid
;
38
float
m_temp
;
39
Tm
m_runStart
;
40
Tm
m_runEnd
;
41
};
42
43
#endif
DCSPTMTemp::setStart
void setStart(const Tm &start)
Definition:
DCSPTMTemp.cc:23
DCSPTMTemp::getTemperature
float getTemperature()
Definition:
DCSPTMTemp.cc:41
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
DCSPTMTemp::getTable
std::string getTable()
Definition:
DCSPTMTemp.h:22
start
Definition:
start.py:1
DCSPTMTemp::getEnd
Tm getEnd() const
Definition:
DCSPTMTemp.cc:39
DCSPTMTemp::getEcalLogicID
EcalLogicID getEcalLogicID() const
Definition:
DCSPTMTemp.cc:45
IDBObject
Definition:
IDBObject.h:13
DCSPTMTemp::m_temp
float m_temp
Definition:
DCSPTMTemp.h:38
groupFilesInBlocks.temp
list temp
Definition:
groupFilesInBlocks.py:142
end
#define end
Definition:
vmac.h:39
DCSPTMTemp::~DCSPTMTemp
~DCSPTMTemp() override
Definition:
DCSPTMTemp.cc:21
DCSPTMTemp
Definition:
DCSPTMTemp.h:14
DCSPTMTemp::getStart
Tm getStart() const
Definition:
DCSPTMTemp.cc:30
EcalLogicID
Definition:
EcalLogicID.h:7
Tm
Definition:
Tm.h:13
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
IIOV.h
Tm.h
DCSPTMTemp::m_runStart
Tm m_runStart
Definition:
DCSPTMTemp.h:39
DCSPTMTemp::setTemperature
void setTemperature(float temp)
Definition:
DCSPTMTemp.cc:43
DCSPTMTemp::DCSPTMTemp
DCSPTMTemp()
Definition:
DCSPTMTemp.cc:13
EcalLogicID.h
DCSPTMTemp::m_ecid
EcalLogicID m_ecid
Definition:
DCSPTMTemp.h:37
run_t
int run_t
Definition:
DCSPTMTemp.h:12
DCSPTMTemp::m_runEnd
Tm m_runEnd
Definition:
DCSPTMTemp.h:40
DCSPTMTemp::setEnd
void setEnd(const Tm &end)
Definition:
DCSPTMTemp.cc:32
DCSPTMTemp::m_ID
int m_ID
Definition:
DCSPTMTemp.h:36
DateHandler.h
DCSPTMTemp::setEcalLogicID
void setEcalLogicID(const EcalLogicID &ecid)
Definition:
DCSPTMTemp.cc:47
Generated for CMSSW Reference Manual by
1.8.16