#include <ProductProvenanceRetriever.h>
Public Member Functions | |
ProductProvenance const * | branchIDToProvenance (BranchID const &bid) const |
ProductProvenance const * | branchIDToProvenanceForProducedOnly (BranchID const &bid) const |
void | deepCopy (ProductProvenanceRetriever const &) |
void | insertIntoSet (ProductProvenance provenanceProduct) const |
void | mergeParentProcessRetriever (ProductProvenanceRetriever const &provRetriever) |
void | mergeProvenanceRetrievers (std::shared_ptr< ProductProvenanceRetriever > other) |
ProductProvenanceRetriever & | operator= (ProductProvenanceRetriever const &)=delete |
ProductProvenanceRetriever (unsigned int iTransitionIndex) | |
ProductProvenanceRetriever (std::unique_ptr< ProvenanceReaderBase > reader) | |
void | readProvenanceAsync (WaitingTask *task, ModuleCallingContext const *moduleCallingContext) const |
void | reset () |
~ProductProvenanceRetriever () | |
Private Member Functions | |
void | readProvenance () const |
void | setTransitionIndex (unsigned int transitionIndex) |
Private Attributes | |
tbb::concurrent_unordered_set< ProductProvenance, ProductProvenanceHasher, ProductProvenanceEqual > | entryInfoSet_ |
edm::propagate_const< std::shared_ptr< ProductProvenanceRetriever > > | nextRetriever_ |
edm::propagate_const< ProductProvenanceRetriever const * > | parentProcessRetriever_ |
std::shared_ptr< const ProvenanceReaderBase > | provenanceReader_ |
std::atomic< const std::set< ProductProvenance > * > | readEntryInfoSet_ |
unsigned int | transitionIndex_ |
Definition at line 55 of file ProductProvenanceRetriever.h.
|
explicit |
Definition at line 13 of file ProductProvenanceRetriever.cc.
|
explicit |
Definition at line 22 of file ProductProvenanceRetriever.cc.
References provenanceReader_.
edm::ProductProvenanceRetriever::~ProductProvenanceRetriever | ( | ) |
Definition at line 33 of file ProductProvenanceRetriever.cc.
References readEntryInfoSet_.
ProductProvenance const * edm::ProductProvenanceRetriever::branchIDToProvenance | ( | BranchID const & | bid | ) | const |
Definition at line 114 of file ProductProvenanceRetriever.cc.
References entryInfoSet_, nextRetriever_, parentProcessRetriever_, readEntryInfoSet_, and readProvenance().
Referenced by edm::RootOutputFile::fillBranches(), edm::RootOutputFile::insertAncestors(), and edm::Provenance::productProvenance().
ProductProvenance const * edm::ProductProvenanceRetriever::branchIDToProvenanceForProducedOnly | ( | BranchID const & | bid | ) | const |
Definition at line 139 of file ProductProvenanceRetriever.cc.
References entryInfoSet_, nextRetriever_, and parentProcessRetriever_.
Referenced by edm::PoolOutputModule::updateBranchParentsForOneBranch().
void edm::ProductProvenanceRetriever::deepCopy | ( | ProductProvenanceRetriever const & | iFrom | ) |
Definition at line 59 of file ProductProvenanceRetriever.cc.
References entryInfoSet_, nextRetriever_, provenanceReader_, readEntryInfoSet_, and transitionIndex_.
void edm::ProductProvenanceRetriever::insertIntoSet | ( | ProductProvenance | provenanceProduct | ) | const |
Definition at line 95 of file ProductProvenanceRetriever.cc.
References entryInfoSet_, and eostools::move().
Referenced by edm::EventPrincipal::put(), and edm::EventPrincipal::putOnRead().
void edm::ProductProvenanceRetriever::mergeParentProcessRetriever | ( | ProductProvenanceRetriever const & | provRetriever | ) |
Definition at line 109 of file ProductProvenanceRetriever.cc.
References parentProcessRetriever_.
void edm::ProductProvenanceRetriever::mergeProvenanceRetrievers | ( | std::shared_ptr< ProductProvenanceRetriever > | other | ) |
Definition at line 104 of file ProductProvenanceRetriever.cc.
References nextRetriever_, and trackingPlots::other.
|
delete |
|
private |
Definition at line 38 of file ProductProvenanceRetriever.cc.
References provenanceReader_, readEntryInfoSet_, groupFilesInBlocks::temp, and transitionIndex_.
Referenced by branchIDToProvenance().
void edm::ProductProvenanceRetriever::readProvenanceAsync | ( | WaitingTask * | task, |
ModuleCallingContext const * | moduleCallingContext | ||
) | const |
Definition at line 49 of file ProductProvenanceRetriever.cc.
References nextRetriever_, provenanceReader_, readEntryInfoSet_, and transitionIndex_.
Referenced by edm::PoolOutputModule::preActionBeforeRunEventAsync().
void edm::ProductProvenanceRetriever::reset | ( | void | ) |
Definition at line 84 of file ProductProvenanceRetriever.cc.
References entryInfoSet_, nextRetriever_, parentProcessRetriever_, and readEntryInfoSet_.
|
inlineprivate |
Definition at line 82 of file ProductProvenanceRetriever.h.
|
mutableprivate |
Definition at line 86 of file ProductProvenanceRetriever.h.
Referenced by branchIDToProvenance(), branchIDToProvenanceForProducedOnly(), deepCopy(), insertIntoSet(), and reset().
|
private |
Definition at line 88 of file ProductProvenanceRetriever.h.
Referenced by branchIDToProvenance(), branchIDToProvenanceForProducedOnly(), deepCopy(), mergeProvenanceRetrievers(), readProvenanceAsync(), and reset().
|
private |
Definition at line 89 of file ProductProvenanceRetriever.h.
Referenced by branchIDToProvenance(), branchIDToProvenanceForProducedOnly(), mergeParentProcessRetriever(), and reset().
|
private |
Definition at line 90 of file ProductProvenanceRetriever.h.
Referenced by deepCopy(), ProductProvenanceRetriever(), readProvenance(), and readProvenanceAsync().
|
mutableprivate |
Definition at line 87 of file ProductProvenanceRetriever.h.
Referenced by branchIDToProvenance(), deepCopy(), readProvenance(), readProvenanceAsync(), reset(), and ~ProductProvenanceRetriever().
|
private |
Definition at line 91 of file ProductProvenanceRetriever.h.
Referenced by deepCopy(), readProvenance(), and readProvenanceAsync().