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

#include <MonLaserPulseDat.h>

Inheritance diagram for MonLaserPulseDat:
IDataItem IDBObject

Public Member Functions

float getPulseHeightMean () const
 
float getPulseHeightRMS () const
 
float getPulseWidthMean () const
 
float getPulseWidthRMS () const
 
std::string getTable ()
 
 MonLaserPulseDat ()
 
void setPulseHeightMean (float p)
 
void setPulseHeightRMS (float p)
 
void setPulseWidthMean (float p)
 
void setPulseWidthRMS (float p)
 
 ~MonLaserPulseDat ()
 
- 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, MonLaserPulseDat > *fillMap, MonRunIOV *iov) throw (std::runtime_error)
 
void prepareWrite () throw (std::runtime_error)
 
void writeArrayDB (const std::map< EcalLogicID, MonLaserPulseDat > *data, MonRunIOV *iov) throw (std::runtime_error)
 
void writeDB (const EcalLogicID *ecid, const MonLaserPulseDat *item, MonRunIOV *iov) throw (std::runtime_error)
 

Private Attributes

float m_pulseHeightMean
 
float m_pulseHeightRMS
 
float m_pulseWidthMean
 
float m_pulseWidthRMS
 

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 11 of file MonLaserPulseDat.h.

Constructor & Destructor Documentation

MonLaserPulseDat::MonLaserPulseDat ( )

Definition at line 10 of file MonLaserPulseDat.cc.

MonLaserPulseDat::~MonLaserPulseDat ( )

Definition at line 25 of file MonLaserPulseDat.cc.

Member Function Documentation

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

Definition at line 78 of file MonLaserPulseDat.cc.

float MonLaserPulseDat::getPulseHeightMean ( ) const
inline

Definition at line 21 of file MonLaserPulseDat.h.

References m_pulseHeightMean.

21 { return m_pulseHeightMean; }
float MonLaserPulseDat::getPulseHeightRMS ( ) const
inline

Definition at line 24 of file MonLaserPulseDat.h.

References m_pulseHeightRMS.

24 { return m_pulseHeightRMS; }
float MonLaserPulseDat::getPulseWidthMean ( ) const
inline

Definition at line 27 of file MonLaserPulseDat.h.

References m_pulseWidthMean.

27 { return m_pulseWidthMean; }
float MonLaserPulseDat::getPulseWidthRMS ( ) const
inline

Definition at line 30 of file MonLaserPulseDat.h.

References m_pulseWidthRMS.

30 { return m_pulseWidthRMS; }
std::string MonLaserPulseDat::getTable ( )
inlinevirtual

Implements IDataItem.

Definition at line 18 of file MonLaserPulseDat.h.

18 { return "MON_LASER_PULSE_DAT"; }
void MonLaserPulseDat::prepareWrite ( )
throw (std::runtime_error
)
privatevirtual

Implements IDataItem.

Definition at line 31 of file MonLaserPulseDat.cc.

void MonLaserPulseDat::setPulseHeightMean ( float  p)
inline
void MonLaserPulseDat::setPulseHeightRMS ( float  p)
inline
void MonLaserPulseDat::setPulseWidthMean ( float  p)
inline
void MonLaserPulseDat::setPulseWidthRMS ( float  p)
inline
void MonLaserPulseDat::writeArrayDB ( const std::map< EcalLogicID, MonLaserPulseDat > *  data,
MonRunIOV iov 
)
throw (std::runtime_error
)
private

Definition at line 124 of file MonLaserPulseDat.cc.

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

Definition at line 49 of file MonLaserPulseDat.cc.

Friends And Related Function Documentation

friend class EcalCondDBInterface
friend

Definition at line 13 of file MonLaserPulseDat.h.

Member Data Documentation

float MonLaserPulseDat::m_pulseHeightMean
private

Definition at line 46 of file MonLaserPulseDat.h.

Referenced by getPulseHeightMean(), and setPulseHeightMean().

float MonLaserPulseDat::m_pulseHeightRMS
private

Definition at line 47 of file MonLaserPulseDat.h.

Referenced by getPulseHeightRMS(), and setPulseHeightRMS().

float MonLaserPulseDat::m_pulseWidthMean
private

Definition at line 48 of file MonLaserPulseDat.h.

Referenced by getPulseWidthMean(), and setPulseWidthMean().

float MonLaserPulseDat::m_pulseWidthRMS
private

Definition at line 49 of file MonLaserPulseDat.h.

Referenced by getPulseWidthRMS(), and setPulseWidthRMS().