#include <MonRunList.h>
Public Member Functions | |
void | fetchLastNRuns (int max_run, int n_runs) throw (std::runtime_error) |
void | fetchRuns () throw (std::runtime_error) |
void | fetchRuns (int min_run, int max_run) throw (std::runtime_error) |
MonRunTag | getMonRunTag () const |
std::vector< MonRunIOV > | getRuns () |
RunTag | getRunTag () const |
MonRunList () | |
void | setMonRunTag (const MonRunTag &tag) |
void | setRunTag (const RunTag &tag) |
~MonRunList () | |
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 Attributes | |
MonRunTag | m_monrunTag |
RunTag | m_runTag |
std::vector< MonRunIOV > | m_vec_monruniov |
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 IDBObject | |
oracle::occi::Connection * | m_conn |
oracle::occi::Environment * | m_env |
Definition at line 16 of file MonRunList.h.
MonRunList::MonRunList | ( | ) |
MonRunList::~MonRunList | ( | ) |
Definition at line 19 of file MonRunList.cc.
void MonRunList::fetchLastNRuns | ( | int | max_run, |
int | n_runs | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 259 of file MonRunList.cc.
References gather_cfg::cout, DateHandler::dateToTm(), cuy::dh, alignCSCRings::e, i, alignCSCRings::r, reco::return(), MonRunIOV::setID(), RunIOV::setID(), MonRunIOV::setMonRunTag(), RunIOV::setRunEnd(), MonRunIOV::setRunIOV(), RunIOV::setRunNumber(), RunIOV::setRunStart(), RunIOV::setRunTag(), MonRunIOV::setSubRunEnd(), MonRunIOV::setSubRunNumber(), and MonRunIOV::setSubRunStart().
Referenced by EcalCondDBInterface::fetchMonRunListLastNRuns().
void MonRunList::fetchRuns | ( | ) | ||
throw | ( | std::runtime_error | ||
) |
Definition at line 52 of file MonRunList.cc.
References gather_cfg::cout, DateHandler::dateToTm(), cuy::dh, alignCSCRings::e, i, alignCSCRings::r, reco::return(), MonRunIOV::setID(), RunIOV::setID(), MonRunIOV::setMonRunTag(), RunIOV::setRunEnd(), MonRunIOV::setRunIOV(), RunIOV::setRunNumber(), RunIOV::setRunStart(), RunIOV::setRunTag(), MonRunIOV::setSubRunEnd(), MonRunIOV::setSubRunNumber(), and MonRunIOV::setSubRunStart().
Referenced by EcalCondDBInterface::fetchMonRunList().
void MonRunList::fetchRuns | ( | int | min_run, |
int | max_run | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 149 of file MonRunList.cc.
References gather_cfg::cout, DateHandler::dateToTm(), cuy::dh, alignCSCRings::e, i, alignCSCRings::r, reco::return(), MonRunIOV::setID(), RunIOV::setID(), MonRunIOV::setMonRunTag(), RunIOV::setRunEnd(), MonRunIOV::setRunIOV(), RunIOV::setRunNumber(), RunIOV::setRunStart(), RunIOV::setRunTag(), MonRunIOV::setSubRunEnd(), MonRunIOV::setSubRunNumber(), and MonRunIOV::setSubRunStart().
MonRunTag MonRunList::getMonRunTag | ( | ) | const |
Definition at line 41 of file MonRunList.cc.
std::vector< MonRunIOV > MonRunList::getRuns | ( | ) |
Definition at line 46 of file MonRunList.cc.
Referenced by popcon::EcalChannelStatusHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsH2(), popcon::EcalPedestalsHandler::getNewObjectsP5(), and EcalTPGDBApp::readFromCondDB_Pedestals().
RunTag MonRunList::getRunTag | ( | ) | const |
Definition at line 37 of file MonRunList.cc.
void MonRunList::setMonRunTag | ( | const MonRunTag & | tag | ) |
Definition at line 29 of file MonRunList.cc.
References GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by EcalCondDBInterface::fetchMonRunList(), EcalCondDBInterface::fetchMonRunListLastNRuns(), popcon::EcalChannelStatusHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsH2(), popcon::EcalPedestalsHandler::getNewObjectsP5(), and EcalTPGDBApp::readFromCondDB_Pedestals().
void MonRunList::setRunTag | ( | const RunTag & | tag | ) |
Definition at line 23 of file MonRunList.cc.
References GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by EcalCondDBInterface::fetchMonRunList(), EcalCondDBInterface::fetchMonRunListLastNRuns(), popcon::EcalChannelStatusHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsH2(), popcon::EcalPedestalsHandler::getNewObjectsP5(), and EcalTPGDBApp::readFromCondDB_Pedestals().
|
friend |
Definition at line 18 of file MonRunList.h.
|
private |
Definition at line 40 of file MonRunList.h.
|
private |
Definition at line 39 of file MonRunList.h.
|
private |
Definition at line 38 of file MonRunList.h.