#include <OnlineDB/EcalCondDB/interface/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 IDBObject::m_conn, m_runEnd, m_runStart, m_temp, and NULL.
00014 { 00015 m_conn = NULL; 00016 00017 00018 m_runStart = Tm(); 00019 m_runEnd = Tm(); 00020 m_temp=0.; 00021 00022 }
DCSPTMTemp::~DCSPTMTemp | ( | ) |
EcalLogicID DCSPTMTemp::getEcalLogicID | ( | ) | const |
Definition at line 75 of file DCSPTMTemp.cc.
References m_ecid.
00076 { 00077 return m_ecid; 00078 }
Tm DCSPTMTemp::getEnd | ( | ) | const |
Definition at line 60 of file DCSPTMTemp.cc.
References m_runEnd.
00061 { 00062 return m_runEnd; 00063 }
Tm DCSPTMTemp::getStart | ( | ) | const |
Definition at line 43 of file DCSPTMTemp.cc.
References m_runStart.
00044 { 00045 return m_runStart; 00046 }
std::string DCSPTMTemp::getTable | ( | ) | [inline] |
float DCSPTMTemp::getTemperature | ( | ) |
Definition at line 65 of file DCSPTMTemp.cc.
References m_temp.
00066 { 00067 return m_temp; 00068 }
void DCSPTMTemp::setEcalLogicID | ( | EcalLogicID | ecid | ) |
Definition at line 80 of file DCSPTMTemp.cc.
References m_ecid.
Referenced by DCSPTMTempList::fetchValuesForECID(), and DCSPTMTempList::fetchValuesForECIDAndTime().
00081 { 00082 m_ecid=ecid; 00083 }
Definition at line 50 of file DCSPTMTemp.cc.
References m_ID, and m_runEnd.
Referenced by DCSPTMTempList::fetchValuesForECID(), and DCSPTMTempList::fetchValuesForECIDAndTime().
Definition at line 33 of file DCSPTMTemp.cc.
References m_ID, and m_runStart.
Referenced by DCSPTMTempList::fetchValuesForECID(), and DCSPTMTempList::fetchValuesForECIDAndTime().
00034 { 00035 if (start != m_runStart) { 00036 m_ID = 0; 00037 m_runStart = start; 00038 } 00039 }
void DCSPTMTemp::setTemperature | ( | float | temp | ) |
Definition at line 70 of file DCSPTMTemp.cc.
References m_temp.
Referenced by DCSPTMTempList::fetchValuesForECID(), and DCSPTMTempList::fetchValuesForECIDAndTime().
friend class EcalCondDBInterface [friend] |
EcalLogicID DCSPTMTemp::m_ecid [private] |
int DCSPTMTemp::m_ID [private] |
Tm DCSPTMTemp::m_runEnd [private] |
Tm DCSPTMTemp::m_runStart [private] |
float DCSPTMTemp::m_temp [private] |
Definition at line 40 of file DCSPTMTemp.h.
Referenced by DCSPTMTemp(), getTemperature(), and setTemperature().