#include <RunDCSHVDat.h>
Public Types | |
typedef oracle::occi::ResultSet | ResultSet |
Public Member Functions | |
std::string | getEBAccount () |
std::string | getEEAccount () |
float | getHV () const |
float | getHVNominal () const |
int | getStatus () const |
std::string | getTable () override |
int | getTimeStatus () |
RunDCSHVDat () | |
void | setHV (float t) |
void | setHVNominal (float t) |
void | setStatus (int t) |
void | setTimeStatus (int t) |
~RunDCSHVDat () 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 () |
Static Public Attributes | |
static const int | HVNOTNOMINAL = 1 |
static const int | HVOFF = 2 |
static const int | maxDifference = 30 * 60 * 1000000 |
static const int | maxHVDifferenceEB = 300 |
static const int | maxHVDifferenceEE = 5000 |
static const int | minHV = 10000 |
Static Public Attributes inherited from IDBObject | |
static int const | ECALDB_NROWS = 1024 |
Private Member Functions | |
void | fetchData (std::map< EcalLogicID, RunDCSHVDat > *fillMap, RunIOV *iov) noexcept(false) |
void | fetchHistoricalData (std::list< std::pair< Tm, std::map< EcalLogicID, RunDCSHVDat > > > *fillMap, const Tm &timeStart) noexcept(false) |
void | fetchLastData (std::map< EcalLogicID, RunDCSHVDat > *fillMap) noexcept(false) |
void | fillTheMap (ResultSet *, std::map< EcalLogicID, RunDCSHVDat > *) |
void | fillTheMapByTime (ResultSet *rset, std::list< DataReducer< RunDCSHVDat >::MyData< RunDCSHVDat > > *my_data_list) |
ResultSet * | getBarrelRset () |
ResultSet * | getBarrelRset (const Tm &timeStart) |
ResultSet * | getEndcapAnodeRset () |
ResultSet * | getEndcapAnodeRset (const Tm ×tart) |
ResultSet * | getEndcapDynodeRset () |
ResultSet * | getEndcapDynodeRset (const Tm ×tart) |
int | nowMicroseconds () |
void | prepareWrite () noexcept(false) override |
void | setStatusForBarrel (RunDCSHVDat &, const Tm &) |
void | setStatusForEndcaps (RunDCSHVDat &, const Tm &) |
void | writeDB (const EcalLogicID *ecid, const RunDCSHVDat *item, RunIOV *iov) noexcept(false) |
Private Attributes | |
float | m_hv |
float | m_hvnom |
int | m_status |
int | m_tstatus |
Friends | |
class | EcalCondDBInterface |
Additional Inherited Members | |
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 15 of file RunDCSHVDat.h.
typedef oracle::occi::ResultSet RunDCSHVDat::ResultSet |
Definition at line 17 of file RunDCSHVDat.h.
RunDCSHVDat::RunDCSHVDat | ( | ) |
Definition at line 16 of file RunDCSHVDat.cc.
|
override |
Definition at line 28 of file RunDCSHVDat.cc.
|
privatenoexcept |
Definition at line 34 of file RunDCSHVDat.cc.
|
privatenoexcept |
Definition at line 443 of file RunDCSHVDat.cc.
References dat, alignCSCRings::e, DataReducer< T >::getReducedDataList(), AlCaHLTBitMon_ParallelJobs::p, DataReducer< T >::setDataList(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
privatenoexcept |
Definition at line 416 of file RunDCSHVDat.cc.
References dat, alignCSCRings::e, AlCaHLTBitMon_ParallelJobs::p, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 240 of file RunDCSHVDat.cc.
References dat, DateHandler::dateToTm(), cuy::dh, alignCSCRings::e, AlCaHLTBitMon_ParallelJobs::p, setHV(), setHVNominal(), setStatus(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
privatenoexcept |
Definition at line 278 of file RunDCSHVDat.cc.
References submitPVResolutionJobs::count, gather_cfg::cout, ztail::d, dat, util.getRunInfo::day(), cuy::dh, alignCSCRings::e, getHV(), EcalLogicID::getID1(), EcalLogicID::getID2(), EcalLogicID::getName(), AlCaHLTBitMon_ParallelJobs::p, createTree::pp, edm::second(), setHV(), setHVNominal(), setStatus(), Tm::setToString(), Tm::str(), AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::tt.
|
private |
Definition at line 159 of file RunDCSHVDat.cc.
References alignCSCRings::e, contentValuesFiles::query, and AlCaHLTBitMon_QueryRunRegistry::string.
Definition at line 38 of file RunDCSHVDat.cc.
References cuy::dh, alignCSCRings::e, contentValuesFiles::query, AlCaHLTBitMon_QueryRunRegistry::string, and DateHandler::tmToDate().
|
inline |
Definition at line 33 of file RunDCSHVDat.h.
|
inline |
Definition at line 34 of file RunDCSHVDat.h.
|
private |
Definition at line 186 of file RunDCSHVDat.cc.
References alignCSCRings::e, contentValuesFiles::query, and AlCaHLTBitMon_QueryRunRegistry::string.
Definition at line 72 of file RunDCSHVDat.cc.
References cuy::dh, alignCSCRings::e, contentValuesFiles::query, AlCaHLTBitMon_QueryRunRegistry::string, and DateHandler::tmToDate().
|
private |
Definition at line 213 of file RunDCSHVDat.cc.
References alignCSCRings::e, contentValuesFiles::query, and AlCaHLTBitMon_QueryRunRegistry::string.
Definition at line 106 of file RunDCSHVDat.cc.
References cuy::dh, alignCSCRings::e, contentValuesFiles::query, AlCaHLTBitMon_QueryRunRegistry::string, and DateHandler::tmToDate().
|
inline |
Definition at line 38 of file RunDCSHVDat.h.
References m_hv.
Referenced by fillTheMapByTime(), popcon::EcalDCSHandler::insertHVDataSetToOffline(), popcon::EcalDCSHandler::printHVDataSet(), setStatusForBarrel(), and setStatusForEndcaps().
|
inline |
Definition at line 39 of file RunDCSHVDat.h.
References m_hvnom.
Referenced by popcon::EcalDCSHandler::insertHVDataSetToOffline(), popcon::EcalDCSHandler::printHVDataSet(), setStatusForBarrel(), and setStatusForEndcaps().
|
inline |
Definition at line 40 of file RunDCSHVDat.h.
References m_status.
Referenced by popcon::EcalDCSHandler::printHVDataSet(), and popcon::EcalDCSHandler::updateHV().
|
inlineoverridevirtual |
|
inline |
|
private |
Definition at line 369 of file RunDCSHVDat.cc.
References Tm::microsTime(), and Tm::setToCurrentGMTime().
|
overrideprivatevirtualnoexcept |
|
inline |
Definition at line 35 of file RunDCSHVDat.h.
References m_hv, and submitPVValidationJobs::t.
Referenced by fillTheMap(), and fillTheMapByTime().
|
inline |
Definition at line 37 of file RunDCSHVDat.h.
References m_hvnom, and submitPVValidationJobs::t.
Referenced by fillTheMap(), and fillTheMapByTime().
|
inline |
Definition at line 36 of file RunDCSHVDat.h.
References m_status, and submitPVValidationJobs::t.
Referenced by fillTheMap(), fillTheMapByTime(), setStatusForBarrel(), and setStatusForEndcaps().
|
private |
Definition at line 377 of file RunDCSHVDat.cc.
References ztail::d, getHV(), getHVNominal(), Tm::microsTime(), mps_fire::result, setStatus(), and setTimeStatus().
|
private |
Definition at line 398 of file RunDCSHVDat.cc.
References ztail::d, getHV(), getHVNominal(), Tm::microsTime(), mps_fire::result, setStatus(), and setTimeStatus().
|
inline |
Definition at line 42 of file RunDCSHVDat.h.
References m_tstatus, and submitPVValidationJobs::t.
Referenced by setStatusForBarrel(), and setStatusForEndcaps().
|
privatenoexcept |
Definition at line 32 of file RunDCSHVDat.cc.
|
friend |
Definition at line 27 of file RunDCSHVDat.h.
|
static |
Definition at line 24 of file RunDCSHVDat.h.
Referenced by popcon::EcalDCSHandler::updateHV().
|
static |
Definition at line 25 of file RunDCSHVDat.h.
Referenced by popcon::EcalDCSHandler::updateHV().
|
private |
Definition at line 72 of file RunDCSHVDat.h.
|
private |
Definition at line 73 of file RunDCSHVDat.h.
Referenced by getHVNominal(), and setHVNominal().
|
private |
Definition at line 74 of file RunDCSHVDat.h.
Referenced by getStatus(), and setStatus().
|
private |
Definition at line 75 of file RunDCSHVDat.h.
Referenced by getTimeStatus(), and setTimeStatus().
|
static |
Definition at line 19 of file RunDCSHVDat.h.
|
static |
Definition at line 20 of file RunDCSHVDat.h.
|
static |
Definition at line 21 of file RunDCSHVDat.h.
|
static |
Definition at line 22 of file RunDCSHVDat.h.