11 : m_name(pset.getUntrackedParameter<std::
string>(
"name",
"DQMXMLFileSourceHandler")),
12 m_file(pset.getUntrackedParameter<std::
string>(
"XMLFile",
"./file.xml")),
13 m_zip(pset.getUntrackedParameter<bool>(
"zip",
false)),
14 m_since(pset.getUntrackedParameter<unsigned long long>(
"firstSince", 1)),
15 m_debugMode(pset.getUntrackedParameter<bool>(
"debug",
false)) {}
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;
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;
63 if (XMLFile->
size() != 0) {
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
std::string const & userTextLog() const
Log< level::Error, false > LogError
void getNewObjects() override
std::vector< std::pair< FileBlob *, Time_t > > m_to_transfer
DQMXMLFileSourceHandler(const edm::ParameterSet &pset)
cond::LogDBEntry_t const & logDBEntry() const
std::string destinationDB
Log< level::Info, false > LogInfo
~DQMXMLFileSourceHandler() override
std::string id() const override
std::unique_ptr< FileBlob > Ref
tuple size
Write out results.
cond::TagInfo_t const & tagInfo() const