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 Member Functions | Private Attributes | Friends
MonPNLed1Dat Class Reference

#include <MonPNLed1Dat.h>

Inheritance diagram for MonPNLed1Dat:
IDataItem IDBObject

Public Member Functions

float getADCMeanG1 () const
 
float getADCMeanG16 () const
 
float getADCRMSG1 () const
 
float getADCRMSG16 () const
 
float getPedMeanG1 () const
 
float getPedMeanG16 () const
 
float getPedRMSG1 () const
 
float getPedRMSG16 () const
 
std::string getTable ()
 
bool getTaskStatus () const
 
 MonPNLed1Dat ()
 
void setADCMeanG1 (float mean)
 
void setADCMeanG16 (float mean)
 
void setADCRMSG1 (float mean)
 
void setADCRMSG16 (float mean)
 
void setPedMeanG1 (float mean)
 
void setPedMeanG16 (float mean)
 
void setPedRMSG1 (float mean)
 
void setPedRMSG16 (float mean)
 
void setTaskStatus (bool status)
 
 ~MonPNLed1Dat ()
 
- Public Member Functions inherited from IDataItem
 IDataItem ()
 
- 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 Member Functions

void fetchData (std::map< EcalLogicID, MonPNLed1Dat > *fillVec, MonRunIOV *iov) throw (std::runtime_error)
 
void prepareWrite () throw (std::runtime_error)
 
void writeArrayDB (const std::map< EcalLogicID, MonPNLed1Dat > *data, MonRunIOV *iov) throw (std::runtime_error)
 
void writeDB (const EcalLogicID *ecid, const MonPNLed1Dat *item, MonRunIOV *iov) throw (std::runtime_error)
 

Private Attributes

float m_adcMeanG1
 
float m_adcMeanG16
 
float m_adcRMSG1
 
float m_adcRMSG16
 
float m_pedMeanG1
 
float m_pedMeanG16
 
float m_pedRMSG1
 
float m_pedRMSG16
 
bool m_taskStatus
 

Friends

class EcalCondDBInterface
 

Additional Inherited Members

- Static Public Attributes inherited from IDBObject
static int const ECALDB_NROWS =1024
 
- Protected Member Functions inherited from IDataItem
void checkPrepare () throw (std::runtime_error)
 
void createReadStatement () throw (std::runtime_error)
 
void setPrefetchRowCount (int ncount) throw (std::runtime_error)
 
void terminateReadStatement () throw (std::runtime_error)
 
void terminateWriteStatement () throw (std::runtime_error)
 
- Protected Member Functions inherited from IDBObject
void checkConnection () const throw (std::runtime_error)
 
- Protected Attributes inherited from IDataItem
oracle::occi::Statement * m_readStmt
 
oracle::occi::Statement * m_writeStmt
 
- Protected Attributes inherited from IDBObject
oracle::occi::Connection * m_conn
 
oracle::occi::Environment * m_env
 

Detailed Description

Definition at line 12 of file MonPNLed1Dat.h.

Constructor & Destructor Documentation

MonPNLed1Dat::MonPNLed1Dat ( )

Definition at line 12 of file MonPNLed1Dat.cc.

MonPNLed1Dat::~MonPNLed1Dat ( )

Definition at line 32 of file MonPNLed1Dat.cc.

Member Function Documentation

void MonPNLed1Dat::fetchData ( std::map< EcalLogicID, MonPNLed1Dat > *  fillVec,
MonRunIOV iov 
)
throw (std::runtime_error
)
private

Definition at line 90 of file MonPNLed1Dat.cc.

float MonPNLed1Dat::getADCMeanG1 ( ) const
inline

Definition at line 22 of file MonPNLed1Dat.h.

References m_adcMeanG1.

22 { return m_adcMeanG1; }
float m_adcMeanG1
Definition: MonPNLed1Dat.h:62
float MonPNLed1Dat::getADCMeanG16 ( ) const
inline

