#include <ProductProvenanceLookup.h>
Classes | |
class | ProducedProvenanceInfo |
Public Member Functions | |
ProductProvenance const * | branchIDToProvenance (BranchID const &bid) const |
ProductProvenance const * | branchIDToProvenanceForProducedOnly (BranchID const &bid) const |
void | insertIntoSet (ProductProvenance provenanceProduct) const |
ProductProvenanceLookup & | operator= (ProductProvenanceLookup const &)=delete |
ProductProvenanceLookup () | |
ProductProvenanceLookup (edm::ProductRegistry const &) | |
void | update (edm::ProductRegistry const &) |
virtual | ~ProductProvenanceLookup () |
Protected Member Functions | |
virtual const ProductProvenanceLookup * | nextRetriever () const =0 |
virtual std::unique_ptr< const std::set< ProductProvenance > > | readProvenance () const =0 |
Protected Attributes | |
std::vector< ProducedProvenanceInfo > | entryInfoSet_ |
edm::propagate_const< ProductProvenanceLookup const * > | parentProcessRetriever_ |
std::atomic< const std::set< ProductProvenance > * > | readEntryInfoSet_ |
Private Member Functions | |
void | setupEntryInfoSet (edm::ProductRegistry const &) |
Definition at line 27 of file ProductProvenanceLookup.h.
edm::ProductProvenanceLookup::ProductProvenanceLookup | ( | ) |
Definition at line 12 of file ProductProvenanceLookup.cc.
|
explicit |
Definition at line 15 of file ProductProvenanceLookup.cc.
References setupEntryInfoSet().
|
virtual |
Definition at line 20 of file ProductProvenanceLookup.cc.
References readEntryInfoSet_.
ProductProvenance const * edm::ProductProvenanceLookup::branchIDToProvenance | ( | BranchID const & | bid | ) | const |
Definition at line 59 of file ProductProvenanceLookup.cc.
References entryInfoSet_, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, nextRetriever(), EgHLTOffHistBins_cfi::nr, AlCaHLTBitMon_ParallelJobs::p, parentProcessRetriever_, readEntryInfoSet_, and readProvenance().
Referenced by edm::RootOutputFile::fillBranches(), edm::RootOutputFile::insertAncestors(), edm::Provenance::productProvenance(), and edm::ParentProcessProductResolver::productProvenancePtr_().
ProductProvenance const * edm::ProductProvenanceLookup::branchIDToProvenanceForProducedOnly | ( | BranchID const & | bid | ) | const |
Definition at line 95 of file ProductProvenanceLookup.cc.
References entryInfoSet_, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, nextRetriever(), EgHLTOffHistBins_cfi::nr, AlCaHLTBitMon_ParallelJobs::p, and parentProcessRetriever_.
Referenced by edm::PoolOutputModule::updateBranchParentsForOneBranch().
void edm::ProductProvenanceLookup::insertIntoSet | ( | ProductProvenance | provenanceProduct | ) | const |
Definition at line 42 of file ProductProvenanceLookup.cc.
References edm::ProductProvenance::branchID(), entryInfoSet_, Exception, edm::BranchID::id(), edm::errors::LogicError, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, edm::ProductProvenance::moveParentageID(), or, and UNLIKELY.
Referenced by edm::EventPrincipal::put(), edm::EventPrincipal::putOnRead(), and edm::SwitchBaseProductResolver::unsafe_setWrapperAndProvenance().
|
protectedpure virtual |
Implemented in edm::ProductProvenanceRetriever.
Referenced by branchIDToProvenance(), and branchIDToProvenanceForProducedOnly().
|
delete |
|
protectedpure virtual |
Implemented in edm::ProductProvenanceRetriever.
Referenced by branchIDToProvenance().
|
private |
Definition at line 22 of file ProductProvenanceLookup.cc.
References b, entryInfoSet_, edm::InEvent, or, AlCaHLTBitMon_ParallelJobs::p, and edm::ProductRegistry::productList().
Referenced by ProductProvenanceLookup(), and update().
void edm::ProductProvenanceLookup::update | ( | edm::ProductRegistry const & | iReg | ) |
Definition at line 37 of file ProductProvenanceLookup.cc.
References entryInfoSet_, and setupEntryInfoSet().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), dqm-mbProfile.Profile::finish(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
protected |
Definition at line 97 of file ProductProvenanceLookup.h.
Referenced by branchIDToProvenance(), branchIDToProvenanceForProducedOnly(), edm::ProductProvenanceRetriever::deepCopy(), insertIntoSet(), edm::ProductProvenanceRetriever::reset(), setupEntryInfoSet(), and update().
|
protected |
Definition at line 99 of file ProductProvenanceLookup.h.
Referenced by branchIDToProvenance(), branchIDToProvenanceForProducedOnly(), edm::ProductProvenanceRetriever::mergeParentProcessRetriever(), and edm::ProductProvenanceRetriever::reset().
|
mutableprotected |
Definition at line 98 of file ProductProvenanceLookup.h.
Referenced by branchIDToProvenance(), edm::ProductProvenanceRetriever::deepCopy(), edm::ProductProvenanceRetriever::reset(), and ~ProductProvenanceLookup().