#include <ITimingDat.h>
Public Types | |
typedef oracle::occi::ResultSet | ResultSet |
typedef oracle::occi::SQLException | SQLException |
Public Member Functions | |
std::string | getTable () |
bool | getTaskStatus () const |
float | getTimingMean () const |
float | getTimingRMS () const |
ITimingDat () | |
void | setTable (std::string x) |
void | setTaskStatus (bool status) |
void | setTimingMean (float mean) |
void | setTimingRMS (float rms) |
~ITimingDat () | |
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 | |
template<class DATT , class IOVT > | |
void | fetchData (std::map< EcalLogicID, DATT > *fillMap, IOVT *iov) throw (std::runtime_error) |
void | prepareWrite () throw (std::runtime_error) |
template<class DATT , class IOVT > | |
void | writeArrayDB (const std::map< EcalLogicID, DATT > *data, IOVT *iov) throw (std::runtime_error) |
template<class DATT , class IOVT > | |
void | writeDB (const EcalLogicID *ecid, const DATT *item, IOVT *iov) throw (std::runtime_error) |
Private Attributes | |
std::string | m_table_name |
bool | m_taskStatus |
float | m_timingMean |
float | m_timingRMS |
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 |
Definition at line 17 of file ITimingDat.h.
typedef oracle::occi::ResultSet ITimingDat::ResultSet |
Definition at line 20 of file ITimingDat.h.
typedef oracle::occi::SQLException ITimingDat::SQLException |
Definition at line 19 of file ITimingDat.h.
|
inline |
Definition at line 24 of file ITimingDat.h.
References IDBObject::m_conn, IDBObject::m_env, IDataItem::m_readStmt, m_taskStatus, m_timingMean, m_timingRMS, IDataItem::m_writeStmt, and NULL.
|
inline |
Definition at line 38 of file ITimingDat.h.
|
inlineprivate |
Definition at line 197 of file ITimingDat.h.
References IDBObject::checkConnection(), dat, alignCSCRings::e, getTable(), o2o::iov, IDBObject::m_conn, IDBObject::m_env, IDataItem::m_readStmt, and AlCaHLTBitMon_ParallelJobs::p.
|
inlinevirtual |
Implements IDataItem.
Reimplemented in MonTimingLaserBlueCrystalDat, MonTimingCrystalDat, MonTimingLaserBlueTTDat, MonTimingLaserGreenCrystalDat, MonTimingLaserGreenTTDat, MonTimingLaserIRedCrystalDat, MonTimingLaserIRedTTDat, MonTimingLaserRedCrystalDat, MonTimingLaserRedTTDat, MonTimingLed1CrystalDat, MonTimingLed1TTDat, MonTimingLed2CrystalDat, MonTimingLed2TTDat, and MonTimingTTDat.
Definition at line 42 of file ITimingDat.h.
References m_table_name.
Referenced by fetchData(), and prepareWrite().
|
inline |
|
inline |
|
inline |
|
inlineprivatevirtual |
Implements IDataItem.
Definition at line 56 of file ITimingDat.h.
References IDBObject::checkConnection(), alignCSCRings::e, getTable(), IDBObject::m_conn, and IDataItem::m_writeStmt.
|
inline |
|
inline |
Definition at line 51 of file ITimingDat.h.
References m_taskStatus, and ntuplemaker::status.
Referenced by ecaldqm::LaserWriter::run(), and ecaldqm::LedWriter::run().
|
inline |
Definition at line 45 of file ITimingDat.h.
References m_timingMean, and timingPdfMaker::mean.
Referenced by ecaldqm::LaserWriter::run(), and ecaldqm::LedWriter::run().
|
inline |
Definition at line 48 of file ITimingDat.h.
References m_timingRMS, and plotscripts::rms().
Referenced by ecaldqm::LaserWriter::run(), and ecaldqm::LedWriter::run().
|
inlineprivate |
Definition at line 102 of file ITimingDat.h.
References IDBObject::checkConnection(), IDataItem::checkPrepare(), prof2calltree::count, data, alignCSCRings::e, EcalLogicID::getLogicID(), o2o::iov, IDataItem::m_writeStmt, AlCaHLTBitMon_ParallelJobs::p, x, and detailsBasic3DVector::y.
|
inlineprivate |
Definition at line 74 of file ITimingDat.h.
References IDBObject::checkConnection(), IDataItem::checkPrepare(), alignCSCRings::e, o2o::iov, and IDataItem::m_writeStmt.
|
friend |
Definition at line 21 of file ITimingDat.h.
|
private |
Definition at line 254 of file ITimingDat.h.
Referenced by getTable(), and setTable().
|
private |
Definition at line 253 of file ITimingDat.h.
Referenced by getTaskStatus(), ITimingDat(), and setTaskStatus().
|
private |
Definition at line 251 of file ITimingDat.h.
Referenced by getTimingMean(), ITimingDat(), and setTimingMean().
|
private |
Definition at line 252 of file ITimingDat.h.
Referenced by getTimingRMS(), ITimingDat(), and setTimingRMS().