CMS 3D CMS Logo

DCSPTMTemp Class Reference

#include <OnlineDB/EcalCondDB/interface/DCSPTMTemp.h>

Inheritance diagram for DCSPTMTemp:

IDBObject

List of all members.

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


Detailed Description

Definition at line 15 of file DCSPTMTemp.h.


Constructor & Destructor Documentation

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 (  ) 

Definition at line 26 of file DCSPTMTemp.cc.

00027 {
00028 }


Member Function Documentation

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]

Definition at line 23 of file DCSPTMTemp.h.

00023 { return ""; }

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 }

void DCSPTMTemp::setEnd ( Tm  end  ) 

Definition at line 50 of file DCSPTMTemp.cc.

References m_ID, and m_runEnd.

Referenced by DCSPTMTempList::fetchValuesForECID(), and DCSPTMTempList::fetchValuesForECIDAndTime().

00051 {
00052   if (end != m_runEnd) {
00053     m_ID = 0;
00054     m_runEnd = end;
00055   }
00056 }

void DCSPTMTemp::setStart ( Tm  start  ) 

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().

00071 {
00072   m_temp=temp;
00073 }


Friends And Related Function Documentation

friend class EcalCondDBInterface [friend]

Reimplemented from IDBObject.

Definition at line 17 of file DCSPTMTemp.h.


Member Data Documentation

EcalLogicID DCSPTMTemp::m_ecid [private]

Definition at line 39 of file DCSPTMTemp.h.

Referenced by getEcalLogicID(), and setEcalLogicID().

int DCSPTMTemp::m_ID [private]

Definition at line 38 of file DCSPTMTemp.h.

Referenced by setEnd(), and setStart().

Tm DCSPTMTemp::m_runEnd [private]

Definition at line 42 of file DCSPTMTemp.h.

Referenced by DCSPTMTemp(), getEnd(), and setEnd().

Tm DCSPTMTemp::m_runStart [private]

Definition at line 41 of file DCSPTMTemp.h.

Referenced by DCSPTMTemp(), getStart(), and setStart().

float DCSPTMTemp::m_temp [private]

Definition at line 40 of file DCSPTMTemp.h.

Referenced by DCSPTMTemp(), getTemperature(), and setTemperature().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:17:42 2009 for CMSSW by  doxygen 1.5.4