Main Page
Namespaces
Classes
Package Documentation
OnlineDB
EcalCondDB
src
DCSPTMTemp.cc
Go to the documentation of this file.
1
#include <stdexcept>
2
#include "
OnlineDB/Oracle/interface/Oracle.h
"
3
4
#include "
OnlineDB/EcalCondDB/interface/DCSPTMTemp.h
"
5
#include "
OnlineDB/EcalCondDB/interface/IIOV.h
"
6
#include "
OnlineDB/EcalCondDB/interface/Tm.h
"
7
#include "
OnlineDB/EcalCondDB/interface/DateHandler.h
"
8
#include "
OnlineDB/EcalCondDB/interface/EcalLogicID.h
"
9
10
using namespace
std
;
11
using namespace
oracle::occi
;
12
13
DCSPTMTemp::DCSPTMTemp
()
14
{
15
m_conn =
nullptr
;
16
17
18
m_runStart =
Tm
();
19
m_runEnd =
Tm
();
20
m_temp=0.;
21
22
}
23
24
25
26
DCSPTMTemp::~DCSPTMTemp
()
27
{
28
}
29
30
31
32
33
void
DCSPTMTemp::setStart
(
const
Tm
&
start
)
34
{
35
if
(start != m_runStart) {
36
m_ID = 0;
37
m_runStart =
start
;
38
}
39
}
40
41
42
43
Tm
DCSPTMTemp::getStart
()
const
44
{
45
return
m_runStart;
46
}
47
48
49
50
void
DCSPTMTemp::setEnd
(
const
Tm
&
end
)
51
{
52
if
(end != m_runEnd) {
53
m_ID = 0;
54
m_runEnd =
end
;
55
}
56
}
57
58
59
60
Tm
DCSPTMTemp::getEnd
()
const
61
{
62
return
m_runEnd;
63
}
64
65
float
DCSPTMTemp::getTemperature
()
66
{
67
return
m_temp;
68
}
69
70
void
DCSPTMTemp::setTemperature
(
float
temp
)
71
{
72
m_temp=
temp
;
73
}
74
75
EcalLogicID
DCSPTMTemp::getEcalLogicID
()
const
76
{
77
return
m_ecid;
78
}
79
80
void
DCSPTMTemp::setEcalLogicID
(
const
EcalLogicID
& ecid)
81
{
82
m_ecid=ecid;
83
}
84
DCSPTMTemp::setEnd
void setEnd(const Tm &end)
Definition:
DCSPTMTemp.cc:50
start
Definition:
start.py:1
DCSPTMTemp::setEcalLogicID
void setEcalLogicID(const EcalLogicID &ecid)
Definition:
DCSPTMTemp.cc:80
DateHandler.h
DCSPTMTemp.h
DCSPTMTemp::setTemperature
void setTemperature(float temp)
Definition:
DCSPTMTemp.cc:70
EcalLogicID
Definition:
EcalLogicID.h:7
DCSPTMTemp::DCSPTMTemp
DCSPTMTemp()
Definition:
DCSPTMTemp.cc:13
DCSPTMTemp::getStart
Tm getStart() const
Definition:
DCSPTMTemp.cc:43
groupFilesInBlocks.temp
temp
Definition:
groupFilesInBlocks.py:142
std
Definition:
JetResolutionObject.h:80
DCSPTMTemp::getTemperature
float getTemperature()
Definition:
DCSPTMTemp.cc:65
Oracle.h
command_line.start
start
Definition:
command_line.py:167
DCSPTMTemp::~DCSPTMTemp
~DCSPTMTemp() override
Definition:
DCSPTMTemp.cc:26
Tm.h
end
#define end
Definition:
vmac.h:39
EcalLogicID.h
oracle::occi
Definition:
ConnectionManager.h:7
DCSPTMTemp::getEnd
Tm getEnd() const
Definition:
DCSPTMTemp.cc:60
Tm
Definition:
Tm.h:13
DCSPTMTemp::getEcalLogicID
EcalLogicID getEcalLogicID() const
Definition:
DCSPTMTemp.cc:75
IIOV.h
DCSPTMTemp::setStart
void setStart(const Tm &start)
Definition:
DCSPTMTemp.cc:33
Generated for CMSSW Reference Manual by
1.8.11