#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 26 of file RunDCSLVDat.cc.
|
privatenoexcept |
Definition at line 48 of file RunDCSLVDat.cc.
Referenced by setTimeStatus().
|
privatenoexcept |
Definition at line 184 of file RunDCSLVDat.cc.
References MillePedeFileConverter_cfg::e, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by setTimeStatus().
|
private |
Definition at line 97 of file RunDCSLVDat.cc.
References DateHandler::dateToTm(), cuy::dh, MillePedeFileConverter_cfg::e, AlCaHLTBitMon_ParallelJobs::p, setLV(), setLVNominal(), and setStatus().
Referenced by setTimeStatus().
|
private |
Definition at line 55 of file RunDCSLVDat.cc.
References MillePedeFileConverter_cfg::e, and das::query().
Referenced by setTimeStatus().
|
inline |
Definition at line 32 of file RunDCSLVDat.h.
|
inline |
Definition at line 33 of file RunDCSLVDat.h.
|
private |
Definition at line 76 of file RunDCSLVDat.cc.
References MillePedeFileConverter_cfg::e, and das::query().
Referenced by setTimeStatus().
|
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 135 of file RunDCSLVDat.cc.
References Tm::microsTime(), and Tm::setToCurrentGMTime().
Referenced by setTimeStatus().
|
overrideprivatevirtualnoexcept |
|
inline |
Definition at line 34 of file RunDCSLVDat.h.
References m_lv, and lumiQTWidget::t.
Referenced by fillTheMap().
|
inline |
Definition at line 36 of file RunDCSLVDat.h.
References m_lvnom, and lumiQTWidget::t.
Referenced by fillTheMap().
|
inline |
Definition at line 35 of file RunDCSLVDat.h.
References m_status, and lumiQTWidget::t.
Referenced by fillTheMap(), setStatusForBarrel(), and setStatusForEndcaps().
|
private |
Definition at line 144 of file RunDCSLVDat.cc.
References edmIntegrityCheck::d, getLV(), getLVNominal(), createfilelist::int, Tm::microsTime(), mps_fire::result, setStatus(), and setTimeStatus().
Referenced by setTimeStatus().
|
private |
Definition at line 164 of file RunDCSLVDat.cc.
References edmIntegrityCheck::d, getLV(), getLVNominal(), createfilelist::int, Tm::microsTime(), mps_fire::result, setStatus(), and setTimeStatus().
Referenced by setTimeStatus().
|
inline |
Definition at line 41 of file RunDCSLVDat.h.
References fetchData(), fetchLastData(), fillTheMap(), getBarrelRset(), getEndcapRset(), m_tstatus, noexcept, nowMicroseconds(), prepareWrite(), setStatusForBarrel(), setStatusForEndcaps(), lumiQTWidget::t, and writeDB().
Referenced by setStatusForBarrel(), and setStatusForEndcaps().
|
privatenoexcept |
|
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 63 of file RunDCSLVDat.h.
|
private |
Definition at line 64 of file RunDCSLVDat.h.
Referenced by getLVNominal(), and setLVNominal().
|
private |
Definition at line 65 of file RunDCSLVDat.h.
Referenced by getStatus(), and setStatus().
|
private |
Definition at line 66 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.