CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DCSPTMTemp.h
Go to the documentation of this file.
1 #ifndef DCSPTMTEMP_H
2 #define DCSPTMTEMP_H
3 
4 #include <stdexcept>
5 #include <iostream>
6 
11 
12 
13 typedef int run_t;
14 
15 class DCSPTMTemp : public IDBObject {
16  public:
17  friend class EcalCondDBInterface;
18 
19  DCSPTMTemp();
20  ~DCSPTMTemp();
21 
22  // Methods for user data
23  inline std::string getTable() { return ""; }
24 
25  float getTemperature() ;
26  void setTemperature(float temp);
27 
28  void setStart(Tm start);
29  Tm getStart() const;
30  void setEnd(Tm end);
31  Tm getEnd() const;
33  void setEcalLogicID(EcalLogicID ecid);
34 
35 
36  private:
37  // User data
38  int m_ID;
40  float m_temp;
43 
44 
45 };
46 
47 #endif
void setTemperature(float temp)
Definition: DCSPTMTemp.cc:70
int run_t
Definition: CaliIOV.h:11
float m_temp
Definition: DCSPTMTemp.h:40
Tm getStart() const
Definition: DCSPTMTemp.cc:43
std::string getTable()
Definition: DCSPTMTemp.h:23
float getTemperature()
Definition: DCSPTMTemp.cc:65
void setStart(Tm start)
Definition: DCSPTMTemp.cc:33
Tm m_runStart
Definition: DCSPTMTemp.h:41
void setEcalLogicID(EcalLogicID ecid)
Definition: DCSPTMTemp.cc:80
#define end
Definition: vmac.h:38
EcalLogicID m_ecid
Definition: DCSPTMTemp.h:39
Tm getEnd() const
Definition: DCSPTMTemp.cc:60
Definition: Tm.h:14
void setEnd(Tm end)
Definition: DCSPTMTemp.cc:50
EcalLogicID getEcalLogicID() const
Definition: DCSPTMTemp.cc:75