Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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 =
NULL
;
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
(
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
(
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
(
EcalLogicID
ecid)
81
{
82
m_ecid=ecid;
83
}
84
DateHandler.h
DCSPTMTemp.h
DCSPTMTemp::setTemperature
void setTemperature(float temp)
Definition:
DCSPTMTemp.cc:70
EcalLogicID
Definition:
EcalLogicID.h:8
DCSPTMTemp::DCSPTMTemp
DCSPTMTemp()
Definition:
DCSPTMTemp.cc:13
DCSPTMTemp::getStart
Tm getStart() const
Definition:
DCSPTMTemp.cc:43
groupFilesInBlocks.temp
temp
Definition:
groupFilesInBlocks.py:140
NULL
#define NULL
Definition:
scimark2.h:8
DCSPTMTemp::getTemperature
float getTemperature()
Definition:
DCSPTMTemp.cc:65
DCSPTMTemp::~DCSPTMTemp
~DCSPTMTemp()
Definition:
DCSPTMTemp.cc:26
Oracle.h
DCSPTMTemp::setStart
void setStart(Tm start)
Definition:
DCSPTMTemp.cc:33
Tm.h
DCSPTMTemp::setEcalLogicID
void setEcalLogicID(EcalLogicID ecid)
Definition:
DCSPTMTemp.cc:80
end
#define end
Definition:
vmac.h:38
EcalLogicID.h
DCSPTMTemp::getEnd
Tm getEnd() const
Definition:
DCSPTMTemp.cc:60
errorMatrix2Lands_multiChannel.start
tuple start
Definition:
errorMatrix2Lands_multiChannel.py:58
Tm
Definition:
Tm.h:14
DCSPTMTemp::setEnd
void setEnd(Tm end)
Definition:
DCSPTMTemp.cc:50
DCSPTMTemp::getEcalLogicID
EcalLogicID getEcalLogicID() const
Definition:
DCSPTMTemp.cc:75
IIOV.h
Generated for CMSSW Reference Manual by
1.8.5