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
DCSPTMTemp::setStart
void setStart(const Tm &start)
Definition: DCSPTMTemp.cc:23
DCSPTMTemp::getTemperature
float getTemperature()
Definition: DCSPTMTemp.cc:41
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
DCSPTMTemp::getTable
std::string getTable()
Definition: DCSPTMTemp.h:22
start
Definition: start.py:1
DCSPTMTemp::getEnd
Tm getEnd() const
Definition: DCSPTMTemp.cc:39
DCSPTMTemp::getEcalLogicID
EcalLogicID getEcalLogicID() const
Definition: DCSPTMTemp.cc:45
IDBObject
Definition: IDBObject.h:13
DCSPTMTemp::m_temp
float m_temp
Definition: DCSPTMTemp.h:38
groupFilesInBlocks.temp
list temp
Definition: groupFilesInBlocks.py:142
DCSPTMTemp::~DCSPTMTemp
~DCSPTMTemp() override
Definition: DCSPTMTemp.cc:21
DCSPTMTemp
Definition: DCSPTMTemp.h:14
DCSPTMTemp::getStart
Tm getStart() const
Definition: DCSPTMTemp.cc:30
mps_fire.end
end
Definition: mps_fire.py:242
EcalLogicID
Definition: EcalLogicID.h:7
Tm
Definition: Tm.h:13
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
IIOV.h
Tm.h
DCSPTMTemp::m_runStart
Tm m_runStart
Definition: DCSPTMTemp.h:39
DCSPTMTemp::setTemperature
void setTemperature(float temp)
Definition: DCSPTMTemp.cc:43
DCSPTMTemp::DCSPTMTemp
DCSPTMTemp()
Definition: DCSPTMTemp.cc:13
EcalLogicID.h
DCSPTMTemp::m_ecid
EcalLogicID m_ecid
Definition: DCSPTMTemp.h:37
run_t
int run_t
Definition: DCSPTMTemp.h:12
DCSPTMTemp::m_runEnd
Tm m_runEnd
Definition: DCSPTMTemp.h:40
DCSPTMTemp::setEnd
void setEnd(const Tm &end)
Definition: DCSPTMTemp.cc:32
DCSPTMTemp::m_ID
int m_ID
Definition: DCSPTMTemp.h:36
DateHandler.h
DCSPTMTemp::setEcalLogicID
void setEcalLogicID(const EcalLogicID &ecid)
Definition: DCSPTMTemp.cc:47