#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 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 31 of file RunDCSHVDat.cc.
|
privatenoexcept |
Definition at line 53 of file RunDCSHVDat.cc.
Referenced by setTimeStatus().
|
privatenoexcept |
Definition at line 444 of file RunDCSHVDat.cc.
References MillePedeFileConverter_cfg::e, DataReducer< T >::getReducedDataList(), AlCaHLTBitMon_ParallelJobs::p, DataReducer< T >::setDataList(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by setTimeStatus().
|
privatenoexcept |
Definition at line 414 of file RunDCSHVDat.cc.
References MillePedeFileConverter_cfg::e, AlCaHLTBitMon_ParallelJobs::p, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by setTimeStatus().
|
private |
Definition at line 229 of file RunDCSHVDat.cc.
References DateHandler::dateToTm(), cuy::dh, MillePedeFileConverter_cfg::e, AlCaHLTBitMon_ParallelJobs::p, setHV(), setHVNominal(), setStatus(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by setTimeStatus().
|
privatenoexcept |
Definition at line 273 of file RunDCSHVDat.cc.
References KineDebug3::count(), gather_cfg::cout, edmIntegrityCheck::d, util.getRunInfo::day(), cuy::dh, MillePedeFileConverter_cfg::e, RecoEcal_EventContent_cff::ec, getHV(), EcalLogicID::getID1(), EcalLogicID::getID2(), EcalLogicID::getName(), AlCaHLTBitMon_ParallelJobs::p, createTree::pp, edm::second(), setHV(), setHVNominal(), setStatus(), Tm::setToString(), Tm::str(), AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::tt, and create_public_lumi_plots::year.
Referenced by setTimeStatus().
|
private |
Definition at line 166 of file RunDCSHVDat.cc.
References MillePedeFileConverter_cfg::e, das::query(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by setTimeStatus().
Definition at line 62 of file RunDCSHVDat.cc.
References cuy::dh, MillePedeFileConverter_cfg::e, das::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 187 of file RunDCSHVDat.cc.
References MillePedeFileConverter_cfg::e, das::query(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by setTimeStatus().
Definition at line 90 of file RunDCSHVDat.cc.
References cuy::dh, MillePedeFileConverter_cfg::e, das::query(), AlCaHLTBitMon_QueryRunRegistry::string, and DateHandler::tmToDate().
|
private |
Definition at line 208 of file RunDCSHVDat.cc.
References MillePedeFileConverter_cfg::e, das::query(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by setTimeStatus().
Definition at line 118 of file RunDCSHVDat.cc.
References cuy::dh, MillePedeFileConverter_cfg::e, das::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 364 of file RunDCSHVDat.cc.
References Tm::microsTime(), and Tm::setToCurrentGMTime().
Referenced by setTimeStatus().
|
overrideprivatevirtualnoexcept |
|
inline |
Definition at line 35 of file RunDCSHVDat.h.
References m_hv, and protons_cff::t.
Referenced by fillTheMap(), and fillTheMapByTime().
|
inline |
Definition at line 37 of file RunDCSHVDat.h.
References m_hvnom, and protons_cff::t.
Referenced by fillTheMap(), and fillTheMapByTime().
|
inline |
Definition at line 36 of file RunDCSHVDat.h.
References m_status, and protons_cff::t.
Referenced by fillTheMap(), fillTheMapByTime(), setStatusForBarrel(), and setStatusForEndcaps().
|
private |
Definition at line 374 of file RunDCSHVDat.cc.
References edmIntegrityCheck::d, getHV(), getHVNominal(), Tm::microsTime(), mps_fire::result, setStatus(), and setTimeStatus().
Referenced by setTimeStatus().
|
private |
Definition at line 396 of file RunDCSHVDat.cc.
References edmIntegrityCheck::d, getHV(), getHVNominal(), Tm::microsTime(), mps_fire::result, setStatus(), and setTimeStatus().
Referenced by setTimeStatus().
|
inline |
Definition at line 42 of file RunDCSHVDat.h.
References fetchData(), fetchHistoricalData(), fetchLastData(), fillTheMap(), fillTheMapByTime(), getBarrelRset(), getEndcapAnodeRset(), getEndcapDynodeRset(), list(), m_tstatus, noexcept, nowMicroseconds(), prepareWrite(), setStatusForBarrel(), setStatusForEndcaps(), protons_cff::t, and writeDB().
Referenced by setStatusForBarrel(), and setStatusForEndcaps().
|
privatenoexcept |
|
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 77 of file RunDCSHVDat.h.
|
private |
Definition at line 78 of file RunDCSHVDat.h.
Referenced by getHVNominal(), and setHVNominal().
|
private |
Definition at line 79 of file RunDCSHVDat.h.
Referenced by getStatus(), and setStatus().
|
private |
Definition at line 80 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.