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 edm::LogInfo(
"DQMXMLFileSourceHandler") <<
"[DQMXMLFileSourceHandler::getNewObjects] for PopCon application " <<
m_name;
24 ss <<
"\n------- " <<
m_name
25 <<
" - > getNewObjects\n";
34 <<
";\n last entry info regarding the payload (if existing):"
36 <<
",\n last record with the correct tag (if existing) has been written in the db " << this->
logDBEntry().
destinationDB
48 ss <<
"size of last payload " << payload->size() << std::endl;
50 ss <<
" First object for this tag " << std::endl;
54 edm::LogInfo(
"DQMXMLFileSourceHandler") <<
"runnumber/first since = " <<
m_since << std::endl;
55 if(m_since<=this->
tagInfo().lastInterval.first){
57 <<
"[DQMXMLFileSourceHandler::getNewObjects] \nthe current starting iov " <<
m_since
58 <<
"\nis not compatible with the last iov ("
66 <<
"[DQMXMLFileSourceHandler::getNewObjects] " <<
m_name <<
" getting data to be transferred " << std::endl;
73 if(XMLFile->
size() != 0){
74 edm::LogInfo(
"DQMXMLFileSourceHandler") <<
"setting runnumber/first since = " <<
m_since << std::endl;
77 edm::LogError(
"DQMSummarySourceHandler") <<
"XML file " <<
m_file <<
" does not exist" << std::endl;
80 <<
m_name <<
" - > getNewObjects"
unsigned long long m_since
std::string const & userTextLog() const
edm::Ref< Container > Ref
std::string destinationDB
std::string lastPayloadToken
OldContainer m_to_transfer
cond::TagInfo const & tagInfo() const
cond::LogDBEntry const & logDBEntry() const
~DQMXMLFileSourceHandler()
DQMXMLFileSourceHandler(const edm::ParameterSet &pset)
cond::ValidityInterval lastInterval
tuple size
Write out results.