#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 33 of file RunInfoUpdate.cc.
void RunInfoUpdate::appendNewRun | ( | const RunInfo & | run | ) |
Definition at line 35 of file RunInfoUpdate.cc.
References cond::persistency::Session::editRunInfo(), end, cond::persistency::RunInfoEditor::flush(), cond::persistency::RunInfoEditor::insertNew(), m_dbSession, RunInfo::m_run, 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 cond::persistency::IOVProxy::begin(), gather_cfg::cout, idDealer::editor, cond::persistency::Session::editRunInfo(), end, cond::persistency::IOVProxy::end(), cond::persistency::Session::fetchPayload(), cond::persistency::IOVProxy::find(), cond::persistency::RunInfoEditor::flush(), cond::persistency::RunInfoEditor::getLastInserted(), h, cond::persistency::RunInfoEditor::insert(), ntuplemaker::lastRun, m_dbSession, maxEntries, cond::persistency::Session::readIov(), and command_line::start.
|
private |
Definition at line 21 of file RunInfoUpdate.h.
Referenced by appendNewRun(), and import().