CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes | Friends
DCSPTMTemp Class Reference

#include <DCSPTMTemp.h>

Inheritance diagram for DCSPTMTemp:
IDBObject

Public Member Functions

 DCSPTMTemp ()
 
EcalLogicID getEcalLogicID () const
 
Tm getEnd () const
 
Tm getStart () const
 
std::string getTable ()
 
float getTemperature ()
 
void setEcalLogicID (const EcalLogicID &ecid)
 
void setEnd (const Tm &end)
 
void setStart (const Tm &start)
 
void setTemperature (float temp)
 
 ~DCSPTMTemp ()
 
- Public Member Functions inherited from IDBObject
oracle::occi::Connection * getConn () const
 
oracle::occi::Environment * getEnv () const
 
void setConnection (oracle::occi::Environment *env, oracle::occi::Connection *conn)
 
virtual ~IDBObject ()
 

Private Attributes

EcalLogicID m_ecid
 
int m_ID
 
Tm m_runEnd
 
Tm m_runStart
 
float m_temp
 

Friends

class EcalCondDBInterface
 

Additional Inherited Members

- Static Public Attributes inherited from IDBObject
static int const ECALDB_NROWS =1024
 
- Protected Member Functions inherited from IDBObject
void checkConnection () const throw (std::runtime_error)
 
- Protected Attributes inherited from IDBObject
oracle::occi::Connection * m_conn
 
oracle::occi::Environment * m_env
 

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.

14 {
15  m_conn = NULL;
16 
17 
18  m_runStart = Tm();
19  m_runEnd = Tm();
20  m_temp=0.;
21 
22 }
oracle::occi::Connection * m_conn
Definition: IDBObject.h:39
float m_temp
Definition: DCSPTMTemp.h:40
#define NULL
Definition: scimark2.h:8
Tm m_runStart
Definition: DCSPTMTemp.h:41
Definition: Tm.h:13
DCSPTMTemp::~DCSPTMTemp ( )

Definition at line 26 of file DCSPTMTemp.cc.

27 {
28 }

Member Function Documentation

EcalLogicID DCSPTMTemp::getEcalLogicID ( ) const

Definition at line 75 of file DCSPTMTemp.cc.

76 {
77  return m_ecid;
78 }
EcalLogicID m_ecid
Definition: DCSPTMTemp.h:39
Tm DCSPTMTemp::getEnd ( ) const

Definition at line 60 of file DCSPTMTemp.cc.

61 {
62  return m_runEnd;
63 }
Tm DCSPTMTemp::getStart ( ) const

Definition at line 43 of file DCSPTMTemp.cc.

44 {
45  return m_runStart;
46 }
Tm m_runStart
Definition: DCSPTMTemp.h:41
std::string DCSPTMTemp::getTable ( )
inline

Definition at line 23 of file DCSPTMTemp.h.

23 { return ""; }
float DCSPTMTemp::getTemperature ( )

Definition at line 65 of file DCSPTMTemp.cc.

66 {
67  return m_temp;
68 }
float m_temp
Definition: DCSPTMTemp.h:40
void DCSPTMTemp::setEcalLogicID ( const EcalLogicID ecid)

Definition at line 80 of file DCSPTMTemp.cc.

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

81 {
82  m_ecid=ecid;
83 }
EcalLogicID m_ecid
Definition: DCSPTMTemp.h:39
void DCSPTMTemp::setEnd ( const Tm end)

Definition at line 50 of file DCSPTMTemp.cc.

References end.

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

51 {
52  if (end != m_runEnd) {
53  m_ID = 0;
54  m_runEnd = end;
55  }
56 }
#define end
Definition: vmac.h:37
void DCSPTMTemp::setStart ( const Tm start)

Definition at line 33 of file DCSPTMTemp.cc.

References dqm_diff::start.

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

34 {
35  if (start != m_runStart) {
36  m_ID = 0;
37  m_runStart = start;
38  }
39 }
tuple start
Check for commandline option errors.
Definition: dqm_diff.py:58
Tm m_runStart
Definition: DCSPTMTemp.h:41
void DCSPTMTemp::setTemperature ( float  temp)

Friends And Related Function Documentation

friend class EcalCondDBInterface
friend

Definition at line 17 of file DCSPTMTemp.h.

Member Data Documentation

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.