#include <RunDCSMagnetDat.h>
Public Types | |
typedef oracle::occi::ResultSet | ResultSet |
Public Member Functions | |
std::string | getMagnetAccount () |
float | getMagnetCurrent () const |
std::string | getTable () |
Tm | getTime () const |
RunDCSMagnetDat () | |
void | setMagnetCurrent (float t) |
void | setTime (Tm start) |
~RunDCSMagnetDat () | |
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) throw (std::runtime_error) |
void | fetchLastData (std::map< EcalLogicID, RunDCSMagnetDat > *fillMap) throw (std::runtime_error) |
void | fillTheMap (ResultSet *, std::map< EcalLogicID, RunDCSMagnetDat > *) |
ResultSet * | getMagnetRset () |
int | nowMicroseconds () |
void | prepareWrite () throw (std::runtime_error) |
void | writeDB (const EcalLogicID *ecid, const RunDCSMagnetDat *item, RunIOV *iov) throw (std::runtime_error) |
Private Attributes | |
float | m_current |
Tm | m_time |
Friends | |
class | EcalCondDBInterface |
Additional Inherited Members | |
Static Public Attributes inherited from IDBObject | |
static int const | ECALDB_NROWS =1024 |
Protected Member Functions inherited from IDataItem | |
void | checkPrepare () throw (std::runtime_error) |
void | createReadStatement () throw (std::runtime_error) |
void | setPrefetchRowCount (int ncount) throw (std::runtime_error) |
void | terminateReadStatement () throw (std::runtime_error) |
void | terminateWriteStatement () throw (std::runtime_error) |
Protected Member Functions inherited from IDBObject | |
void | checkConnection () const throw (std::runtime_error) |
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 | ( | ) |
RunDCSMagnetDat::~RunDCSMagnetDat | ( | ) |
Definition at line 28 of file RunDCSMagnetDat.cc.
|
private |
Definition at line 62 of file RunDCSMagnetDat.cc.
References gather_cfg::cout, and edm::pset::fillMap().
|
private |
Definition at line 145 of file RunDCSMagnetDat.cc.
References gather_cfg::cout, ExpressReco_HICollisions_FallBack::e, edm::pset::fillMap(), and L1TEmulatorMonitor_cff::p.
|
private |
Definition at line 95 of file RunDCSMagnetDat.cc.
References gather_cfg::cout, DateHandler::dateToTm(), ExpressReco_HICollisions_FallBack::e, L1TEmulatorMonitor_cff::p, setMagnetCurrent(), and setTime().
|
inline |
Definition at line 25 of file RunDCSMagnetDat.h.
|
inline |
Definition at line 27 of file RunDCSMagnetDat.h.
References m_current.
Referenced by popcon::EcalIntercalibHandler::getNewObjects().
|
private |
Definition at line 73 of file RunDCSMagnetDat.cc.
References gather_cfg::cout, ExpressReco_HICollisions_FallBack::e, NULL, and o2o::query.
|
inlinevirtual |
Implements IDataItem.
Definition at line 24 of file RunDCSMagnetDat.h.
Tm RunDCSMagnetDat::getTime | ( | void | ) | const |
Definition at line 37 of file RunDCSMagnetDat.cc.
|
private |
Definition at line 135 of file RunDCSMagnetDat.cc.
References Tm::microsTime(), and Tm::setToCurrentGMTime().
|
privatevirtual |
|
inline |
Definition at line 26 of file RunDCSMagnetDat.h.
References m_current, and matplotRender::t.
Referenced by fillTheMap().
void RunDCSMagnetDat::setTime | ( | Tm | start | ) |
Definition at line 32 of file RunDCSMagnetDat.cc.
Referenced by fillTheMap().
|
private |
Definition at line 55 of file RunDCSMagnetDat.cc.
|
friend |
Definition at line 19 of file RunDCSMagnetDat.h.
|
private |
Definition at line 53 of file RunDCSMagnetDat.h.
Referenced by getMagnetCurrent(), and setMagnetCurrent().
|
private |
Definition at line 54 of file RunDCSMagnetDat.h.