18 using namespace fhicl;
26 record_parents(Event*)
30 [[gnu::unused]] constexpr
bool 31 record_parents(Event
const*)
37 newSubRun(EventPrincipal
const& ep,
38 ModuleDescription
const& md,
39 cet::exempt_ptr<Consumer> consumer)
41 return ep.subRunPrincipalExemptPtr() ?
42 new SubRun{ep.subRunPrincipal(), md, consumer} :
49 cet::exempt_ptr<Consumer> consumer,
51 :
Event{ep, md, consumer}
56 cet::exempt_ptr<Consumer> consumer)
59 ,
subRun_{newSubRun(ep, md, consumer)}
74 <<
"Tried to obtain a NULL subRun.\n";
106 <<
" is claimed to describe " <<
id()
107 <<
"\nbut is not found in the ProcessHistoryRegistry.\n" 108 "This file is malformed.\n";
112 bool const process_found{
117 return process_found;
122 bool const checkProducts,
123 std::set<TypeLabel>
const& expectedProducts)
132 auto const& pd = elem.second.pd;
133 auto productProvenancePtr = make_unique<ProductProvenance const>(
135 ep.
put(std::move(elem.second.prod), pd, std::move(productProvenancePtr));
bool getProcessParameterSet(std::string const &processName, fhicl::ParameterSet &ps) const
void put(std::unique_ptr< EDProduct > &&edp, BranchDescription const &pd, std::unique_ptr< ProductProvenance const > &&productProvenance)
History const & history() const
ProcessHistoryID const & processHistoryID() const
bool getConfigurationForProcess(std::string const &name, ProcessConfiguration &config) const
EDProductGetter const * productGetter(ProductID const) const
History const & history() const
static collection_type const & get()
Run const & getRun() const
EventPrincipal const & eventPrincipal_
EventAuxiliary const & aux_
Run const & getRun() const
std::unique_ptr< SubRun const > const subRun_
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
EDProductGetter const * productGetter(ProductID const pid) const
TypeLabelMap & putProducts()
RetrievedProductIDs retrievedProductIDs() const
void commit(EventPrincipal &, bool checkPutProducts, std::set< TypeLabel > const &expectedProducts)
ProcessHistoryID const & processHistoryID() const
void checkPutProducts(bool checkProducts, std::set< TypeLabel > const &expectedProducts, TypeLabelMap const &putProducts)
SubRun const & getSubRun() const
Event(EventPrincipal const &ep, ModuleDescription const &md, cet::exempt_ptr< Consumer > consumer, RangeSet const &rs)
fhicl::ParameterSetID const & parameterSetID() const