#include <MonOccupancyDat.h>
Public Member Functions | |
float | getAvgEnergy () const |
int | getEventsOverHighThreshold () const |
int | getEventsOverLowThreshold () const |
std::string | getTable () |
MonOccupancyDat () | |
void | setAvgEnergy (float energy) |
void | setEventsOverHighThreshold (int events) |
void | setEventsOverLowThreshold (int events) |
~MonOccupancyDat () | |
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, MonOccupancyDat > *fillVec, MonRunIOV *iov) throw (std::runtime_error) |
void | prepareWrite () throw (std::runtime_error) |
void | writeArrayDB (const std::map< EcalLogicID, MonOccupancyDat > *data, MonRunIOV *iov) throw (std::runtime_error) |
void | writeDB (const EcalLogicID *ecid, const MonOccupancyDat *item, MonRunIOV *iov) throw (std::runtime_error) |
Private Attributes | |
float | m_avgEnergy |
int | m_eventsOverHighThreshold |
int | m_eventsOverLowThreshold |
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 12 of file MonOccupancyDat.h.
MonOccupancyDat::MonOccupancyDat | ( | ) |
Definition at line 10 of file MonOccupancyDat.cc.
References NULL.
MonOccupancyDat::~MonOccupancyDat | ( | ) |
Definition at line 24 of file MonOccupancyDat.cc.
|
private |
Definition at line 76 of file MonOccupancyDat.cc.
References dat, alignCSCRings::e, o2o::iov, AlCaHLTBitMon_ParallelJobs::p, setAvgEnergy(), setEventsOverHighThreshold(), and setEventsOverLowThreshold().
|
inline |
Definition at line 28 of file MonOccupancyDat.h.
References m_avgEnergy.
Referenced by writeArrayDB().
|
inline |
Definition at line 25 of file MonOccupancyDat.h.
References m_eventsOverHighThreshold.
Referenced by popcon::EcalChannelStatusHandler::cosmicsAnalysis(), and writeArrayDB().
|
inline |
Definition at line 22 of file MonOccupancyDat.h.
References m_eventsOverLowThreshold.
Referenced by writeArrayDB().
|
inlinevirtual |
Implements IDataItem.
Definition at line 19 of file MonOccupancyDat.h.
|
privatevirtual |
Implements IDataItem.
Definition at line 30 of file MonOccupancyDat.cc.
References alignCSCRings::e.
|
inline |
Definition at line 27 of file MonOccupancyDat.h.
References relval_parameters_module::energy, and m_avgEnergy.
Referenced by fetchData(), and ecaldqm::OccupancyWriter::run().
|
inline |
Definition at line 24 of file MonOccupancyDat.h.
References patZpeak::events, and m_eventsOverHighThreshold.
Referenced by fetchData(), and ecaldqm::OccupancyWriter::run().
|
inline |
Definition at line 21 of file MonOccupancyDat.h.
References patZpeak::events, and m_eventsOverLowThreshold.
Referenced by fetchData(), and ecaldqm::OccupancyWriter::run().
|
private |
Definition at line 121 of file MonOccupancyDat.cc.
References prof2calltree::count, data, alignCSCRings::e, getAvgEnergy(), getEventsOverHighThreshold(), getEventsOverLowThreshold(), EcalLogicID::getLogicID(), o2o::iov, AlCaHLTBitMon_ParallelJobs::p, x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
|
private |
Definition at line 48 of file MonOccupancyDat.cc.
References alignCSCRings::e, and o2o::iov.
|
friend |
Definition at line 14 of file MonOccupancyDat.h.
|
private |
Definition at line 47 of file MonOccupancyDat.h.
Referenced by getAvgEnergy(), and setAvgEnergy().
|
private |
Definition at line 46 of file MonOccupancyDat.h.
Referenced by getEventsOverHighThreshold(), and setEventsOverHighThreshold().
|
private |
Definition at line 45 of file MonOccupancyDat.h.
Referenced by getEventsOverLowThreshold(), and setEventsOverLowThreshold().