CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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; }
void setEnd(const Tm &end)
Definition: DCSPTMTemp.cc:32
void setEcalLogicID(const EcalLogicID &ecid)
Definition: DCSPTMTemp.cc:47
void setTemperature(float temp)
Definition: DCSPTMTemp.cc:43
Tm getStart() const
Definition: DCSPTMTemp.cc:30
float getTemperature()
Definition: DCSPTMTemp.cc:41
~DCSPTMTemp() override
Definition: DCSPTMTemp.cc:21
Tm getEnd() const
Definition: DCSPTMTemp.cc:39
string end
Definition: dataset.py:937
Definition: Tm.h:13
EcalLogicID getEcalLogicID() const
Definition: DCSPTMTemp.cc:45
void setStart(const Tm &start)
Definition: DCSPTMTemp.cc:23