#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 21 of file MonOccupancyDat.cc.
|
privatenoexcept |
Definition at line 66 of file MonOccupancyDat.cc.
References MillePedeFileConverter_cfg::e, 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().
|
inlineoverridevirtual |
Implements IDataItem.
Definition at line 19 of file MonOccupancyDat.h.
|
overrideprivatevirtualnoexcept |
Implements IDataItem.
Definition at line 23 of file MonOccupancyDat.cc.
References MillePedeFileConverter_cfg::e.
|
inline |
Definition at line 27 of file MonOccupancyDat.h.
References HCALHighEnergyHPDFilter_cfi::energy, and m_avgEnergy.
Referenced by fetchData().
|
inline |
Definition at line 24 of file MonOccupancyDat.h.
References events, and m_eventsOverHighThreshold.
Referenced by fetchData().
|
inline |
Definition at line 21 of file MonOccupancyDat.h.
References events, and m_eventsOverLowThreshold.
Referenced by fetchData().
|
privatenoexcept |
Definition at line 109 of file MonOccupancyDat.cc.
References submitPVResolutionJobs::count, data, MillePedeFileConverter_cfg::e, getAvgEnergy(), getEventsOverHighThreshold(), getEventsOverLowThreshold(), EcalLogicID::getLogicID(), AlCaHLTBitMon_ParallelJobs::p, x, geometryCSVtoXML::xx, y, geometryCSVtoXML::yy, z, and geometryCSVtoXML::zz.
|
privatenoexcept |
Definition at line 38 of file MonOccupancyDat.cc.
References MillePedeFileConverter_cfg::e, and B2GTnPMonitor_cfi::item.
|
friend |
Definition at line 14 of file MonOccupancyDat.h.
|
private |
Definition at line 42 of file MonOccupancyDat.h.
Referenced by getAvgEnergy(), and setAvgEnergy().
|
private |
Definition at line 41 of file MonOccupancyDat.h.
Referenced by getEventsOverHighThreshold(), and setEventsOverHighThreshold().
|
private |
Definition at line 40 of file MonOccupancyDat.h.
Referenced by getEventsOverLowThreshold(), and setEventsOverLowThreshold().