#include <RunDCSLVDat.h>
Public Types | |
typedef oracle::occi::ResultSet | ResultSet |
Public Member Functions | |
std::string | getEBAccount () |
std::string | getEEAccount () |
float | getLV () const |
float | getLVNominal () const |
int | getStatus () const |
std::string | getTable () override |
int | getTimeStatus () |
RunDCSLVDat () | |
void | setLV (float t) |
void | setLVNominal (float t) |
void | setStatus (int t) |
void | setTimeStatus (int t) |
~RunDCSLVDat () 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 | LVNOTNOMINAL = 1 |
static const int | LVOFF = 2 |
static const int | maxDifference = 30 * 60 * 1000000 |
static const int | maxLVDifferenceEB = 1000 |
static const int | maxLVDifferenceEE = 1000 |
static const int | minLV = 2000 |
Static Public Attributes inherited from IDBObject | |
static int const | ECALDB_NROWS = 1024 |
Private Member Functions | |
void | fetchData (std::map< EcalLogicID, RunDCSLVDat > *fillMap, RunIOV *iov) noexcept(false) |
void | fetchLastData (std::map< EcalLogicID, RunDCSLVDat > *fillMap) noexcept(false) |
void | fillTheMap (ResultSet *, std::map< EcalLogicID, RunDCSLVDat > *) |
ResultSet * | getBarrelRset () |
ResultSet * | getEndcapRset () |
int | nowMicroseconds () |
void | prepareWrite () noexcept(false) override |
void | setStatusForBarrel (RunDCSLVDat &, const Tm &) |
void | setStatusForEndcaps (RunDCSLVDat &, const Tm &) |
void | writeDB (const EcalLogicID *ecid, const RunDCSLVDat *item, RunIOV *iov) noexcept(false) |
Private Attributes | |
float | m_lv |
float | m_lvnom |
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 14 of file RunDCSLVDat.h.
typedef oracle::occi::ResultSet RunDCSLVDat::ResultSet |
Definition at line 16 of file RunDCSLVDat.h.
RunDCSLVDat::RunDCSLVDat | ( | ) |
Definition at line 11 of file RunDCSLVDat.cc.
|
override |
Definition at line 23 of file RunDCSLVDat.cc.
|
privatenoexcept |
Definition at line 29 of file RunDCSLVDat.cc.
|
privatenoexcept |
Definition at line 167 of file RunDCSLVDat.cc.
References dat, alignCSCRings::e, AlCaHLTBitMon_ParallelJobs::p, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 87 of file RunDCSLVDat.cc.
References dat, DateHandler::dateToTm(), cuy::dh, alignCSCRings::e, AlCaHLTBitMon_ParallelJobs::p, setLV(), setLVNominal(), setStatus(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 33 of file RunDCSLVDat.cc.
References alignCSCRings::e, contentValuesFiles::query, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 32 of file RunDCSLVDat.h.
|
inline |
Definition at line 33 of file RunDCSLVDat.h.
|
private |
Definition at line 60 of file RunDCSLVDat.cc.
References alignCSCRings::e, contentValuesFiles::query, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 37 of file RunDCSLVDat.h.
References m_lv.
Referenced by popcon::EcalDCSHandler::insertLVDataSetToOffline(), popcon::EcalDCSHandler::printLVDataSet(), setStatusForBarrel(), and setStatusForEndcaps().
|
inline |
Definition at line 38 of file RunDCSLVDat.h.
References m_lvnom.
Referenced by popcon::EcalDCSHandler::insertLVDataSetToOffline(), popcon::EcalDCSHandler::printLVDataSet(), setStatusForBarrel(), and setStatusForEndcaps().
|
inline |
Definition at line 39 of file RunDCSLVDat.h.
References m_status.
Referenced by popcon::EcalDCSHandler::printLVDataSet(), and popcon::EcalDCSHandler::updateLV().
|
inlineoverridevirtual |
|
inline |
|
private |
Definition at line 123 of file RunDCSLVDat.cc.
References Tm::microsTime(), and Tm::setToCurrentGMTime().
|
overrideprivatevirtualnoexcept |
|
inline |
Definition at line 34 of file RunDCSLVDat.h.
References m_lv, and submitPVValidationJobs::t.
Referenced by fillTheMap().
|
inline |
Definition at line 36 of file RunDCSLVDat.h.
References m_lvnom, and submitPVValidationJobs::t.
Referenced by fillTheMap().
|
inline |
Definition at line 35 of file RunDCSLVDat.h.
References m_status, and submitPVValidationJobs::t.
Referenced by fillTheMap(), setStatusForBarrel(), and setStatusForEndcaps().
|
private |
Definition at line 131 of file RunDCSLVDat.cc.
References ztail::d, getLV(), getLVNominal(), Tm::microsTime(), mps_fire::result, setStatus(), and setTimeStatus().
|
private |
Definition at line 149 of file RunDCSLVDat.cc.
References ztail::d, getLV(), getLVNominal(), Tm::microsTime(), mps_fire::result, setStatus(), and setTimeStatus().
|
inline |
Definition at line 41 of file RunDCSLVDat.h.
References m_tstatus, and submitPVValidationJobs::t.
Referenced by setStatusForBarrel(), and setStatusForEndcaps().
|
privatenoexcept |
Definition at line 27 of file RunDCSLVDat.cc.
|
friend |
Definition at line 26 of file RunDCSLVDat.h.
|
static |
Definition at line 23 of file RunDCSLVDat.h.
Referenced by popcon::EcalDCSHandler::updateLV().
|
static |
Definition at line 24 of file RunDCSLVDat.h.
Referenced by popcon::EcalDCSHandler::updateLV().
|
private |
Definition at line 59 of file RunDCSLVDat.h.
|
private |
Definition at line 60 of file RunDCSLVDat.h.
Referenced by getLVNominal(), and setLVNominal().
|
private |
Definition at line 61 of file RunDCSLVDat.h.
Referenced by getStatus(), and setStatus().
|
private |
Definition at line 62 of file RunDCSLVDat.h.
Referenced by getTimeStatus(), and setTimeStatus().
|
static |
Definition at line 18 of file RunDCSLVDat.h.
|
static |
Definition at line 19 of file RunDCSLVDat.h.
|
static |
Definition at line 20 of file RunDCSLVDat.h.
|
static |
Definition at line 21 of file RunDCSLVDat.h.