#include <RunIOV.h>
Public Member Functions | |
int | fetchID () noexcept(false) |
int | fetchIDByRunAndTag () noexcept(false) |
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) noexcept(false) |
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) noexcept(false) |
void | setByRecentData (std::string dataTable, std::string location, run_t run) noexcept(false) |
void | setByRun (RunTag *tag, run_t run) noexcept(false) |
void | setByRun (std::string location, run_t run) noexcept(false) |
void | setByTime (std::string location, const Tm &t) noexcept(false) |
int | updateEndTimeDB () noexcept(false) |
int | updateStartTimeDB () noexcept(false) |
int | writeDB () noexcept(false) |
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 noexcept(false) |
Protected Attributes inherited from IUniqueDBObject | |
int | m_ID |
Protected Attributes inherited from IDBObject | |
oracle::occi::Connection * | m_conn |
oracle::occi::Environment * | m_env |
|
virtualnoexcept |
Implements IUniqueDBObject.
Definition at line 103 of file RunIOV.cc.
References cuy::dh, MillePedeFileConverter_cfg::e, DateHandler::getPlusInfTm(), and DateHandler::tmToDate().
Referenced by getID().
|
noexcept |
Definition at line 284 of file RunIOV.cc.
References cuy::dh, MillePedeFileConverter_cfg::e, and DateHandler::getPlusInfTm().
Referenced by getID().
|
inline |
|
inline |
Definition at line 36 of file RunIOV.h.
References fetchID(), fetchIDByRunAndTag(), IUniqueDBObject::m_ID, noexcept, and setByID().
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 EcalCondDBWriter::dqmEndJob(), and 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 EcalCondDBWriter::dqmEndJob(), and EcalTPGDBApp::printIOV().
RunTag RunIOV::getRunTag | ( | ) | const |
Definition at line 96 of file RunIOV.cc.
Referenced by EcalCondDBWriter::dqmEndJob(), EcalCondDBReader::EcalCondDBReader(), EcalTPGDBApp::printIOV(), and EcalPedOffset::writeDb().
|
inline |
|
inline |
|
virtualnoexcept |
Implements IUniqueDBObject.
Definition at line 152 of file RunIOV.cc.
References DateHandler::dateToTm(), cuy::dh, MillePedeFileConverter_cfg::e, and hcalTTPDigis_cfi::id.
Referenced by LMFCorrCoefDat::fetchLastInsertedRun(), LMFSeqDat::fetchParentIDs(), getID(), and LMFSeqDat::getParameters().
|
privatenoexcept |
Definition at line 496 of file RunIOV.cc.
References DateHandler::dateToTm(), cuy::dh, MillePedeFileConverter_cfg::e, findQualityFiles::run, and GlobalPosition_Frontier_DevDB_cff::tag.
|
privatenoexcept |
Definition at line 546 of file RunIOV.cc.
References cuy::dh, MillePedeFileConverter_cfg::e, and findQualityFiles::run.
Definition at line 376 of file RunIOV.cc.
References DateHandler::dateToTm(), cuy::dh, MillePedeFileConverter_cfg::e, findQualityFiles::run, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by EcalCondDBInterface::fetchRunIOV().
|
privatenoexcept |
Definition at line 458 of file RunIOV.cc.
References cuy::dh, MillePedeFileConverter_cfg::e, and findQualityFiles::run.
|
privatenoexcept |
Definition at line 417 of file RunIOV.cc.
References cuy::dh, MillePedeFileConverter_cfg::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.
References hcalTTPDigis_cfi::id.
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 findQualityFiles::run.
Referenced by EcalCondDBWriter::dqmEndJob(), 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 command_line::start.
Referenced by EcalCondDBWriter::dqmEndJob(), 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 EcalCondDBWriter::dqmEndJob(), RunList::fetchGlobalRunsByLocation(), MonRunList::fetchLastNRuns(), RunList::fetchLastNRuns(), MonRunList::fetchRuns(), RunList::fetchRuns(), and RunList::fetchRunsByLocation().
|
privatenoexcept |
Definition at line 240 of file RunIOV.cc.
References cuy::dh, MillePedeFileConverter_cfg::e, DateHandler::getPlusInfTm(), DateHandler::tmToDate(), and GlobalTrackerMuonAlignment_cfi::writeDB.
|
privatenoexcept |
Definition at line 330 of file RunIOV.cc.
References cuy::dh, MillePedeFileConverter_cfg::e, DateHandler::getPlusInfTm(), DateHandler::tmToDate(), and GlobalTrackerMuonAlignment_cfi::writeDB.
|
privatenoexcept |
Definition at line 190 of file RunIOV.cc.
References cuy::dh, MillePedeFileConverter_cfg::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==().