CMS 3D CMS Logo

DCSPTMTemp.cc
Go to the documentation of this file.
1 #include <stdexcept>
3 
9 
10 using namespace std;
11 using namespace oracle::occi;
12 
14  m_conn = nullptr;
15 
16  m_runStart = Tm();
17  m_runEnd = Tm();
18  m_temp = 0.;
19 }
20 
22 
24  if (start != m_runStart) {
25  m_ID = 0;
26  m_runStart = start;
27  }
28 }
29 
30 Tm DCSPTMTemp::getStart() const { return m_runStart; }
31 
32 void DCSPTMTemp::setEnd(const Tm& end) {
33  if (end != m_runEnd) {
34  m_ID = 0;
35  m_runEnd = end;
36  }
37 }
38 
39 Tm DCSPTMTemp::getEnd() const { return m_runEnd; }
40 
41 float DCSPTMTemp::getTemperature() { return m_temp; }
42 
43 void DCSPTMTemp::setTemperature(float temp) { m_temp = temp; }
44 
45 EcalLogicID DCSPTMTemp::getEcalLogicID() const { return m_ecid; }
46 
47 void DCSPTMTemp::setEcalLogicID(const EcalLogicID& ecid) { m_ecid = ecid; }
DCSPTMTemp::setStart
void setStart(const Tm &start)
Definition: DCSPTMTemp.cc:23
DCSPTMTemp::getTemperature
float getTemperature()
Definition: DCSPTMTemp.cc:41
start
Definition: start.py:1
DCSPTMTemp::getEnd
Tm getEnd() const
Definition: DCSPTMTemp.cc:39
DCSPTMTemp::getEcalLogicID
EcalLogicID getEcalLogicID() const
Definition: DCSPTMTemp.cc:45
groupFilesInBlocks.temp
list temp
Definition: groupFilesInBlocks.py:142
DCSPTMTemp::~DCSPTMTemp
~DCSPTMTemp() override
Definition: DCSPTMTemp.cc:21
oracle::occi
Definition: ConnectionManager.h:7
DCSPTMTemp::getStart
Tm getStart() const
Definition: DCSPTMTemp.cc:30
mps_fire.end
end
Definition: mps_fire.py:242
EcalLogicID
Definition: EcalLogicID.h:7
Tm
Definition: Tm.h:13
IIOV.h
DCSPTMTemp.h
Tm.h
DCSPTMTemp::setTemperature
void setTemperature(float temp)
Definition: DCSPTMTemp.cc:43
DCSPTMTemp::DCSPTMTemp
DCSPTMTemp()
Definition: DCSPTMTemp.cc:13
EcalLogicID.h
std
Definition: JetResolutionObject.h:76
DCSPTMTemp::setEnd
void setEnd(const Tm &end)
Definition: DCSPTMTemp.cc:32
Oracle.h
DateHandler.h
command_line.start
start
Definition: command_line.py:167
DCSPTMTemp::setEcalLogicID
void setEcalLogicID(const EcalLogicID &ecid)
Definition: DCSPTMTemp.cc:47