#include <DCSPTMTemp.h>
Public Member Functions | |
DCSPTMTemp () | |
EcalLogicID | getEcalLogicID () const |
Tm | getEnd () const |
Tm | getStart () const |
std::string | getTable () |
float | getTemperature () |
void | setEcalLogicID (EcalLogicID ecid) |
void | setEnd (Tm end) |
void | setStart (Tm start) |
void | setTemperature (float temp) |
~DCSPTMTemp () | |
Private Attributes | |
EcalLogicID | m_ecid |
int | m_ID |
Tm | m_runEnd |
Tm | m_runStart |
float | m_temp |
Friends | |
class | EcalCondDBInterface |
Definition at line 15 of file DCSPTMTemp.h.
DCSPTMTemp::DCSPTMTemp | ( | ) |
Definition at line 13 of file DCSPTMTemp.cc.
References NULL.
DCSPTMTemp::~DCSPTMTemp | ( | ) |
Definition at line 26 of file DCSPTMTemp.cc.
{ }
EcalLogicID DCSPTMTemp::getEcalLogicID | ( | ) | const |
Definition at line 75 of file DCSPTMTemp.cc.
{ return m_ecid; }
Tm DCSPTMTemp::getEnd | ( | ) | const |
Definition at line 60 of file DCSPTMTemp.cc.
{ return m_runEnd; }
Tm DCSPTMTemp::getStart | ( | ) | const |
Definition at line 43 of file DCSPTMTemp.cc.
{ return m_runStart; }
std::string DCSPTMTemp::getTable | ( | ) | [inline] |
Definition at line 23 of file DCSPTMTemp.h.
{ return ""; }
float DCSPTMTemp::getTemperature | ( | ) |
Definition at line 65 of file DCSPTMTemp.cc.
{ return m_temp; }
void DCSPTMTemp::setEcalLogicID | ( | EcalLogicID | ecid | ) |
Definition at line 80 of file DCSPTMTemp.cc.
Referenced by DCSPTMTempList::fetchValuesForECID(), and DCSPTMTempList::fetchValuesForECIDAndTime().
{ m_ecid=ecid; }
void DCSPTMTemp::setEnd | ( | Tm | end | ) |
Definition at line 50 of file DCSPTMTemp.cc.
References end.
Referenced by DCSPTMTempList::fetchValuesForECID(), and DCSPTMTempList::fetchValuesForECIDAndTime().
void DCSPTMTemp::setStart | ( | Tm | start | ) |
Definition at line 33 of file DCSPTMTemp.cc.
Referenced by DCSPTMTempList::fetchValuesForECID(), and DCSPTMTempList::fetchValuesForECIDAndTime().
{ if (start != m_runStart) { m_ID = 0; m_runStart = start; } }
void DCSPTMTemp::setTemperature | ( | float | temp | ) |
Definition at line 70 of file DCSPTMTemp.cc.
References cond::rpcobtemp::temp.
Referenced by DCSPTMTempList::fetchValuesForECID(), and DCSPTMTempList::fetchValuesForECIDAndTime().
friend class EcalCondDBInterface [friend] |
Reimplemented from IDBObject.
Definition at line 17 of file DCSPTMTemp.h.
EcalLogicID DCSPTMTemp::m_ecid [private] |
Definition at line 39 of file DCSPTMTemp.h.
int DCSPTMTemp::m_ID [private] |
Definition at line 38 of file DCSPTMTemp.h.
Tm DCSPTMTemp::m_runEnd [private] |
Definition at line 42 of file DCSPTMTemp.h.
Tm DCSPTMTemp::m_runStart [private] |
Definition at line 41 of file DCSPTMTemp.h.
float DCSPTMTemp::m_temp [private] |
Definition at line 40 of file DCSPTMTemp.h.