#include <RunList.h>
Public Member Functions | |
void | fetchGlobalRunsByLocation (int min_run, int max_run, const LocationDef locDef) throw (std::runtime_error) |
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) |
void | fetchRunsByLocation (int min_run, int max_run, const LocationDef locDef) throw (std::runtime_error) |
std::vector< RunIOV > | getRuns () |
RunTag | getRunTag () const |
RunList () | |
void | setRunTag (RunTag tag) |
~RunList () | |
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 | |
RunTag | m_runTag |
std::vector< RunIOV > | m_vec_runiov |
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 |
RunList::RunList | ( | ) |
RunList::~RunList | ( | ) |
Definition at line 18 of file RunList.cc.
void RunList::fetchGlobalRunsByLocation | ( | int | min_run, |
int | max_run, | ||
const LocationDef | locDef | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 300 of file RunList.cc.
References getBeamSpotDB::atag, gather_cfg::cout, DateHandler::dateToTm(), i, csvReporter::r, RunIOV::setDBInsertionTime(), RunTag::setGeneralTag(), RunIOV::setID(), RunTag::setLocationDef(), RunIOV::setRunEnd(), RunIOV::setRunNumber(), RunIOV::setRunStart(), RunIOV::setRunTag(), RunTypeDef::setRunType(), and RunTag::setRunTypeDef().
Referenced by EcalCondDBInterface::fetchGlobalRunListByLocation().
void RunList::fetchLastNRuns | ( | int | max_run, |
int | n_runs | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 137 of file RunList.cc.
References gather_cfg::cout, DateHandler::dateToTm(), i, csvReporter::r, mathSSE::return(), RunIOV::setDBInsertionTime(), RunIOV::setID(), RunIOV::setRunEnd(), RunIOV::setRunNumber(), RunIOV::setRunStart(), and RunIOV::setRunTag().
Referenced by EcalCondDBInterface::fetchRunListLastNRuns().
void RunList::fetchRuns | ( | ) | ||
throw | ( | std::runtime_error | ||
) |
Definition at line 40 of file RunList.cc.
Referenced by EcalCondDBInterface::fetchRunList().
void RunList::fetchRuns | ( | int | min_run, |
int | max_run | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 46 of file RunList.cc.
References gather_cfg::cout, DateHandler::dateToTm(), i, csvReporter::r, mathSSE::return(), RunIOV::setDBInsertionTime(), RunIOV::setID(), RunIOV::setRunEnd(), RunIOV::setRunNumber(), RunIOV::setRunStart(), and RunIOV::setRunTag().
void RunList::fetchRunsByLocation | ( | int | min_run, |
int | max_run, | ||
const LocationDef | locDef | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 211 of file RunList.cc.
References getBeamSpotDB::atag, gather_cfg::cout, DateHandler::dateToTm(), i, csvReporter::r, RunIOV::setDBInsertionTime(), RunTag::setGeneralTag(), RunIOV::setID(), RunTag::setLocationDef(), RunIOV::setRunEnd(), RunIOV::setRunNumber(), RunIOV::setRunStart(), RunIOV::setRunTag(), RunTypeDef::setRunType(), and RunTag::setRunTypeDef().
Referenced by EcalCondDBInterface::fetchRunListByLocation().
std::vector< RunIOV > RunList::getRuns | ( | ) |
Definition at line 35 of file RunList.cc.
Referenced by popcon::EcalDAQHandler::getNewObjects(), popcon::EcalTPGBadTTHandler::getNewObjects(), popcon::EcalTPGLinConstHandler::getNewObjects(), popcon::EcalTPGFineGrainEBIdMapHandler::getNewObjects(), popcon::EcalTPGLutIdMapHandler::getNewObjects(), popcon::EcalTPGPhysicsConstHandler::getNewObjects(), popcon::EcalTPGWeightIdMapHandler::getNewObjects(), popcon::EcalTPGBadXTHandler::getNewObjects(), popcon::EcalTPGFineGrainTowerEEHandler::getNewObjects(), popcon::EcalTPGFineGrainEBGroupHandler::getNewObjects(), popcon::EcalTPGWeightGroupHandler::getNewObjects(), popcon::EcalTPGPedestalsHandler::getNewObjects(), popcon::EcalTPGFineGrainStripEEHandler::getNewObjects(), popcon::EcalTPGSlidingWindowHandler::getNewObjects(), and popcon::EcalTPGLutGroupHandler::getNewObjects().
RunTag RunList::getRunTag | ( | ) | const |
Definition at line 30 of file RunList.cc.
void RunList::setRunTag | ( | RunTag | tag | ) |
Definition at line 22 of file RunList.cc.
References GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by EcalCondDBInterface::fetchGlobalRunListByLocation(), EcalCondDBInterface::fetchRunList(), EcalCondDBInterface::fetchRunListByLocation(), and EcalCondDBInterface::fetchRunListLastNRuns().
|
friend |