#include <RunDCSHVDat.h>
Public Types | |
typedef oracle::occi::ResultSet | ResultSet |
Public Member Functions | |
std::string | getEBAccount () |
std::string | getEEAccount () |
float | getHV () const |
float | getHVNominal () const |
int | getStatus () const |
std::string | getTable () |
int | getTimeStatus () |
RunDCSHVDat () | |
void | setHV (float t) |
void | setHVNominal (float t) |
void | setStatus (int t) |
void | setTimeStatus (int t) |
~RunDCSHVDat () | |
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 | HVNOTNOMINAL = 1 |
static const int | HVOFF = 2 |
static const int | maxDifference = 30*60*1000000 |
static const int | maxHVDifferenceEB = 300 |
static const int | maxHVDifferenceEE = 5000 |
static const int | minHV = 10000 |
Static Public Attributes inherited from IDBObject | |
static int const | ECALDB_NROWS =1024 |
Private Member Functions | |
void | fetchData (std::map< EcalLogicID, RunDCSHVDat > *fillMap, RunIOV *iov) throw (std::runtime_error) |
void | fetchHistoricalData (std::list< std::pair< Tm, std::map< EcalLogicID, RunDCSHVDat > > > *fillMap, Tm timeStart) throw (std::runtime_error) |
void | fetchLastData (std::map< EcalLogicID, RunDCSHVDat > *fillMap) throw (std::runtime_error) |
void | fillTheMap (ResultSet *, std::map< EcalLogicID, RunDCSHVDat > *) |
void | fillTheMapByTime (ResultSet *rset, std::list< DataReducer< RunDCSHVDat >::MyData< RunDCSHVDat > > *my_data_list) |
ResultSet * | getBarrelRset () |
ResultSet * | getBarrelRset (Tm timeStart) |
ResultSet * | getEndcapAnodeRset () |
ResultSet * | getEndcapAnodeRset (Tm timestart) |
ResultSet * | getEndcapDynodeRset () |
ResultSet * | getEndcapDynodeRset (Tm timestart) |
int | nowMicroseconds () |
void | prepareWrite () throw (std::runtime_error) |
void | setStatusForBarrel (RunDCSHVDat &, Tm) |
void | setStatusForEndcaps (RunDCSHVDat &, Tm) |
void | writeDB (const EcalLogicID *ecid, const RunDCSHVDat *item, RunIOV *iov) throw (std::runtime_error) |
Private Attributes | |
float | m_hv |
float | m_hvnom |
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 15 of file RunDCSHVDat.h.
typedef oracle::occi::ResultSet RunDCSHVDat::ResultSet |
Definition at line 17 of file RunDCSHVDat.h.
RunDCSHVDat::RunDCSHVDat | ( | ) |
RunDCSHVDat::~RunDCSHVDat | ( | ) |
Definition at line 30 of file RunDCSHVDat.cc.
|
private |
Definition at line 52 of file RunDCSHVDat.cc.
References edm::pset::fillMap().
|
private |
Definition at line 381 of file RunDCSHVDat.cc.
References alignCSCRings::e, edm::pset::fillMap(), DataReducer< T >::getReducedDataList(), AlCaHLTBitMon_ParallelJobs::p, and DataReducer< T >::setDataList().
|
private |
Definition at line 355 of file RunDCSHVDat.cc.
References alignCSCRings::e, edm::pset::fillMap(), and AlCaHLTBitMon_ParallelJobs::p.
|
private |
Definition at line 204 of file RunDCSHVDat.cc.
References DateHandler::dateToTm(), alignCSCRings::e, AlCaHLTBitMon_ParallelJobs::p, setHV(), setHVNominal(), and setStatus().
|
private |
Definition at line 244 of file RunDCSHVDat.cc.
References prof2calltree::count, gather_cfg::cout, alignCSCRings::e, getHV(), EcalLogicID::getID1(), EcalLogicID::getID2(), EcalLogicID::getName(), AlCaHLTBitMon_ParallelJobs::p, createTree::pp, setHV(), setHVNominal(), setStatus(), Tm::setToString(), and Tm::str().
|
private |
Definition at line 153 of file RunDCSHVDat.cc.
References alignCSCRings::e, NULL, and o2o::query.
Definition at line 61 of file RunDCSHVDat.cc.
References alignCSCRings::e, NULL, o2o::query, and DateHandler::tmToDate().
|
inline |
Definition at line 33 of file RunDCSHVDat.h.
|
inline |
Definition at line 34 of file RunDCSHVDat.h.
|
private |
Definition at line 170 of file RunDCSHVDat.cc.
References alignCSCRings::e, NULL, and o2o::query.
Definition at line 85 of file RunDCSHVDat.cc.
References alignCSCRings::e, NULL, o2o::query, and DateHandler::tmToDate().
|
private |
Definition at line 187 of file RunDCSHVDat.cc.
References alignCSCRings::e, NULL, and o2o::query.
Definition at line 109 of file RunDCSHVDat.cc.
References alignCSCRings::e, NULL, o2o::query, and DateHandler::tmToDate().
|
inline |
Definition at line 38 of file RunDCSHVDat.h.
References m_hv.
Referenced by fillTheMapByTime(), popcon::EcalDCSHandler::insertHVDataSetToOffline(), popcon::EcalDCSHandler::printHVDataSet(), setStatusForBarrel(), and setStatusForEndcaps().
|
inline |
Definition at line 39 of file RunDCSHVDat.h.
References m_hvnom.
Referenced by popcon::EcalDCSHandler::insertHVDataSetToOffline(), popcon::EcalDCSHandler::printHVDataSet(), setStatusForBarrel(), and setStatusForEndcaps().
|
inline |
Definition at line 40 of file RunDCSHVDat.h.
References m_status.
Referenced by popcon::EcalDCSHandler::printHVDataSet(), and popcon::EcalDCSHandler::updateHV().
|
inlinevirtual |
|
inline |
|
private |
Definition at line 305 of file RunDCSHVDat.cc.
References Tm::microsTime(), and Tm::setToCurrentGMTime().
|
privatevirtual |
|
inline |
Definition at line 35 of file RunDCSHVDat.h.
References m_hv, and lumiQTWidget::t.
Referenced by fillTheMap(), and fillTheMapByTime().
|
inline |
Definition at line 37 of file RunDCSHVDat.h.
References m_hvnom, and lumiQTWidget::t.
Referenced by fillTheMap(), and fillTheMapByTime().
|
inline |
Definition at line 36 of file RunDCSHVDat.h.
References m_status, and lumiQTWidget::t.
Referenced by fillTheMap(), fillTheMapByTime(), setStatusForBarrel(), and setStatusForEndcaps().
|
private |
Definition at line 315 of file RunDCSHVDat.cc.
References getHV(), getHVNominal(), Tm::microsTime(), query::result, setStatus(), and setTimeStatus().
|
private |
Definition at line 337 of file RunDCSHVDat.cc.
References getHV(), getHVNominal(), Tm::microsTime(), query::result, setStatus(), and setTimeStatus().
|
inline |
Definition at line 42 of file RunDCSHVDat.h.
References m_tstatus, and lumiQTWidget::t.
Referenced by setStatusForBarrel(), and setStatusForEndcaps().
|
private |
Definition at line 45 of file RunDCSHVDat.cc.
|
friend |
Definition at line 27 of file RunDCSHVDat.h.
|
static |
Definition at line 24 of file RunDCSHVDat.h.
Referenced by popcon::EcalDCSHandler::updateHV().
|
static |
Definition at line 25 of file RunDCSHVDat.h.
Referenced by popcon::EcalDCSHandler::updateHV().
|
private |
Definition at line 77 of file RunDCSHVDat.h.
|
private |
Definition at line 78 of file RunDCSHVDat.h.
Referenced by getHVNominal(), and setHVNominal().
|
private |
Definition at line 79 of file RunDCSHVDat.h.
Referenced by getStatus(), and setStatus().
|
private |
Definition at line 80 of file RunDCSHVDat.h.
Referenced by getTimeStatus(), and setTimeStatus().
|
static |
Definition at line 19 of file RunDCSHVDat.h.
|
static |
Definition at line 20 of file RunDCSHVDat.h.
|
static |
Definition at line 21 of file RunDCSHVDat.h.
|
static |
Definition at line 22 of file RunDCSHVDat.h.