#include <RunIOV.h>
Public Member Functions | |
int | fetchID () noexcept(false) override |
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) override |
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 () override | |
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 |
|
overridevirtualnoexcept |
Implements IUniqueDBObject.
Definition at line 60 of file RunIOV.cc.
References cuy::dh, MillePedeFileConverter_cfg::e, DateHandler::getPlusInfTm(), and DateHandler::tmToDate().
Referenced by getID().
|
noexcept |
Definition at line 229 of file RunIOV.cc.
References cuy::dh, MillePedeFileConverter_cfg::e, and DateHandler::getPlusInfTm().
Referenced by getID().
|
inline |
|
inline |
Definition at line 35 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 49 of file RunIOV.cc.
Referenced by EcalCondDBWriter::dqmEndJob(), and EcalTPGDBApp::printIOV().
run_t RunIOV::getRunNumber | ( | ) | const |
Definition at line 31 of file RunIOV.cc.
Referenced by popcon::EcalADCToGeVHandler::getNewObjects(), popcon::EcalDCSHandler::getNewObjects(), EcalTPGDBApp::printIOV(), and EcalErrorMask::readDB().
Tm RunIOV::getRunStart | ( | ) | const |
Definition at line 40 of file RunIOV.cc.
Referenced by EcalCondDBWriter::dqmEndJob(), and EcalTPGDBApp::printIOV().
RunTag RunIOV::getRunTag | ( | ) | const |
Definition at line 58 of file RunIOV.cc.
Referenced by EcalCondDBWriter::dqmEndJob(), EcalCondDBReader::EcalCondDBReader(), EcalTPGDBApp::printIOV(), and EcalPedOffset::writeDb().
|
inline |
|
inline |
Definition at line 42 of file RunIOV.h.
References m_runEnd, m_runNum, m_runStart, and m_runTag.
|
overridevirtualnoexcept |
Implements IUniqueDBObject.
Definition at line 106 of file RunIOV.cc.
References DateHandler::dateToTm(), cuy::dh, MillePedeFileConverter_cfg::e, and triggerObjects_cff::id.
Referenced by LMFCorrCoefDat::fetchLastInsertedRun(), LMFSeqDat::fetchParentIDs(), getID(), and LMFSeqDat::getParameters().
|
privatenoexcept |
Definition at line 429 of file RunIOV.cc.
References DateHandler::dateToTm(), cuy::dh, MillePedeFileConverter_cfg::e, writedatasetfile::run, and GlobalPosition_Frontier_DevDB_cff::tag.
|
privatenoexcept |
Definition at line 475 of file RunIOV.cc.
References cuy::dh, MillePedeFileConverter_cfg::e, EcalCondDBWriter_cfi::location, and writedatasetfile::run.
Definition at line 314 of file RunIOV.cc.
References DateHandler::dateToTm(), cuy::dh, MillePedeFileConverter_cfg::e, writedatasetfile::run, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by EcalCondDBInterface::fetchRunIOV().
|
privatenoexcept |
Definition at line 393 of file RunIOV.cc.
References cuy::dh, MillePedeFileConverter_cfg::e, EcalCondDBWriter_cfi::location, and writedatasetfile::run.
|
privatenoexcept |
Definition at line 353 of file RunIOV.cc.
References cuy::dh, MillePedeFileConverter_cfg::e, EcalCondDBWriter_cfi::location, and OrderedSet::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 29 of file RunIOV.cc.
References triggerObjects_cff::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 42 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 22 of file RunIOV.cc.
References writedatasetfile::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 33 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 51 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 188 of file RunIOV.cc.
References cuy::dh, MillePedeFileConverter_cfg::e, DateHandler::getPlusInfTm(), DateHandler::tmToDate(), and GlobalTrackerMuonAlignment_cfi::writeDB.
|
privatenoexcept |
Definition at line 273 of file RunIOV.cc.
References cuy::dh, MillePedeFileConverter_cfg::e, DateHandler::getPlusInfTm(), DateHandler::tmToDate(), and GlobalTrackerMuonAlignment_cfi::writeDB.
|
privatenoexcept |
Definition at line 140 of file RunIOV.cc.
References cuy::dh, MillePedeFileConverter_cfg::e, DateHandler::getPlusInfTm(), and DateHandler::tmToDate().
|
friend |
|
private |
Definition at line 54 of file RunIOV.h.
Referenced by getDBInsertionTime(), and setDBInsertionTime().
|
private |
Definition at line 52 of file RunIOV.h.
Referenced by operator==().
|
private |
Definition at line 50 of file RunIOV.h.
Referenced by operator==().
|
private |
Definition at line 51 of file RunIOV.h.
Referenced by operator==().
|
private |
Definition at line 53 of file RunIOV.h.
Referenced by operator==().