LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Results.cc
Go to the documentation of this file.
2 // vim: set sw=2 expandtab :
3 
5 
6 namespace art {
7 
8  Results::~Results() = default;
9 
11  ModuleContext const& mc,
12  std::optional<ProductInserter> inserter)
13  : ProductRetriever{InResults, p, mc, false}, inserter_{std::move(inserter)}
14  {}
15 
16  void
18  {
19  assert(inserter_);
20  inserter_->commitProducts();
21  }
22 
23 } // namespace art
void commitProducts()
Definition: Results.cc:17
Definition: MVAAlg.h:12
std::optional< ProductInserter > inserter_
Definition: Results.h:66
Results(ResultsPrincipal const &p, ModuleContext const &mc, std::optional< ProductInserter > inserter=std::nullopt)
Definition: Results.cc:10