#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 () |
int | getTimeStatus () |
RunDCSLVDat () | |
void | setLV (float t) |
void | setLVNominal (float t) |
void | setStatus (int t) |
void | setTimeStatus (int t) |
~RunDCSLVDat () | |
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) throw (std::runtime_error) |
void | fetchLastData (std::map< EcalLogicID, RunDCSLVDat > *fillMap) throw (std::runtime_error) |
void | fillTheMap (ResultSet *, std::map< EcalLogicID, RunDCSLVDat > *) |
ResultSet * | getBarrelRset () |
ResultSet * | getEndcapRset () |
int | nowMicroseconds () |
void | prepareWrite () throw (std::runtime_error) |
void | setStatusForBarrel (RunDCSLVDat &, const Tm &) |
void | setStatusForEndcaps (RunDCSLVDat &, const Tm &) |
void | writeDB (const EcalLogicID *ecid, const RunDCSLVDat *item, RunIOV *iov) throw (std::runtime_error) |
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 () 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 14 of file RunDCSLVDat.h.
typedef oracle::occi::ResultSet RunDCSLVDat::ResultSet |
Definition at line 16 of file RunDCSLVDat.h.
RunDCSLVDat::RunDCSLVDat | ( | ) |
RunDCSLVDat::~RunDCSLVDat | ( | ) |
Definition at line 26 of file RunDCSLVDat.cc.
|
private |
Definition at line 48 of file RunDCSLVDat.cc.
|
private |
Definition at line 172 of file RunDCSLVDat.cc.
References dat, alignCSCRings::e, and AlCaHLTBitMon_ParallelJobs::p.
|
private |
Definition at line 89 of file RunDCSLVDat.cc.
References dat, DateHandler::dateToTm(), cuy::dh, alignCSCRings::e, AlCaHLTBitMon_ParallelJobs::p, setLV(), setLVNominal(), and setStatus().
|
private |
Definition at line 55 of file RunDCSLVDat.cc.
References alignCSCRings::e, NULL, and o2o::query.
|
inline |
Definition at line 32 of file RunDCSLVDat.h.
|
inline |
Definition at line 33 of file RunDCSLVDat.h.
|
private |
Definition at line 72 of file RunDCSLVDat.cc.
References alignCSCRings::e, NULL, and o2o::query.
|
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().
|
inlinevirtual |
|
inline |
|
private |
Definition at line 123 of file RunDCSLVDat.cc.
References Tm::microsTime(), and Tm::setToCurrentGMTime().
|
privatevirtual |
|
inline |
Definition at line 34 of file RunDCSLVDat.h.
References m_lv, and edmStreamStallGrapher::t.
Referenced by fillTheMap().
|
inline |
Definition at line 36 of file RunDCSLVDat.h.
References m_lvnom, and edmStreamStallGrapher::t.
Referenced by fillTheMap().
|
inline |
Definition at line 35 of file RunDCSLVDat.h.
References m_status, and edmStreamStallGrapher::t.
Referenced by fillTheMap(), setStatusForBarrel(), and setStatusForEndcaps().
|
private |
Definition at line 132 of file RunDCSLVDat.cc.
References getLV(), getLVNominal(), Tm::microsTime(), query::result, setStatus(), and setTimeStatus().
|
private |
Definition at line 152 of file RunDCSLVDat.cc.
References getLV(), getLVNominal(), Tm::microsTime(), query::result, setStatus(), and setTimeStatus().
|
inline |
Definition at line 41 of file RunDCSLVDat.h.
References m_tstatus, and edmStreamStallGrapher::t.
Referenced by setStatusForBarrel(), and setStatusForEndcaps().
|
private |
Definition at line 41 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 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.