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

#include <MonTestPulseDat.h>

Inheritance diagram for MonTestPulseDat:
IDataItem IDBObject

Public Member Functions

float getADCMeanG1 () const
 
float getADCMeanG12 () const
 
float getADCMeanG6 () const
 
float getADCRMSG1 () const
 
float getADCRMSG12 () const
 
float getADCRMSG6 () const
 
std::string getTable ()
 
bool getTaskStatus () const
 
 MonTestPulseDat ()
 
void setADCMeanG1 (float mean)
 
void setADCMeanG12 (float mean)
 
void setADCMeanG6 (float mean)
 
void setADCRMSG1 (float rms)
 
void setADCRMSG12 (float rms)
 
void setADCRMSG6 (float rms)
 
void setTaskStatus (bool status)
 
 ~MonTestPulseDat ()
 
- 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, MonTestPulseDat > *fillMap, MonRunIOV *iov) throw (std::runtime_error)
 
void prepareWrite () throw (std::runtime_error)
 
void writeArrayDB (const std::map< EcalLogicID, MonTestPulseDat > *data, MonRunIOV *iov) throw (std::runtime_error)
 
void writeDB (const EcalLogicID *ecid, const MonTestPulseDat *item, MonRunIOV *iov) throw (std::runtime_error)
 

Private Attributes

float m_adcMeanG1
 
float m_adcMeanG12
 
float m_adcMeanG6
 
float m_adcRMSG1
 
float m_adcRMSG12
 
float m_adcRMSG6
 
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 MonTestPulseDat.h.

Constructor & Destructor Documentation

MonTestPulseDat::MonTestPulseDat ( )

Definition at line 12 of file MonTestPulseDat.cc.

MonTestPulseDat::~MonTestPulseDat ( )

Definition at line 30 of file MonTestPulseDat.cc.

Member Function Documentation

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

Definition at line 85 of file MonTestPulseDat.cc.

float MonTestPulseDat::getADCMeanG1 ( ) const
inline

Definition at line 22 of file MonTestPulseDat.h.

References m_adcMeanG1.

22 { return m_adcMeanG1; }
float MonTestPulseDat::getADCMeanG12 ( ) const
inline

Definition at line 34 of file MonTestPulseDat.h.

References m_adcMeanG12.

34 { return m_adcMeanG12; }
float MonTestPulseDat::getADCMeanG6 ( ) const
inline

Definition at line 28 of file MonTestPulseDat.h.

References m_adcMeanG6.

28 { return m_adcMeanG6; }
float MonTestPulseDat::getADCRMSG1 ( ) const
inline

Definition at line 25 of file MonTestPulseDat.h.

References m_adcRMSG1.

25 { return m_adcRMSG1; }
float MonTestPulseDat::getADCRMSG12 ( ) const
inline

Definition at line 37 of file MonTestPulseDat.h.

References m_adcRMSG12.

37 { return m_adcRMSG12; }
float MonTestPulseDat::getADCRMSG6 ( ) const
inline

Definition at line 31 of file MonTestPulseDat.h.

References m_adcRMSG6.

31 { return m_adcRMSG6; }
std::string MonTestPulseDat::getTable ( )
inlinevirtual

Implements IDataItem.

Definition at line 19 of file MonTestPulseDat.h.

19 { return "MON_TEST_PULSE_DAT"; }
bool MonTestPulseDat::getTaskStatus ( ) const
inline

Definition at line 40 of file MonTestPulseDat.h.

References m_taskStatus.

40 { return m_taskStatus; }
void MonTestPulseDat::prepareWrite ( )
throw (std::runtime_error
)
privatevirtual

Implements IDataItem.

Definition at line 36 of file MonTestPulseDat.cc.

void MonTestPulseDat::setADCMeanG1 ( float  mean)
inline

Definition at line 21 of file MonTestPulseDat.h.

References m_adcMeanG1, and timingPdfMaker::mean.

void MonTestPulseDat::setADCMeanG12 ( float  mean)
inline

Definition at line 33 of file MonTestPulseDat.h.

References m_adcMeanG12, and timingPdfMaker::mean.

void MonTestPulseDat::setADCMeanG6 ( float  mean)
inline

Definition at line 27 of file MonTestPulseDat.h.

References m_adcMeanG6, and timingPdfMaker::mean.

void MonTestPulseDat::setADCRMSG1 ( float  rms)
inline

Definition at line 24 of file MonTestPulseDat.h.

References m_adcRMSG1, and plotscripts::rms().

24 { m_adcRMSG1 = rms; }
void MonTestPulseDat::setADCRMSG12 ( float  rms)
inline

Definition at line 36 of file MonTestPulseDat.h.

References m_adcRMSG12, and plotscripts::rms().

36 { m_adcRMSG12 = rms; }
void MonTestPulseDat::setADCRMSG6 ( float  rms)
inline

Definition at line 30 of file MonTestPulseDat.h.

References m_adcRMSG6, and plotscripts::rms().

30 { m_adcRMSG6 = rms; }
void MonTestPulseDat::setTaskStatus ( bool  status)
inline

Definition at line 39 of file MonTestPulseDat.h.

References m_taskStatus, and mps_update::status.

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

Definition at line 134 of file MonTestPulseDat.cc.

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

Definition at line 54 of file MonTestPulseDat.cc.

Friends And Related Function Documentation

friend class EcalCondDBInterface
friend

Definition at line 14 of file MonTestPulseDat.h.

Member Data Documentation

float MonTestPulseDat::m_adcMeanG1
private

Definition at line 57 of file MonTestPulseDat.h.

Referenced by getADCMeanG1(), and setADCMeanG1().

float MonTestPulseDat::m_adcMeanG12
private

Definition at line 61 of file MonTestPulseDat.h.

Referenced by getADCMeanG12(), and setADCMeanG12().

float MonTestPulseDat::m_adcMeanG6
private

Definition at line 59 of file MonTestPulseDat.h.

Referenced by getADCMeanG6(), and setADCMeanG6().

float MonTestPulseDat::m_adcRMSG1
private

Definition at line 58 of file MonTestPulseDat.h.

Referenced by getADCRMSG1(), and setADCRMSG1().

float MonTestPulseDat::m_adcRMSG12
private

Definition at line 62 of file MonTestPulseDat.h.

Referenced by getADCRMSG12(), and setADCRMSG12().

float MonTestPulseDat::m_adcRMSG6
private

Definition at line 60 of file MonTestPulseDat.h.

Referenced by getADCRMSG6(), and setADCRMSG6().

bool MonTestPulseDat::m_taskStatus
private

Definition at line 63 of file MonTestPulseDat.h.

Referenced by getTaskStatus(), and setTaskStatus().