#include <RunIOV.h>
Public Member Functions | |
int | fetchID () throw (std::runtime_error) |
int | fetchIDByRunAndTag () throw (std::runtime_error) |
Tm | getDBInsertionTime () |
int | getID () |
Tm | getRunEnd () const |
run_t | getRunNumber () const |
Tm | getRunStart () const |
RunTag | getRunTag () const |
bool | operator!= (const RunIOV &r) const |
bool | operator== (const RunIOV &r) const |
RunIOV () | |
void | setByID (int id) throw (std::runtime_error) |
void | setDBInsertionTime (const Tm &dbtime) |
void | setID (int id) |
void | setRunEnd (const Tm &end) |
void | setRunNumber (run_t run) |
void | setRunStart (const Tm &start) |
void | setRunTag (const RunTag &tag) |
~RunIOV () | |
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 | setByRecentData (std::string dataTable, RunTag *tag, run_t run=(unsigned int)-1) throw (std::runtime_error) |
void | setByRecentData (std::string dataTable, std::string location, run_t run) throw (std::runtime_error) |
void | setByRun (RunTag *tag, run_t run) throw (std::runtime_error) |
void | setByRun (std::string location, run_t run) throw (std::runtime_error) |
void | setByTime (std::string location, const Tm &t) throw (std::runtime_error) |
int | updateEndTimeDB () throw (std::runtime_error) |
int | updateStartTimeDB () throw (std::runtime_error) |
int | writeDB () throw (std::runtime_error) |
Private Attributes | |
Tm | m_dbtime |
Tm | m_runEnd |
run_t | m_runNum |
Tm | m_runStart |
RunTag | m_runTag |
Friends | |
class | EcalCondDBInterface |
Additional Inherited Members | |
Static Public Attributes inherited from IDBObject | |
static int const | ECALDB_NROWS =1024 |
Protected Member Functions inherited from IDBObject | |
void | checkConnection () const throw (std::runtime_error) |
Protected Attributes inherited from IUniqueDBObject | |
int | m_ID |
Protected Attributes inherited from IDBObject | |
oracle::occi::Connection * | m_conn |
oracle::occi::Environment * | m_env |
|
virtual |
Implements IUniqueDBObject.
Definition at line 103 of file RunIOV.cc.
References cuy::dh, alignCSCRings::e, DateHandler::getPlusInfTm(), and DateHandler::tmToDate().
int RunIOV::fetchIDByRunAndTag | ( | ) | ||
throw | ( | std::runtime_error | ||
) |
Definition at line 284 of file RunIOV.cc.
References cuy::dh, alignCSCRings::e, and DateHandler::getPlusInfTm().
|
inline |
|
inline |
Definition at line 36 of file RunIOV.h.
References IUniqueDBObject::m_ID.
Referenced by LMFSeqDat::fetchByRunIOV(), LMFSeqDat::fetchIdSql(), LMFSeqDat::fetchParentIDs(), and LMFSeqDat::writeDBSql().
Tm RunIOV::getRunEnd | ( | ) | const |
Definition at line 79 of file RunIOV.cc.
Referenced by EcalTPGDBApp::printIOV().
run_t RunIOV::getRunNumber | ( | ) | const |
Definition at line 45 of file RunIOV.cc.
Referenced by popcon::EcalADCToGeVHandler::getNewObjects(), popcon::EcalIntercalibHandler::getNewObjects(), popcon::EcalDCSHandler::getNewObjects(), EcalTPGDBApp::printIOV(), and EcalErrorMask::readDB().
Tm RunIOV::getRunStart | ( | ) | const |
Definition at line 62 of file RunIOV.cc.
Referenced by EcalTPGDBApp::printIOV().
RunTag RunIOV::getRunTag | ( | ) | const |
Definition at line 96 of file RunIOV.cc.
Referenced by EcalTPGDBApp::printIOV(), and EcalPedOffset::writeDb().
|
inline |
|
inline |
|
virtual |
Implements IUniqueDBObject.
Definition at line 152 of file RunIOV.cc.
References DateHandler::dateToTm(), cuy::dh, and alignCSCRings::e.
Referenced by LMFCorrCoefDat::fetchLastInsertedRun(), LMFSeqDat::fetchParentIDs(), and LMFSeqDat::getParameters().
|
private |
Definition at line 496 of file RunIOV.cc.
References DateHandler::dateToTm(), cuy::dh, alignCSCRings::e, DTTTrigCorrFirst::run, and GlobalPosition_Frontier_DevDB_cff::tag.
|
private |
Definition at line 546 of file RunIOV.cc.
References cuy::dh, alignCSCRings::e, and DTTTrigCorrFirst::run.
Definition at line 376 of file RunIOV.cc.
References DateHandler::dateToTm(), cuy::dh, alignCSCRings::e, DTTTrigCorrFirst::run, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by EcalCondDBInterface::fetchRunIOV().
|
private |
Definition at line 458 of file RunIOV.cc.
References cuy::dh, alignCSCRings::e, and DTTTrigCorrFirst::run.
|
private |
Definition at line 417 of file RunIOV.cc.
References cuy::dh, alignCSCRings::e, and lumiQTWidget::t.
Referenced by EcalCondDBInterface::fetchRunIOV().
|
inline |
Definition at line 31 of file RunIOV.h.
References m_dbtime.
Referenced by RunList::fetchGlobalRunsByLocation(), RunList::fetchLastNRuns(), RunList::fetchRuns(), and RunList::fetchRunsByLocation().
void RunIOV::setID | ( | int | id | ) |
Definition at line 37 of file RunIOV.cc.
Referenced by RunList::fetchGlobalRunsByLocation(), MonRunList::fetchLastNRuns(), RunList::fetchLastNRuns(), MonRunList::fetchRuns(), RunList::fetchRuns(), and RunList::fetchRunsByLocation().
void RunIOV::setRunEnd | ( | const Tm & | end | ) |
Definition at line 69 of file RunIOV.cc.
References end.
Referenced by RunList::fetchGlobalRunsByLocation(), MonRunList::fetchLastNRuns(), RunList::fetchLastNRuns(), MonRunList::fetchRuns(), RunList::fetchRuns(), and RunList::fetchRunsByLocation().
void RunIOV::setRunNumber | ( | run_t | run | ) |
Definition at line 29 of file RunIOV.cc.
References DTTTrigCorrFirst::run.
Referenced by RunList::fetchGlobalRunsByLocation(), MonRunList::fetchLastNRuns(), RunList::fetchLastNRuns(), MonRunList::fetchRuns(), RunList::fetchRuns(), and RunList::fetchRunsByLocation().
void RunIOV::setRunStart | ( | const Tm & | start | ) |
Definition at line 52 of file RunIOV.cc.
References dqm_diff::start.
Referenced by RunList::fetchGlobalRunsByLocation(), MonRunList::fetchLastNRuns(), RunList::fetchLastNRuns(), MonRunList::fetchRuns(), RunList::fetchRuns(), and RunList::fetchRunsByLocation().
void RunIOV::setRunTag | ( | const RunTag & | tag | ) |
Definition at line 86 of file RunIOV.cc.
References GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by RunList::fetchGlobalRunsByLocation(), MonRunList::fetchLastNRuns(), RunList::fetchLastNRuns(), MonRunList::fetchRuns(), RunList::fetchRuns(), and RunList::fetchRunsByLocation().
|
private |
Definition at line 240 of file RunIOV.cc.
References cuy::dh, alignCSCRings::e, DateHandler::getPlusInfTm(), and DateHandler::tmToDate().
|
private |
Definition at line 330 of file RunIOV.cc.
References cuy::dh, alignCSCRings::e, DateHandler::getPlusInfTm(), and DateHandler::tmToDate().
|
private |
Definition at line 190 of file RunIOV.cc.
References cuy::dh, alignCSCRings::e, DateHandler::getPlusInfTm(), and DateHandler::tmToDate().
|
friend |
|
private |
Definition at line 59 of file RunIOV.h.
Referenced by getDBInsertionTime(), and setDBInsertionTime().
|
private |
Definition at line 57 of file RunIOV.h.
Referenced by operator==().
|
private |
Definition at line 55 of file RunIOV.h.
Referenced by operator==().
|
private |
Definition at line 56 of file RunIOV.h.
Referenced by operator==().
|
private |
Definition at line 58 of file RunIOV.h.
Referenced by operator==().