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

#include <MonLaserBlueDat.h>

Inheritance diagram for MonLaserBlueDat:
IDataItem IDBObject

Public Member Functions

float getAPDMean () const
 
float getAPDOverPNMean () const
 
float getAPDOverPNRMS () const
 
float getAPDRMS () const
 
std::string getTable ()
 
bool getTaskStatus () const
 
 MonLaserBlueDat ()
 
void setAPDMean (float mean)
 
void setAPDOverPNMean (float mean)
 
void setAPDOverPNRMS (float rms)
 
void setAPDRMS (float rms)
 
void setTaskStatus (bool status)
 
 ~MonLaserBlueDat ()
 
- 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, MonLaserBlueDat > *fillMap, MonRunIOV *iov) throw (std::runtime_error)
 
void prepareWrite () throw (std::runtime_error)
 
void writeArrayDB (const std::map< EcalLogicID, MonLaserBlueDat > *data, MonRunIOV *iov) throw (std::runtime_error)
 
void writeDB (const EcalLogicID *ecid, const MonLaserBlueDat *item, MonRunIOV *iov) throw (std::runtime_error)
 

Private Attributes

float m_apdMean
 
float m_apdOverPNMean
 
float m_apdOverPNRMS
 
float m_apdRMS
 
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 MonLaserBlueDat.h.

Constructor & Destructor Documentation

MonLaserBlueDat::MonLaserBlueDat ( )

Definition at line 10 of file MonLaserBlueDat.cc.

MonLaserBlueDat::~MonLaserBlueDat ( )

Definition at line 27 of file MonLaserBlueDat.cc.

Member Function Documentation

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

Definition at line 81 of file MonLaserBlueDat.cc.

float MonLaserBlueDat::getAPDMean ( ) const
inline

Definition at line 22 of file MonLaserBlueDat.h.

References m_apdMean.

22 { return m_apdMean; }
float MonLaserBlueDat::getAPDOverPNMean ( ) const
inline

Definition at line 28 of file MonLaserBlueDat.h.

References m_apdOverPNMean.

28 { return m_apdOverPNMean; }
float MonLaserBlueDat::getAPDOverPNRMS ( ) const
inline

Definition at line 31 of file MonLaserBlueDat.h.

References m_apdOverPNRMS.

31 { return m_apdOverPNRMS; }
float MonLaserBlueDat::getAPDRMS ( ) const
inline

Definition at line 25 of file MonLaserBlueDat.h.

References m_apdRMS.

25 { return m_apdRMS; }
std::string MonLaserBlueDat::getTable ( )
inlinevirtual

Implements IDataItem.

Definition at line 19 of file MonLaserBlueDat.h.

19 { return "MON_LASER_BLUE_DAT"; }
bool MonLaserBlueDat::getTaskStatus ( ) const
inline

Definition at line 34 of file MonLaserBlueDat.h.

References m_taskStatus.

34 { return m_taskStatus; }
void MonLaserBlueDat::prepareWrite ( )
throw (std::runtime_error
)
privatevirtual

Implements IDataItem.

Definition at line 33 of file MonLaserBlueDat.cc.

void MonLaserBlueDat::setAPDMean ( float  mean)
inline

Definition at line 21 of file MonLaserBlueDat.h.

References m_apdMean, and timingPdfMaker::mean.

void MonLaserBlueDat::setAPDOverPNMean ( float  mean)
inline

Definition at line 27 of file MonLaserBlueDat.h.

References m_apdOverPNMean, and timingPdfMaker::mean.

void MonLaserBlueDat::setAPDOverPNRMS ( float  rms)
inline

Definition at line 30 of file MonLaserBlueDat.h.

References m_apdOverPNRMS, and plotscripts::rms().

30 { m_apdOverPNRMS = rms; }
void MonLaserBlueDat::setAPDRMS ( float  rms)
inline

Definition at line 24 of file MonLaserBlueDat.h.

References m_apdRMS, and plotscripts::rms().

24 { m_apdRMS = rms; }
void MonLaserBlueDat::setTaskStatus ( bool  status)
inline

Definition at line 33 of file MonLaserBlueDat.h.

References m_taskStatus, and mps_update::status.

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

Definition at line 130 of file MonLaserBlueDat.cc.

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

Definition at line 51 of file MonLaserBlueDat.cc.

Friends And Related Function Documentation

friend class EcalCondDBInterface
friend

Definition at line 14 of file MonLaserBlueDat.h.

Member Data Documentation

float MonLaserBlueDat::m_apdMean
private

Definition at line 51 of file MonLaserBlueDat.h.

Referenced by getAPDMean(), and setAPDMean().

float MonLaserBlueDat::m_apdOverPNMean
private

Definition at line 53 of file MonLaserBlueDat.h.

Referenced by getAPDOverPNMean(), and setAPDOverPNMean().

float MonLaserBlueDat::m_apdOverPNRMS
private

Definition at line 54 of file MonLaserBlueDat.h.

Referenced by getAPDOverPNRMS(), and setAPDOverPNRMS().

float MonLaserBlueDat::m_apdRMS
private

Definition at line 52 of file MonLaserBlueDat.h.

Referenced by getAPDRMS(), and setAPDRMS().

bool MonLaserBlueDat::m_taskStatus
private

Definition at line 55 of file MonLaserBlueDat.h.

Referenced by getTaskStatus(), and setTaskStatus().