12 std::shared_ptr<ProductRegistry const> reg,
15 unsigned int iRunIndex,
16 bool isForPrimaryProcess,
18 :
Base(reg, reg->productLookup(
InRun), pc,
InRun, historyAppender, isForPrimaryProcess),
21 if (mergeableRunProductProcesses) {
30 auto history = processHistoryRegistry.
getMapped(
aux_->processHistoryID());
33 for (
auto&
prod : *
this) {
48 if (
prod.get() ==
nullptr) {
50 <<
"putOrMerge: Cannot put because unique_ptr to product is null." void fillPrincipal(DelayedReader *reader)
edm::propagate_const< std::shared_ptr< RunAuxiliary > > aux_
void putOrMerge(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp) const
unsigned int ProductResolverIndex
unsigned int transitionIndex_() const override
ProductResolverBase * getExistingProduct(BranchID const &branchID)
unsigned int value() const
ProcessHistoryID m_reducedHistoryID
ProcessHistoryID const & reducedProcessHistoryID(ProcessHistoryID const &fullID) const
RunPrincipal(std::shared_ptr< RunAuxiliary > aux, std::shared_ptr< ProductRegistry const > reg, ProcessConfiguration const &pc, HistoryAppender *historyAppender, unsigned int iRunIndex, bool isForPrimaryProcess=true, MergeableRunProductProcesses const *mergeableRunProductProcesses=nullptr)
void put_(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp) const
edm::propagate_const< std::unique_ptr< MergeableRunProductMetadata > > mergeableRunProductMetadataPtr_
void put(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp) const
bool getMapped(ProcessHistoryID const &key, ProcessHistory &value) const
void fillRunPrincipal(ProcessHistoryRegistry const &processHistoryRegistry, DelayedReader *reader=nullptr)
ConstProductResolverPtr getProductResolverByIndex(ProductResolverIndex const &oid) const
DelayedReader * reader() const