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
MonPNGreenDat Class Reference

#include <MonPNGreenDat.h>

Inheritance diagram for MonPNGreenDat:
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
 
 MonPNGreenDat ()
 
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)
 
 ~MonPNGreenDat ()
 
- 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, MonPNGreenDat > *fillVec, MonRunIOV *iov) throw (std::runtime_error)
 
void prepareWrite () throw (std::runtime_error)
 
void writeArrayDB (const std::map< EcalLogicID, MonPNGreenDat > *data, MonRunIOV *iov) throw (std::runtime_error)
 
void writeDB (const EcalLogicID *ecid, const MonPNGreenDat *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 MonPNGreenDat.h.

Constructor & Destructor Documentation

MonPNGreenDat::MonPNGreenDat ( )

Definition at line 12 of file MonPNGreenDat.cc.

MonPNGreenDat::~MonPNGreenDat ( )

Definition at line 32 of file MonPNGreenDat.cc.

Member Function Documentation

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

Definition at line 90 of file MonPNGreenDat.cc.

float MonPNGreenDat::getADCMeanG1 ( ) const
inline

Definition at line 22 of file MonPNGreenDat.h.

References m_adcMeanG1.

22 { return m_adcMeanG1; }
float MonPNGreenDat::getADCMeanG16 ( ) const
inline

Definition at line 28 of file MonPNGreenDat.h.

References m_adcMeanG16.

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

Definition at line 25 of file MonPNGreenDat.h.

References m_adcRMSG1.

25 { return m_adcRMSG1; }
float MonPNGreenDat::getADCRMSG16 ( ) const
inline

Definition at line 31 of file MonPNGreenDat.h.

References m_adcRMSG16.

31 { return m_adcRMSG16; }
float MonPNGreenDat::getPedMeanG1 ( ) const
inline

Definition at line 34 of file MonPNGreenDat.h.

References m_pedMeanG1.

34 { return m_pedMeanG1; }
float MonPNGreenDat::getPedMeanG16 ( ) const
inline

Definition at line 40 of file MonPNGreenDat.h.

References m_pedMeanG16.

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

Definition at line 37 of file MonPNGreenDat.h.

References m_pedRMSG1.

37 { return m_pedRMSG1; }
float MonPNGreenDat::getPedRMSG16 ( ) const
inline

Definition at line 43 of file MonPNGreenDat.h.

References m_pedRMSG16.

43 { return m_pedRMSG16; }
std::string MonPNGreenDat::getTable ( )
inlinevirtual

Implements IDataItem.

Definition at line 19 of file MonPNGreenDat.h.

19 { return "MON_PN_GREEN_DAT"; }
bool MonPNGreenDat::getTaskStatus ( ) const
inline

Definition at line 46 of file MonPNGreenDat.h.

References m_taskStatus.

46 { return m_taskStatus; }
void MonPNGreenDat::prepareWrite ( )
throw (std::runtime_error
)
privatevirtual

Implements IDataItem.

Definition at line 38 of file MonPNGreenDat.cc.

void MonPNGreenDat::setADCMeanG1 ( float  mean)
inline

Definition at line 21 of file MonPNGreenDat.h.

References m_adcMeanG1, and timingPdfMaker::mean.

void MonPNGreenDat::setADCMeanG16 ( float  mean)
inline

Definition at line 27 of file MonPNGreenDat.h.

References m_adcMeanG16, and timingPdfMaker::mean.

void MonPNGreenDat::setADCRMSG1 ( float  mean)
inline

Definition at line 24 of file MonPNGreenDat.h.

References m_adcRMSG1, and timingPdfMaker::mean.

void MonPNGreenDat::setADCRMSG16 ( float  mean)
inline

Definition at line 30 of file MonPNGreenDat.h.

References m_adcRMSG16, and timingPdfMaker::mean.

void MonPNGreenDat::setPedMeanG1 ( float  mean)
inline

Definition at line 33 of file MonPNGreenDat.h.

References m_pedMeanG1, and timingPdfMaker::mean.

void MonPNGreenDat::setPedMeanG16 ( float  mean)
inline

Definition at line 39 of file MonPNGreenDat.h.

References m_pedMeanG16, and timingPdfMaker::mean.

void MonPNGreenDat::setPedRMSG1 ( float  mean)
inline

Definition at line 36 of file MonPNGreenDat.h.

References m_pedRMSG1, and timingPdfMaker::mean.

void MonPNGreenDat::setPedRMSG16 ( float  mean)
inline

Definition at line 42 of file MonPNGreenDat.h.

References m_pedRMSG16, and timingPdfMaker::mean.

void MonPNGreenDat::setTaskStatus ( bool  status)
inline

Definition at line 45 of file MonPNGreenDat.h.

References m_taskStatus, and mps_update::status.

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

Definition at line 139 of file MonPNGreenDat.cc.

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

Definition at line 56 of file MonPNGreenDat.cc.

Friends And Related Function Documentation

friend class EcalCondDBInterface
friend

Definition at line 14 of file MonPNGreenDat.h.

Member Data Documentation

float MonPNGreenDat::m_adcMeanG1
private

Definition at line 63 of file MonPNGreenDat.h.

Referenced by getADCMeanG1(), and setADCMeanG1().

float MonPNGreenDat::m_adcMeanG16
private

Definition at line 65 of file MonPNGreenDat.h.

Referenced by getADCMeanG16(), and setADCMeanG16().

float MonPNGreenDat::m_adcRMSG1
private

Definition at line 64 of file MonPNGreenDat.h.

Referenced by getADCRMSG1(), and setADCRMSG1().

float MonPNGreenDat::m_adcRMSG16
private

Definition at line 66 of file MonPNGreenDat.h.

Referenced by getADCRMSG16(), and setADCRMSG16().

float MonPNGreenDat::m_pedMeanG1
private

Definition at line 67 of file MonPNGreenDat.h.

Referenced by getPedMeanG1(), and setPedMeanG1().

float MonPNGreenDat::m_pedMeanG16
private

Definition at line 69 of file MonPNGreenDat.h.

Referenced by getPedMeanG16(), and setPedMeanG16().

float MonPNGreenDat::m_pedRMSG1
private

Definition at line 68 of file MonPNGreenDat.h.

Referenced by getPedRMSG1(), and setPedRMSG1().

float MonPNGreenDat::m_pedRMSG16
private

Definition at line 70 of file MonPNGreenDat.h.

Referenced by getPedRMSG16(), and setPedRMSG16().

bool MonPNGreenDat::m_taskStatus
private

Definition at line 71 of file MonPNGreenDat.h.

Referenced by getTaskStatus(), and setTaskStatus().