#include <RunInfoUpdate.h>
Public Member Functions | |
void | appendNewRun (const RunInfo &run) |
size_t | import (size_t maxEntries, const std::string &tag, cond::persistency::Session &sourceSession) |
RunInfoUpdate (cond::persistency::Session &dbSession) | |
~RunInfoUpdate () | |
Private Attributes | |
cond::persistency::Session & | m_dbSession |
Definition at line 12 of file RunInfoUpdate.h.
|
explicit |
Definition at line 29 of file RunInfoUpdate.cc.
RunInfoUpdate::~RunInfoUpdate | ( | ) |
Definition at line 31 of file RunInfoUpdate.cc.
void RunInfoUpdate::appendNewRun | ( | const RunInfo & | run | ) |
Definition at line 33 of file RunInfoUpdate.cc.
References cond::persistency::Session::editRunInfo(), mps_fire::end, cond::persistency::RunInfoEditor::flush(), cond::persistency::RunInfoEditor::insertNew(), m_dbSession, submitPVValidationJobs::runInfo, and command_line::start.
Referenced by RunInfoHandler::getNewObjects().
size_t RunInfoUpdate::import | ( | size_t | maxEntries, |
const std::string & | tag, | ||
cond::persistency::Session & | sourceSession | ||
) |
Definition at line 47 of file RunInfoUpdate.cc.
References gather_cfg::cout, cond::persistency::Session::editRunInfo(), mps_fire::end, cond::persistency::Session::fetchPayload(), cond::persistency::RunInfoEditor::flush(), cond::persistency::RunInfoEditor::getLastInserted(), h, cond::persistency::RunInfoEditor::insert(), BeamSpotPI::lastRun, m_dbSession, cond::persistency::Session::readIov(), submitPVValidationJobs::runInfo, cond::persistency::IOVProxy::selectAll(), RawToDigi_cff::sourceTag, and command_line::start.
|
private |
Definition at line 22 of file RunInfoUpdate.h.
Referenced by appendNewRun(), and import().