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 typedef int run_t;
13 
14 class DCSPTMTemp : public IDBObject {
15 public:
16  friend class EcalCondDBInterface;
17 
18  DCSPTMTemp();
19  ~DCSPTMTemp() override;
20 
21  // Methods for user data
22  inline std::string getTable() { return ""; }
23 
24  float getTemperature();
25  void setTemperature(float temp);
26 
27  void setStart(const Tm& start);
28  Tm getStart() const;
29  void setEnd(const Tm& end);
30  Tm getEnd() const;
32  void setEcalLogicID(const EcalLogicID& ecid);
33 
34 private:
35  // User data
36  int m_ID;
38  float m_temp;
41 };
42 
43 #endif
void setEnd(const Tm &end)
Definition: DCSPTMTemp.cc:32
Definition: start.py:1
void setEcalLogicID(const EcalLogicID &ecid)
Definition: DCSPTMTemp.cc:47
void setTemperature(float temp)
Definition: DCSPTMTemp.cc:43
float m_temp
Definition: DCSPTMTemp.h:38
Tm getStart() const
Definition: DCSPTMTemp.cc:30
std::string getTable()
Definition: DCSPTMTemp.h:22
float getTemperature()
Definition: DCSPTMTemp.cc:41
Tm m_runStart
Definition: DCSPTMTemp.h:39
~DCSPTMTemp() override
Definition: DCSPTMTemp.cc:21
#define end
Definition: vmac.h:39
EcalLogicID m_ecid
Definition: DCSPTMTemp.h:37
Tm getEnd() const
Definition: DCSPTMTemp.cc:39
Definition: Tm.h:13
EcalLogicID getEcalLogicID() const
Definition: DCSPTMTemp.cc:45
int run_t
Definition: DCSPTMTemp.h:12
void setStart(const Tm &start)
Definition: DCSPTMTemp.cc:23