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) {
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_
unsigned int ProductResolverIndex
bool getMapped(ProcessHistoryID const &key, ProcessHistory &value) const
unsigned int transitionIndex_() const override
ProductResolverBase * getExistingProduct(BranchID const &branchID)
void put(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp) const
unsigned int value() const
ProcessHistoryID m_reducedHistoryID
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)
BranchID const & branchID() const
ProcessHistoryID const & reducedProcessHistoryID(ProcessHistoryID const &fullID) const
DelayedReader * reader() const
edm::propagate_const< std::unique_ptr< MergeableRunProductMetadata > > mergeableRunProductMetadataPtr_
ConstProductResolverPtr getProductResolverByIndex(ProductResolverIndex const &oid) const
void fillRunPrincipal(ProcessHistoryRegistry const &processHistoryRegistry, DelayedReader *reader=nullptr)
void putOrMerge(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp) const
void put_(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp) const