#include <ProductProvenanceRetriever.h>
Public Member Functions | |
ProductProvenance const * | branchIDToProvenance (BranchID const &bid) const |
void | deepCopy (ProductProvenanceRetriever const &) |
void | insertIntoSet (ProductProvenance const &provenanceProduct) const |
void | mergeProvenanceRetrievers (std::shared_ptr< ProductProvenanceRetriever > other) |
ProductProvenanceRetriever & | operator= (ProductProvenanceRetriever const &)=delete |
ProductProvenanceRetriever (unsigned int iTransitionIndex) | |
ProductProvenanceRetriever (std::unique_ptr< ProvenanceReaderBase > reader) | |
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_ |
std::shared_ptr< const ProvenanceReaderBase > | provenanceReader_ |
std::atomic< const std::set < ProductProvenance > * > | readEntryInfoSet_ |
unsigned int | transitionIndex_ |
Definition at line 41 of file ProductProvenanceRetriever.h.
|
explicit |
Definition at line 13 of file ProductProvenanceRetriever.cc.
|
explicit |
Definition at line 21 of file ProductProvenanceRetriever.cc.
References assert(), and provenanceReader_.
edm::ProductProvenanceRetriever::~ProductProvenanceRetriever | ( | ) |
Definition at line 31 of file ProductProvenanceRetriever.cc.
References readEntryInfoSet_.
ProductProvenance const * edm::ProductProvenanceRetriever::branchIDToProvenance | ( | BranchID const & | bid | ) | const |
Definition at line 95 of file ProductProvenanceRetriever.cc.
References entryInfoSet_, nextRetriever_, readEntryInfoSet_, and readProvenance().
Referenced by edm::RootOutputFile::insertAncestors(), and edm::Provenance::productProvenance().
void edm::ProductProvenanceRetriever::deepCopy | ( | ProductProvenanceRetriever const & | iFrom | ) |
Definition at line 46 of file ProductProvenanceRetriever.cc.
References entryInfoSet_, nextRetriever_, provenanceReader_, readEntryInfoSet_, and transitionIndex_.
void edm::ProductProvenanceRetriever::insertIntoSet | ( | ProductProvenance const & | provenanceProduct | ) | const |
Definition at line 81 of file ProductProvenanceRetriever.cc.
References entryInfoSet_.
Referenced by edm::EventPrincipal::put(), and edm::EventPrincipal::putOnRead().
void edm::ProductProvenanceRetriever::mergeProvenanceRetrievers | ( | std::shared_ptr< ProductProvenanceRetriever > | other | ) |
Definition at line 90 of file ProductProvenanceRetriever.cc.
References nextRetriever_.
|
delete |
|
private |
Definition at line 36 of file ProductProvenanceRetriever.cc.
References provenanceReader_, readEntryInfoSet_, groupFilesInBlocks::temp, and transitionIndex_.
Referenced by branchIDToProvenance().
void edm::ProductProvenanceRetriever::reset | ( | void | ) |
Definition at line 71 of file ProductProvenanceRetriever.cc.
References entryInfoSet_, nextRetriever_, and readEntryInfoSet_.
|
inlineprivate |
Definition at line 61 of file ProductProvenanceRetriever.h.
References transitionIndex_.
|
mutableprivate |
Definition at line 65 of file ProductProvenanceRetriever.h.
Referenced by branchIDToProvenance(), deepCopy(), insertIntoSet(), and reset().
|
private |
Definition at line 67 of file ProductProvenanceRetriever.h.
Referenced by branchIDToProvenance(), deepCopy(), mergeProvenanceRetrievers(), and reset().
|
private |
Definition at line 68 of file ProductProvenanceRetriever.h.
Referenced by deepCopy(), ProductProvenanceRetriever(), and readProvenance().
|
mutableprivate |
Definition at line 66 of file ProductProvenanceRetriever.h.
Referenced by branchIDToProvenance(), deepCopy(), readProvenance(), reset(), and ~ProductProvenanceRetriever().
|
private |
Definition at line 69 of file ProductProvenanceRetriever.h.
Referenced by deepCopy(), readProvenance(), and setTransitionIndex().