CMS 3D CMS Logo

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 () override
 
- 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 noexcept(false)
 
- Protected Attributes inherited from IDBObject
oracle::occi::Connection * m_conn
 
oracle::occi::Environment * m_env
 

Detailed Description

Definition at line 14 of file DCSPTMTemp.h.

Constructor & Destructor Documentation

◆ DCSPTMTemp()

DCSPTMTemp::DCSPTMTemp ( )

Definition at line 13 of file DCSPTMTemp.cc.

13  {
14  m_conn = nullptr;
15 
16  m_runStart = Tm();
17  m_runEnd = Tm();
18  m_temp = 0.;
19 }
oracle::occi::Connection * m_conn
Definition: IDBObject.h:34
float m_temp
Definition: DCSPTMTemp.h:38
Tm m_runStart
Definition: DCSPTMTemp.h:39
Definition: Tm.h:13

◆ ~DCSPTMTemp()

DCSPTMTemp::~DCSPTMTemp ( )
override

Definition at line 21 of file DCSPTMTemp.cc.

21 {}

Member Function Documentation

◆ getEcalLogicID()

EcalLogicID DCSPTMTemp::getEcalLogicID ( ) const

Definition at line 45 of file DCSPTMTemp.cc.

45 { return m_ecid; }
EcalLogicID m_ecid
Definition: DCSPTMTemp.h:37

◆ getEnd()

Tm DCSPTMTemp::getEnd ( ) const

Definition at line 39 of file DCSPTMTemp.cc.

39 { return m_runEnd; }

◆ getStart()

Tm DCSPTMTemp::getStart ( ) const

Definition at line 30 of file DCSPTMTemp.cc.

30 { return m_runStart; }
Tm m_runStart
Definition: DCSPTMTemp.h:39

◆ getTable()

std::string DCSPTMTemp::getTable ( )
inline

Definition at line 22 of file DCSPTMTemp.h.

22 { return ""; }

◆ getTemperature()

float DCSPTMTemp::getTemperature ( )

Definition at line 41 of file DCSPTMTemp.cc.

41 { return m_temp; }
float m_temp
Definition: DCSPTMTemp.h:38

◆ setEcalLogicID()

void DCSPTMTemp::setEcalLogicID ( const EcalLogicID ecid)

Definition at line 47 of file DCSPTMTemp.cc.

47 { m_ecid = ecid; }
EcalLogicID m_ecid
Definition: DCSPTMTemp.h:37

◆ setEnd()

void DCSPTMTemp::setEnd ( const Tm end)

Definition at line 32 of file DCSPTMTemp.cc.

References mps_fire::end.

32  {
33  if (end != m_runEnd) {
34  m_ID = 0;
35  m_runEnd = end;
36  }
37 }

◆ setStart()

void DCSPTMTemp::setStart ( const Tm start)

Definition at line 23 of file DCSPTMTemp.cc.

References command_line::start.

23  {
24  if (start != m_runStart) {
25  m_ID = 0;
26  m_runStart = start;
27  }
28 }
Definition: start.py:1
Tm m_runStart
Definition: DCSPTMTemp.h:39

◆ setTemperature()

void DCSPTMTemp::setTemperature ( float  temp)

Definition at line 43 of file DCSPTMTemp.cc.

References groupFilesInBlocks::temp.

Friends And Related Function Documentation

◆ EcalCondDBInterface

friend class EcalCondDBInterface
friend

Definition at line 16 of file DCSPTMTemp.h.

Member Data Documentation

◆ m_ecid

EcalLogicID DCSPTMTemp::m_ecid
private

Definition at line 37 of file DCSPTMTemp.h.

◆ m_ID

int DCSPTMTemp::m_ID
private

Definition at line 36 of file DCSPTMTemp.h.

◆ m_runEnd

Tm DCSPTMTemp::m_runEnd
private

Definition at line 40 of file DCSPTMTemp.h.

◆ m_runStart

Tm DCSPTMTemp::m_runStart
private

Definition at line 39 of file DCSPTMTemp.h.

◆ m_temp

float DCSPTMTemp::m_temp
private

Definition at line 38 of file DCSPTMTemp.h.