Definition at line 10 of file RunInfoHandler.h.
void RunInfoHandler::getNewObjects |
( |
| ) |
|
|
overridevirtual |
Implements popcon::PopConSourceHandler< RunInfo >.
Definition at line 19 of file RunInfoHandler.cc.
References RunInfoUpdate::appendNewRun(), popcon::PopConSourceHandler< RunInfo >::dbSession(), RunInfo::Fake_RunInfo(), cond::TagInfo_t::lastInterval, cond::TagInfo_t::lastPayloadToken, m_connectionPset, m_connectionString, m_dcsenv_schema, m_name, m_runinfo_schema, m_since, popcon::PopConSourceHandler< RunInfo >::m_to_transfer, popcon::PopConSourceHandler< RunInfo >::m_userTextLog, cond::TagInfo_t::name, alignCSCRings::r, RunInfoRead::readData(), cond::TagInfo_t::size, findQualityFiles::size, and popcon::PopConSourceHandler< RunInfo >::tagInfo().
21 edm::LogInfo(
"RunInfoHandler" ) <<
"[" <<
"RunInfoHandler::" << __func__ <<
"]:" <<
m_name <<
": " 26 edm::LogInfo(
"RunInfoHandler" ) <<
"[" <<
"RunInfoHandler::" << __func__ <<
"]:" <<
m_name <<
": runnumber/first since = " <<
m_since << std::endl;
33 edm::LogWarning(
"RunInfoHandler" ) <<
"[" <<
"RunInfoHandler::" << __func__ <<
"]:" <<
m_name <<
": " 36 <<
" the run proposed for insertion " <<
m_since 37 <<
". No transfer needed." << std::endl;
44 size_t n_empty_run = 0;
47 edm::LogInfo(
"RunInfoHandler" ) <<
"[" <<
"RunInfoHandler::" << __func__ <<
"]:" <<
m_name <<
": " 48 <<
"entering fake run from " 53 std::ostringstream ss;
57 ss <<
"fake run number: " << 1 <<
", ";
59 if ( n_empty_run != 0 ) {
68 ss <<
"run number: " << m_since <<
";";
70 edm::LogInfo(
"RunInfoHandler" ) <<
"[" <<
"RunInfoHandler::" << __func__ <<
"]:" <<
m_name <<
": END." << std::endl;
73 updater.appendNewRun( *r );
cond::persistency::Session & dbSession() const
unsigned long long m_since
std::string m_connectionString
std::string m_userTextLog
edm::ParameterSet m_connectionPset
OldContainer m_to_transfer
cond::ValidityInterval lastInterval
std::string lastPayloadToken
static RunInfo * Fake_RunInfo()
std::string m_dcsenv_schema
std::string m_runinfo_schema
cond::TagInfo_t const & tagInfo() const