CMS 3D CMS Logo

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() override;
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(const Tm& start);
29  Tm getStart() const;
30  void setEnd(const Tm& end);
31  Tm getEnd() const;
33  void setEcalLogicID(const EcalLogicID& ecid);
34 
35 
36  private:
37  // User data
38  int m_ID;
40  float m_temp;
43 
44 
45 };
46 
47 #endif
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
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
Tm m_runStart
Definition: DCSPTMTemp.h:41
~DCSPTMTemp() override
Definition: DCSPTMTemp.cc:26
#define end
Definition: vmac.h:39
EcalLogicID m_ecid
Definition: DCSPTMTemp.h:39
Tm getEnd() const
Definition: DCSPTMTemp.cc:60
Definition: Tm.h:13
EcalLogicID getEcalLogicID() const
Definition: DCSPTMTemp.cc:75
int run_t
Definition: DCSPTMTemp.h:13
void setStart(const Tm &start)
Definition: DCSPTMTemp.cc:33