#include <RunInfoProxy.h>
Classes | |
class | Iterator |
Public Types | |
typedef std::vector< std::tuple< Time_t, boost::posix_time::ptime, boost::posix_time::ptime > > | RunInfoData |
Public Member Functions | |
Iterator | begin () const |
Iterator | end () const |
Iterator | find (Time_t target) const |
Iterator | find (const boost::posix_time::ptime &target) const |
cond::RunInfo_t | get (Time_t target) const |
cond::RunInfo_t | get (const boost::posix_time::ptime &target) const |
void | load (Time_t low, Time_t up) |
void | load (const boost::posix_time::ptime &low, const boost::posix_time::ptime &up) |
RunInfoProxy & | operator= (const RunInfoProxy &rhs) |
void | reset () |
RunInfoProxy () | |
RunInfoProxy (const std::shared_ptr< SessionImpl > &session) | |
RunInfoProxy (const RunInfoProxy &rhs) | |
int | size () const |
Private Member Functions | |
void | checkTransaction (const std::string &ctx) |
Private Attributes | |
std::shared_ptr< RunInfoProxyData > | m_data |
std::shared_ptr< SessionImpl > | m_session |
Definition at line 26 of file RunInfoProxy.h.
typedef std::vector<std::tuple<Time_t, boost::posix_time::ptime, boost::posix_time::ptime> > cond::persistency::RunInfoProxy::RunInfoData |
Definition at line 28 of file RunInfoProxy.h.
RunInfoProxy::RunInfoProxy | ( | ) |
Definition at line 52 of file RunInfoProxy.cc.
|
explicit |
Definition at line 54 of file RunInfoProxy.cc.
RunInfoProxy::RunInfoProxy | ( | const RunInfoProxy & | rhs | ) |
Definition at line 57 of file RunInfoProxy.cc.
RunInfoProxy::Iterator RunInfoProxy::begin | ( | void | ) | const |
Definition at line 112 of file RunInfoProxy.cc.
References m_data.
|
private |
Definition at line 105 of file RunInfoProxy.cc.
References m_session, and cond::persistency::throwException().
Referenced by load().
RunInfoProxy::Iterator RunInfoProxy::end | ( | void | ) | const |
Definition at line 119 of file RunInfoProxy.cc.
References m_data.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and get().
RunInfoProxy::Iterator RunInfoProxy::find | ( | Time_t | target | ) | const |
Definition at line 142 of file RunInfoProxy.cc.
References pfDeepBoostedJetPreprocessParams_cfi::lower_bound, m_data, AlCaHLTBitMon_ParallelJobs::p, and filterCSVwithJSON::target.
Referenced by get().
RunInfoProxy::Iterator RunInfoProxy::find | ( | const boost::posix_time::ptime & | target | ) | const |
Definition at line 150 of file RunInfoProxy.cc.
References pfDeepBoostedJetPreprocessParams_cfi::lower_bound, m_data, AlCaHLTBitMon_ParallelJobs::p, and filterCSVwithJSON::target.
cond::RunInfo_t RunInfoProxy::get | ( | Time_t | target | ) | const |
Definition at line 159 of file RunInfoProxy.cc.
References end(), find(), filterCSVwithJSON::target, and cond::persistency::throwException().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), data_sources.json_list::first(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), data_sources.json_list::indices(), data_sources.json_list::last(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), util.rrapi.RRApi::reports(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
cond::RunInfo_t RunInfoProxy::get | ( | const boost::posix_time::ptime & | target | ) | const |
Definition at line 169 of file RunInfoProxy.cc.
References end(), find(), filterCSVwithJSON::target, and cond::persistency::throwException().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), data_sources.json_list::first(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), data_sources.json_list::indices(), data_sources.json_list::last(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), util.rrapi.RRApi::reports(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
Definition at line 66 of file RunInfoProxy.cc.
References checkTransaction(), LaserClient_cfi::low, m_data, m_session, reset(), AlCaHLTBitMon_QueryRunRegistry::string, cond::persistency::throwException(), to_string(), and up.
Referenced by MatrixToProcess.MatrixToProcess::getProcess(), cond::persistency::Session::getRunInfo(), MatrixToProcess.MatrixToProcess::listAll(), and ConfigBuilder.ConfigBuilder::prepare_FILTER().
void RunInfoProxy::load | ( | const boost::posix_time::ptime & | low, |
const boost::posix_time::ptime & | up | ||
) |
Definition at line 82 of file RunInfoProxy.cc.
References checkTransaction(), LaserClient_cfi::low, m_data, m_session, reset(), AlCaHLTBitMon_QueryRunRegistry::string, cond::persistency::throwException(), and up.
Referenced by MatrixToProcess.MatrixToProcess::getProcess(), MatrixToProcess.MatrixToProcess::listAll(), and ConfigBuilder.ConfigBuilder::prepare_FILTER().
RunInfoProxy & RunInfoProxy::operator= | ( | const RunInfoProxy & | rhs | ) |
Definition at line 59 of file RunInfoProxy.cc.
References m_data, and m_session.
void RunInfoProxy::reset | ( | void | ) |
Definition at line 99 of file RunInfoProxy.cc.
References m_data.
Referenced by MatrixReader.MatrixReader::__init__(), data_sources.json_list::__next__(), load(), and MatrixReader.MatrixReader::showRaw().
int RunInfoProxy::size | ( | void | ) | const |
Definition at line 179 of file RunInfoProxy.cc.
References m_data.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
private |
Definition at line 103 of file RunInfoProxy.h.
Referenced by begin(), end(), find(), load(), operator=(), reset(), and size().
|
private |
Definition at line 104 of file RunInfoProxy.h.
Referenced by checkTransaction(), load(), and operator=().