318 typedef std::vector<Provenance const*> Provenances;
319 Provenances provenances;
321 iEvent.getAllProvenance(provenances);
324 LogAbsolute(
"EventContent") <<
"\n" <<
indentation_ <<
"Event " << std::setw(5) <<
evno_ <<
" contains "
325 << provenances.size() <<
" product" << (provenances.size() == 1 ?
"" :
"s")
326 <<
" with friendlyClassName, moduleLabel, productInstanceName and processName:"
331 for(Provenances::iterator itProv = provenances.begin(), itProvEnd = provenances.end();
334 std::string
const&
className = (*itProv)->className();
336 std::string
const&
friendlyName = (*itProv)->friendlyClassName();
339 std::string
const& modLabel = (*itProv)->moduleLabel();
342 std::string
const& instanceName = (*itProv)->productInstanceName();
345 std::string
const& processName = (*itProv)->processName();
351 LogAbsolute(
"EventContent") <<
indentation_ << friendlyName
353 <<
"\" \"" << instanceName <<
"\" \""
354 << processName <<
"\""
355 <<
" (productId = " << (*itProv)->productID() <<
")"
359 std::string
key = friendlyName
360 + std::string(
" + \"") + modLabel
361 + std::string(
"\" + \"") + instanceName +
"\" \"" + processName +
"\"";
372 verboseIndentation_);
376 std::string class_and_label = friendlyName +
"_" + modLabel;
383 LogAbsolute(
"EventContent") << startIndent <<
" \"" << className <<
"\"" <<
" is an unknown type" << std::endl;
387 iEvent.getByLabel(InputTag(modLabel,
std::vector< std::string > getModuleLabels_
std::string verboseIndentation_
std::map< std::string, int > cumulates_
std::string friendlyName(std::string const &iFullName)
std::vector< std::string > moduleLabels_
bool binary_search_all(ForwardSequence const &s, Datum const &d)
wrappers for std::binary_search
std::string className(const T &t)