CMS 3D CMS Logo

Public Member Functions | Private Attributes | Friends

DCSPTMTemp Class Reference

#include <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 NULL.

{
  m_conn = NULL;
 

  m_runStart = Tm();
  m_runEnd = Tm();
  m_temp=0.;
 
}
DCSPTMTemp::~DCSPTMTemp ( )

Definition at line 26 of file DCSPTMTemp.cc.

{
}

Member Function Documentation

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)
void DCSPTMTemp::setEnd ( Tm  end)

Definition at line 50 of file DCSPTMTemp.cc.

References end.

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

{
  if (end != m_runEnd) {
    m_ID = 0;
    m_runEnd = end;
  }
}
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)

Friends And Related Function Documentation

friend class EcalCondDBInterface [friend]

Reimplemented from IDBObject.

Definition at line 17 of file DCSPTMTemp.h.


Member Data Documentation

Definition at line 39 of file DCSPTMTemp.h.

int DCSPTMTemp::m_ID [private]

Definition at line 38 of file DCSPTMTemp.h.

Definition at line 42 of file DCSPTMTemp.h.

Definition at line 41 of file DCSPTMTemp.h.

float DCSPTMTemp::m_temp [private]

Definition at line 40 of file DCSPTMTemp.h.