#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 | fetchNonEmptyGlobalRuns () throw (std::runtime_error) |
void | fetchNonEmptyGlobalRuns (int min_run, int max_run) throw (std::runtime_error) |
void | fetchNonEmptyRuns () throw (std::runtime_error) |
void | fetchNonEmptyRuns (int min_run, int max_run) throw (std::runtime_error) |
void | fetchRuns () throw (std::runtime_error) |
void | fetchRuns (int min_run, int max_run) throw (std::runtime_error) |
void | fetchRuns (int min_run, int max_run, bool withTriggers, bool withGlobalTriggers) 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 354 of file RunList.cc.
References getBeamSpotDB::atag, gather_cfg::cout, DateHandler::dateToTm(), alignCSCRings::e, i, alignCSCRings::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 191 of file RunList.cc.
References gather_cfg::cout, DateHandler::dateToTm(), alignCSCRings::e, i, alignCSCRings::r, hitfit::return, RunIOV::setDBInsertionTime(), RunIOV::setID(), RunIOV::setRunEnd(), RunIOV::setRunNumber(), RunIOV::setRunStart(), and RunIOV::setRunTag().
Referenced by EcalCondDBInterface::fetchRunListLastNRuns().
void RunList::fetchNonEmptyGlobalRuns | ( | ) | ||
throw | ( | std::runtime_error | ||
) |
Definition at line 46 of file RunList.cc.
Referenced by EcalCondDBInterface::fetchNonEmptyGlobalRunList().
void RunList::fetchNonEmptyGlobalRuns | ( | int | min_run, |
int | max_run | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 58 of file RunList.cc.
void RunList::fetchNonEmptyRuns | ( | ) | ||
throw | ( | std::runtime_error | ||
) |
Definition at line 40 of file RunList.cc.
Referenced by EcalCondDBInterface::fetchNonEmptyRunList().
void RunList::fetchNonEmptyRuns | ( | int | min_run, |
int | max_run | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 52 of file RunList.cc.
void RunList::fetchRuns | ( | ) | ||
throw | ( | std::runtime_error | ||
) |
Definition at line 64 of file RunList.cc.
Referenced by EcalCondDBInterface::fetchRunList().
void RunList::fetchRuns | ( | int | min_run, |
int | max_run | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 70 of file RunList.cc.
void RunList::fetchRuns | ( | int | min_run, |
int | max_run, | ||
bool | withTriggers, | ||
bool | withGlobalTriggers | ||
) | |||
throw | ( | std::runtime_error | |
) |
Definition at line 76 of file RunList.cc.
References gather_cfg::cout, DateHandler::dateToTm(), alignCSCRings::e, i, alignCSCRings::r, hitfit::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 265 of file RunList.cc.
References getBeamSpotDB::atag, gather_cfg::cout, DateHandler::dateToTm(), alignCSCRings::e, i, alignCSCRings::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::EcalSRPHandler::getNewObjects(), popcon::EcalDAQHandler::getNewObjects(), popcon::EcalTPGBadTTHandler::getNewObjects(), popcon::EcalTPGWeightIdMapHandler::getNewObjects(), popcon::EcalTPGLinConstHandler::getNewObjects(), popcon::EcalTPGPhysicsConstHandler::getNewObjects(), popcon::EcalTPGBadStripHandler::getNewObjects(), popcon::EcalTPGLutIdMapHandler::getNewObjects(), popcon::EcalTPGFineGrainEBIdMapHandler::getNewObjects(), popcon::EcalTPGBadXTHandler::getNewObjects(), popcon::EcalTPGFineGrainTowerEEHandler::getNewObjects(), popcon::EcalTPGFineGrainEBGroupHandler::getNewObjects(), popcon::EcalTPGWeightGroupHandler::getNewObjects(), popcon::EcalTPGFineGrainStripEEHandler::getNewObjects(), popcon::EcalTPGSlidingWindowHandler::getNewObjects(), popcon::EcalTPGPedestalsHandler::getNewObjects(), popcon::EcalTPGSpikeThresholdHandler::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::fetchNonEmptyGlobalRunList(), EcalCondDBInterface::fetchNonEmptyRunList(), EcalCondDBInterface::fetchRunList(), EcalCondDBInterface::fetchRunListByLocation(), and EcalCondDBInterface::fetchRunListLastNRuns().
|
friend |