|
virtual void | analyze (Event const &, EventSetup const &) override |
|
virtual void | endJob () override |
|
| EventContentAnalyzer (ParameterSet const &) |
|
| ~EventContentAnalyzer () |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
virtual | ~EDAnalyzer () |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
Definition at line 262 of file EventContentAnalyzer.cc.
void edm::EventContentAnalyzer::analyze |
( |
Event const & |
iEvent, |
|
|
EventSetup const & |
|
|
) |
| |
|
overridevirtual |
Implements edm::EDAnalyzer.
Definition at line 335 of file EventContentAnalyzer.cc.
References edm::binary_search_all(), className(), cumulates_, evno_, edm::friendlyname::friendlyName(), edm::Event::getAllStableProvenance(), edm::Event::getByLabel(), getData_, getModuleLabels_, cmsBatch::handle, indentation_, MuonErrorMatrixAdjuster_cfi::instanceName, crabWrapper::key, listContent_, moduleLabels_, modifiedElectrons_cfi::processName, AlCaHLTBitMon_QueryRunRegistry::string, verbose_, and verboseIndentation_.
336 typedef std::vector<StableProvenance const*> Provenances;
337 Provenances provenances;
339 iEvent.getAllStableProvenance(provenances);
342 LogAbsolute(
"EventContent") <<
"\n" <<
indentation_ <<
"Event " << std::setw(5) <<
evno_ <<
" contains " 343 << provenances.size() <<
" product" << (provenances.size() == 1 ?
"" :
"s")
344 <<
" with friendlyClassName, moduleLabel, productInstanceName and processName:" 349 for(
auto const& provenance : provenances) {
355 std::string const& modLabel = provenance->moduleLabel();
367 LogAbsolute(
"EventContent") <<
indentation_ << friendlyName
369 <<
"\" \"" << instanceName <<
"\" \"" 370 << processName <<
"\"" 371 <<
" (productId = " << provenance->productID() <<
")" 377 +
std::string(
"\" + \"") + instanceName +
"\" \"" + processName +
"\"";
388 verboseIndentation_);
392 std::string class_and_label = friendlyName +
"_" + modLabel;
399 LogAbsolute(
"EventContent") << startIndent <<
" \"" << className <<
"\"" <<
" is an unknown type" << std::endl;
403 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)