Implements popcon::PopConSourceHandler< FileBlob >.
Definition at line 19 of file DQMXMLFileSourceHandler.cc.
References cond::LogDBEntry_t::destinationDB, cond::LogDBEntry_t::execmessage, cond::LogDBEntry_t::exectime, cond::LogDBEntry_t::iovtag, cond::LogDBEntry_t::iovtimetype, cond::TagInfo_t::lastInterval, popcon::PopConSourceHandler< FileBlob >::lastPayload(), popcon::PopConSourceHandler< FileBlob >::logDBEntry(), cond::LogDBEntry_t::logId, m_debugMode, m_file, m_name, m_since, popcon::PopConSourceHandler< FileBlob >::m_to_transfer, m_zip, cond::TagInfo_t::name, jetsAK4_Puppi_cff::payload, cond::LogDBEntry_t::payloadClass, cond::Iov_t::payloadId, cond::LogDBEntry_t::payloadIdx, cond::LogDBEntry_t::payloadToken, cond::LogDBEntry_t::provenance, cond::Iov_t::since, cond::TagInfo_t::size, contentValuesCheck::ss, popcon::PopConSourceHandler< FileBlob >::tagInfo(), cond::LogDBEntry_t::usertext, popcon::PopConSourceHandler< FileBlob >::userTextLog(), and ProducerSetup_cfi::XMLFile.
21 <<
"[DQMXMLFileSourceHandler::getNewObjects] for PopCon application " <<
m_name;
24 ss <<
"\n------- " <<
m_name <<
" - > getNewObjects\n";
30 <<
";\n last entry info regarding the payload (if existing):" 32 <<
",\n last record with the correct tag (if existing) has been written in the db " 40 ss <<
"size of last payload " <<
payload->size() << std::endl;
42 ss <<
" First object for this tag " << std::endl;
46 edm::LogInfo(
"DQMXMLFileSourceHandler") <<
"runnumber/first since = " <<
m_since << std::endl;
47 if (this->
tagInfo().size > 0 && m_since <= this->
tagInfo().lastInterval.since) {
49 <<
"[DQMXMLFileSourceHandler::getNewObjects] \nthe current starting iov " <<
m_since 52 <<
" \n NO TRANSFER NEEDED" << std::endl;
56 <<
"[DQMXMLFileSourceHandler::getNewObjects] " <<
m_name <<
" getting data to be transferred " << std::endl;
64 edm::LogInfo(
"DQMXMLFileSourceHandler") <<
"setting runnumber/first since = " <<
m_since << std::endl;
67 edm::LogError(
"DQMSummarySourceHandler") <<
"XML file " <<
m_file <<
" does not exist" << std::endl;
70 edm::LogInfo(
"DQMSummarySourceHandler") <<
"------- " <<
m_name <<
" - > getNewObjects" << std::endl;
unsigned long long m_since
Log< level::Error, false > LogError
cond::TagInfo_t const & tagInfo() const
std::vector< std::pair< FileBlob *, Time_t > > m_to_transfer
std::string destinationDB
Log< level::Info, false > LogInfo
cond::LogDBEntry_t const & logDBEntry() const
std::string const & userTextLog() const
std::unique_ptr< FileBlob > Ref