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 {
15  m_conn = NULL;
16 
17 
18  m_runStart = Tm();
19  m_runEnd = Tm();
20  m_temp=0.;
21 
22 }
23 
24 
25 
27 {
28 }
29 
30 
31 
32 
34 {
35  if (start != m_runStart) {
36  m_ID = 0;
37  m_runStart = start;
38  }
39 }
40 
41 
42 
44 {
45  return m_runStart;
46 }
47 
48 
49 
51 {
52  if (end != m_runEnd) {
53  m_ID = 0;
54  m_runEnd = end;
55  }
56 }
57 
58 
59 
61 {
62  return m_runEnd;
63 }
64 
66 {
67  return m_temp;
68 }
69 
71 {
72  m_temp=temp;
73 }
74 
76 {
77  return m_ecid;
78 }
79 
81 {
82  m_ecid=ecid;
83 }
84 
void setEnd(const Tm &end)
Definition: DCSPTMTemp.cc:50
Definition: start.py:1
void setEcalLogicID(const EcalLogicID &ecid)
Definition: DCSPTMTemp.cc:80
void setTemperature(float temp)
Definition: DCSPTMTemp.cc:70
Tm getStart() const
Definition: DCSPTMTemp.cc:43
#define NULL
Definition: scimark2.h:8
float getTemperature()
Definition: DCSPTMTemp.cc:65
#define end
Definition: vmac.h:37
Tm getEnd() const
Definition: DCSPTMTemp.cc:60
Definition: Tm.h:13
EcalLogicID getEcalLogicID() const
Definition: DCSPTMTemp.cc:75
void setStart(const Tm &start)
Definition: DCSPTMTemp.cc:33