Definition at line 28 of file MonPNLed1Dat.h.

References m_adcMeanG16.

28 { return m_adcMeanG16; }
float m_adcMeanG16
Definition: MonPNLed1Dat.h:64
float MonPNLed1Dat::getADCRMSG1 ( ) const
inline

Definition at line 25 of file MonPNLed1Dat.h.

References m_adcRMSG1.

25 { return m_adcRMSG1; }
float m_adcRMSG1
Definition: MonPNLed1Dat.h:63
float MonPNLed1Dat::getADCRMSG16 ( ) const
inline

Definition at line 31 of file MonPNLed1Dat.h.

References m_adcRMSG16.

31 { return m_adcRMSG16; }
float m_adcRMSG16
Definition: MonPNLed1Dat.h:65
float MonPNLed1Dat::getPedMeanG1 ( ) const
inline

Definition at line 34 of file MonPNLed1Dat.h.

References m_pedMeanG1.

34 { return m_pedMeanG1; }
float m_pedMeanG1
Definition: MonPNLed1Dat.h:66
float MonPNLed1Dat::getPedMeanG16 ( ) const
inline

Definition at line 40 of file MonPNLed1Dat.h.

References m_pedMeanG16.

40 { return m_pedMeanG16; }
float m_pedMeanG16
Definition: MonPNLed1Dat.h:68
float MonPNLed1Dat::getPedRMSG1 ( ) const
inline

Definition at line 37 of file MonPNLed1Dat.h.

References m_pedRMSG1.

37 { return m_pedRMSG1; }
float m_pedRMSG1
Definition: MonPNLed1Dat.h:67
float MonPNLed1Dat::getPedRMSG16 ( ) const
inline

Definition at line 43 of file MonPNLed1Dat.h.

References m_pedRMSG16.

43 { return m_pedRMSG16; }
float m_pedRMSG16
Definition: MonPNLed1Dat.h:69
std::string MonPNLed1Dat::getTable ( )
inlinevirtual

Implements IDataItem.

Definition at line 19 of file MonPNLed1Dat.h.

19 { return "MON_PN_LED1_DAT"; }
bool MonPNLed1Dat::getTaskStatus ( ) const
inline

Definition at line 46 of file MonPNLed1Dat.h.

References m_taskStatus.

46 { return m_taskStatus; }
bool m_taskStatus
Definition: MonPNLed1Dat.h:70
void MonPNLed1Dat::prepareWrite ( )
throw (std::runtime_error
)
privatevirtual

Implements IDataItem.

Definition at line 38 of file MonPNLed1Dat.cc.

void MonPNLed1Dat::setADCMeanG1 ( float  mean)
inline

Definition at line 21 of file MonPNLed1Dat.h.

References m_adcMeanG1, and timingPdfMaker::mean.

21 { m_adcMeanG1 = mean; }
float m_adcMeanG1
Definition: MonPNLed1Dat.h:62
void MonPNLed1Dat::setADCMeanG16 ( float  mean)
inline

Definition at line 27 of file MonPNLed1Dat.h.

References m_adcMeanG16, and timingPdfMaker::mean.

27 { m_adcMeanG16 = mean; }
float m_adcMeanG16
Definition: MonPNLed1Dat.h:64
void MonPNLed1Dat::setADCRMSG1 ( float  mean)
inline

Definition at line 24 of file MonPNLed1Dat.h.

References m_adcRMSG1, and timingPdfMaker::mean.

24 { m_adcRMSG1 = mean; }
float m_adcRMSG1
Definition: MonPNLed1Dat.h:63
void MonPNLed1Dat::setADCRMSG16 ( float  mean)
inline

Definition at line 30 of file MonPNLed1Dat.h.

References m_adcRMSG16, and timingPdfMaker::mean.

30 { m_adcRMSG16 = mean; }
float m_adcRMSG16
Definition: MonPNLed1Dat.h:65
void MonPNLed1Dat::setPedMeanG1 ( float  mean)
inline

