#include <MonOccupancyDat.h>
Public Member Functions | |
float | getAvgEnergy () const |
int | getEventsOverHighThreshold () const |
int | getEventsOverLowThreshold () const |
std::string | getTable () override |
MonOccupancyDat () | |
void | setAvgEnergy (float energy) |
void | setEventsOverHighThreshold (int events) |
void | setEventsOverLowThreshold (int events) |
~MonOccupancyDat () override | |
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) noexcept(false) |
void | prepareWrite () noexcept(false) override |
void | writeArrayDB (const std::map< EcalLogicID, MonOccupancyDat > *data, MonRunIOV *iov) noexcept(false) |
void | writeDB (const EcalLogicID *ecid, const MonOccupancyDat *item, MonRunIOV *iov) noexcept(false) |
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 () noexcept(false) |
void | createReadStatement () noexcept(false) |
void | setPrefetchRowCount (int ncount) noexcept(false) |
void | terminateReadStatement () noexcept(false) |
void | terminateWriteStatement () noexcept(false) |
Protected Member Functions inherited from IDBObject | |
void | checkConnection () const noexcept(false) |
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.
|
override |
Definition at line 24 of file MonOccupancyDat.cc.
|
privatenoexcept |
Definition at line 76 of file MonOccupancyDat.cc.
References MillePedeFileConverter_cfg::e, AlCaHLTBitMon_ParallelJobs::p, setAvgEnergy(), setEventsOverHighThreshold(), and setEventsOverLowThreshold().
Referenced by getAvgEnergy().
|
inline |
Definition at line 28 of file MonOccupancyDat.h.
References data, fetchData(), m_avgEnergy, noexcept, prepareWrite(), writeArrayDB(), and writeDB().
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().
|
inlineoverridevirtual |
Implements IDataItem.
Definition at line 19 of file MonOccupancyDat.h.
|
overrideprivatevirtualnoexcept |
Implements IDataItem.
Definition at line 30 of file MonOccupancyDat.cc.
References MillePedeFileConverter_cfg::e.
Referenced by getAvgEnergy().
|
inline |
Definition at line 27 of file MonOccupancyDat.h.
References m_avgEnergy.
Referenced by fetchData(), and ecaldqm::OccupancyWriter::run().
|
inline |
Definition at line 24 of file MonOccupancyDat.h.
References PatBasicFWLiteAnalyzer::events, and m_eventsOverHighThreshold.
Referenced by fetchData(), and ecaldqm::OccupancyWriter::run().
|
inline |
Definition at line 21 of file MonOccupancyDat.h.
References PatBasicFWLiteAnalyzer::events, and m_eventsOverLowThreshold.
Referenced by fetchData(), and ecaldqm::OccupancyWriter::run().
|
privatenoexcept |
Definition at line 121 of file MonOccupancyDat.cc.
References KineDebug3::count(), data, MillePedeFileConverter_cfg::e, getAvgEnergy(), getEventsOverHighThreshold(), getEventsOverLowThreshold(), EcalLogicID::getLogicID(), AlCaHLTBitMon_ParallelJobs::p, x, geometryCSVtoXML::xx, y, geometryCSVtoXML::yy, z, and geometryCSVtoXML::zz.
Referenced by getAvgEnergy().
|
privatenoexcept |
Definition at line 48 of file MonOccupancyDat.cc.
References MillePedeFileConverter_cfg::e.
Referenced by getAvgEnergy().
|
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().