#include <RunDCSMagnetDat.h>
Public Types | |
typedef oracle::occi::ResultSet | ResultSet |
Public Member Functions | |
std::string | getMagnetAccount () |
float | getMagnetCurrent () const |
std::string | getTable () override |
Tm | getTime () const |
RunDCSMagnetDat () | |
void | setMagnetCurrent (float t) |
void | setTime (const Tm &start) |
~RunDCSMagnetDat () 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, RunDCSMagnetDat > *fillMap, RunIOV *iov) noexcept(false) |
void | fetchLastData (std::map< EcalLogicID, RunDCSMagnetDat > *fillMap) noexcept(false) |
void | fillTheMap (ResultSet *, std::map< EcalLogicID, RunDCSMagnetDat > *) |
ResultSet * | getMagnetRset () |
int | nowMicroseconds () |
void | prepareWrite () noexcept(false) override |
void | writeDB (const EcalLogicID *ecid, const RunDCSMagnetDat *item, RunIOV *iov) noexcept(false) |
Private Attributes | |
float | m_current |
Tm | m_time |
Friends | |
class | EcalCondDBInterface |
Additional Inherited Members | |
Static Public Attributes inherited from IDBObject | |
static const int | 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 15 of file RunDCSMagnetDat.h.
typedef oracle::occi::ResultSet RunDCSMagnetDat::ResultSet |
Definition at line 17 of file RunDCSMagnetDat.h.
RunDCSMagnetDat::RunDCSMagnetDat | ( | ) |
Definition at line 15 of file RunDCSMagnetDat.cc.
|
override |
Definition at line 25 of file RunDCSMagnetDat.cc.
|
privatenoexcept |
|
privatenoexcept |
Definition at line 111 of file RunDCSMagnetDat.cc.
References gather_cfg::cout, MillePedeFileConverter_cfg::e, AlCaHLTBitMon_ParallelJobs::p, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 64 of file RunDCSMagnetDat.cc.
References gather_cfg::cout, cuy::dh, MillePedeFileConverter_cfg::e, AlCaHLTBitMon_ParallelJobs::p, setMagnetCurrent(), setTime(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 25 of file RunDCSMagnetDat.h.
|
inline |
Definition at line 27 of file RunDCSMagnetDat.h.
References m_current.
Referenced by popcon::EcalADCToGeVHandler::getNewObjects().
|
private |
Definition at line 41 of file RunDCSMagnetDat.cc.
References gather_cfg::cout, cuy::dh, MillePedeFileConverter_cfg::e, contentValuesFiles::query, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverridevirtual |
Implements IDataItem.
Definition at line 24 of file RunDCSMagnetDat.h.
Tm RunDCSMagnetDat::getTime | ( | void | ) | const |
Definition at line 29 of file RunDCSMagnetDat.cc.
|
private |
Definition at line 103 of file RunDCSMagnetDat.cc.
References Tm::microsTime(), and Tm::setToCurrentGMTime().
|
overrideprivatevirtualnoexcept |
|
inline |
Definition at line 26 of file RunDCSMagnetDat.h.
References m_current, and OrderedSet::t.
Referenced by fillTheMap().
void RunDCSMagnetDat::setTime | ( | const Tm & | start | ) |
Definition at line 27 of file RunDCSMagnetDat.cc.
References command_line::start.
Referenced by fillTheMap().
|
privatenoexcept |
Definition at line 33 of file RunDCSMagnetDat.cc.
|
friend |
Definition at line 19 of file RunDCSMagnetDat.h.
|
private |
Definition at line 48 of file RunDCSMagnetDat.h.
Referenced by getMagnetCurrent(), and setMagnetCurrent().
|
private |
Definition at line 49 of file RunDCSMagnetDat.h.