Definition at line 33 of file MonPNLed1Dat.h.

References m_pedMeanG1, and timingPdfMaker::mean.

33 { m_pedMeanG1 = mean; }
float m_pedMeanG1
Definition: MonPNLed1Dat.h:66
void MonPNLed1Dat::setPedMeanG16 ( float  mean)
inline

Definition at line 39 of file MonPNLed1Dat.h.

References m_pedMeanG16, and timingPdfMaker::mean.

39 { m_pedMeanG16 = mean; }
float m_pedMeanG16
Definition: MonPNLed1Dat.h:68
void MonPNLed1Dat::setPedRMSG1 ( float  mean)
inline

Definition at line 36 of file MonPNLed1Dat.h.

References m_pedRMSG1, and timingPdfMaker::mean.

36 { m_pedRMSG1 = mean; }
float m_pedRMSG1
Definition: MonPNLed1Dat.h:67
void MonPNLed1Dat::setPedRMSG16 ( float  mean)
inline

Definition at line 42 of file MonPNLed1Dat.h.

References m_pedRMSG16, and timingPdfMaker::mean.

42 { m_pedRMSG16 = mean; }
float m_pedRMSG16
Definition: MonPNLed1Dat.h:69
void MonPNLed1Dat::setTaskStatus ( bool  status)
inline

Definition at line 45 of file MonPNLed1Dat.h.

References m_taskStatus, and mps_update::status.

45 { m_taskStatus = status; }
bool m_taskStatus
Definition: MonPNLed1Dat.h:70
tuple status
Definition: mps_update.py:57
void MonPNLed1Dat::writeArrayDB ( const std::map< EcalLogicID, MonPNLed1Dat > *  data,
MonRunIOV iov 
)
throw (std::runtime_error
)
private

Definition at line 140 of file MonPNLed1Dat.cc.

void MonPNLed1Dat::writeDB ( const EcalLogicID ecid,
const MonPNLed1Dat item,
MonRunIOV iov 
)
throw (std::runtime_error
)
private

Definition at line 56 of file MonPNLed1Dat.cc.

Friends And Related Function Documentation

friend class EcalCondDBInterface
friend

Definition at line 14 of file MonPNLed1Dat.h.

Member Data Documentation

float MonPNLed1Dat::m_adcMeanG1
private

Definition at line 62 of file MonPNLed1Dat.h.

Referenced by getADCMeanG1(), and setADCMeanG1().

float MonPNLed1Dat::m_adcMeanG16
private

Definition at line 64 of file MonPNLed1Dat.h.

Referenced by getADCMeanG16(), and setADCMeanG16().

float MonPNLed1Dat::m_adcRMSG1
private

Definition at line 63 of file MonPNLed1Dat.h.

Referenced by getADCRMSG1(), and setADCRMSG1().

float MonPNLed1Dat::m_adcRMSG16
private

Definition at line 65 of file MonPNLed1Dat.h.

Referenced by getADCRMSG16(), and setADCRMSG16().

float MonPNLed1Dat::m_pedMeanG1
private

Definition at line 66 of file MonPNLed1Dat.h.

Referenced by getPedMeanG1(), and setPedMeanG1().

float MonPNLed1Dat::m_pedMeanG16
private

Definition at line 68 of file MonPNLed1Dat.h.

Referenced by getPedMeanG16(), and setPedMeanG16().

float MonPNLed1Dat::m_pedRMSG1
private

Definition at line 67 of file MonPNLed1Dat.h.

Referenced by getPedRMSG1(), and setPedRMSG1().

float MonPNLed1Dat::m_pedRMSG16
private

Definition at line 69 of file MonPNLed1Dat.h.

Referenced by getPedRMSG16(), and setPedRMSG16().

bool MonPNLed1Dat::m_taskStatus
private

Definition at line 70 of file MonPNLed1Dat.h.

Referenced by getTaskStatus(), and setTaskStatus().