10 #include "cetlib/container_algorithms.h" 20 EventPrincipal::EventPrincipal(
23 cet::exempt_ptr<ProductTable const> presentProducts,
24 std::shared_ptr<History> history,
25 std::unique_ptr<BranchMapper>&& mapper,
26 std::unique_ptr<DelayedReader>&& rtrv,
27 bool const lastInSubRun)
29 history->processHistoryID(),
38 cet::exempt_ptr<EDProductGetterFinder const>{
this});
49 <<
"Tried to obtain a NULL subRunPrincipal.\n";
59 "EventPrincipal::throwIfExistingGroup")
60 <<
"Problem found while adding product provenance: " 77 std::unique_ptr<EDProduct>&& edp,
79 std::unique_ptr<ProductProvenance const>&& productProvenance)
91 return history_->eventSelectionIDs();
SubRunPrincipal const & subRunPrincipal() const
void setGroupFinder(cet::exempt_ptr< EDProductGetterFinder const > ep)
void put(std::unique_ptr< EDProduct > &&edp, BranchDescription const &pd, std::unique_ptr< ProductProvenance const > &&productProvenance)
void throwIfExistingGroup(BranchDescription const &pd) const
EventSelectionIDVector const & eventSelectionIDs() const
EventAuxiliary const & aux() const
cet::exempt_ptr< Group const > getGroup(ProductID const pid) const
History const & history() const
DelayedReader & productReader()
std::vector< EventSelectionID > EventSelectionIDVector
void addToProcessHistory()
BranchMapper const & branchMapper() const
cet::exempt_ptr< SubRunPrincipal const > subRunPrincipal_
std::string const & moduleLabel() const
result_t insert(std::unique_ptr< ProductProvenance const > &&)
BranchType branchType() const
ProductID productID() const
virtual void fillGroup(BranchDescription const &)=0
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
void fillGroup(BranchDescription const &) override
static RangeSet invalid()
std::string const & productInstanceName() const
std::string const & processName() const
std::shared_ptr< History > history_
std::string const & friendlyClassName() const
std::unique_ptr< Group > make_group(BranchDescription const &, ProductID const &, RangeSet &&)