#include <ProductProvenanceLookup.h>
Definition at line 27 of file ProductProvenanceLookup.h.
◆ ProductProvenanceLookup() [1/2]
edm::ProductProvenanceLookup::ProductProvenanceLookup |
( |
| ) |
|
◆ ProductProvenanceLookup() [2/2]
◆ ~ProductProvenanceLookup()
edm::ProductProvenanceLookup::~ProductProvenanceLookup |
( |
| ) |
|
|
virtual |
◆ branchIDToProvenance()
Definition at line 59 of file ProductProvenanceLookup.cc.
62 return iEntry.branchID() < iValue;
64 if (itFound !=
entryInfoSet_.end() and itFound->branchID() == bid) {
65 if (
auto p = itFound->productProvenance()) {
75 std::set<ProductProvenance>
const* expected =
nullptr;
82 ProductProvenance ei(bid);
83 auto itRead = ptr->find(ei);
84 if (itRead != ptr->end()) {
90 return nr->branchIDToProvenance(bid);
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_().
◆ branchIDToProvenanceForProducedOnly()
◆ insertIntoSet()
void edm::ProductProvenanceLookup::insertIntoSet |
( |
ProductProvenance |
provenanceProduct | ) |
const |
Definition at line 42 of file ProductProvenanceLookup.cc.
51 [](
auto const& iEntry,
edm::BranchID const& iValue) {
return iEntry.branchID() < iValue; });
54 << entryInfo.branchID().id() <<
" that has not been pre-registered";
56 itFound->threadsafe_set(entryInfo.moveParentageID());
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().
◆ nextRetriever()
◆ operator=()
◆ readProvenance()
virtual std::unique_ptr<const std::set<ProductProvenance> > edm::ProductProvenanceLookup::readProvenance |
( |
| ) |
const |
|
protectedpure virtual |
◆ setupEntryInfoSet()
◆ update()
◆ entryInfoSet_
◆ parentProcessRetriever_
◆ readEntryInfoSet_
std::atomic<const std::set<ProductProvenance>*> edm::ProductProvenanceLookup::readEntryInfoSet_ |
|
mutableprotected |
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or