LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
ResultsPrincipal.h
Go to the documentation of this file.
1 #ifndef art_Framework_Principal_ResultsPrincipal_h
2 #define art_Framework_Principal_ResultsPrincipal_h
3 // vim: set sw=2:
4 
5 //
6 // ResultsPrincipal
7 //
8 // Manages per-file results data products.
9 //
10 // This is not visible to modules, instead they use the Results class,
11 // which is a proxy for this class.
12 //
13 
20 #include "cetlib/exempt_ptr.h"
21 #include <memory>
22 #include <vector>
23 
24 namespace art {
25  class ResultsPrincipal;
26 }
27 
28 class art::ResultsPrincipal final : public Principal {
29 public:
32 
34  ResultsAuxiliary const&,
35  ProcessConfiguration const&,
36  cet::exempt_ptr<ProductTable const> presentProducts,
37  std::unique_ptr<BranchMapper>&& mapper = std::make_unique<BranchMapper>(),
38  std::unique_ptr<DelayedReader>&& rtrv =
39  std::make_unique<NoDelayedReader>());
40 
41  ResultsAuxiliary const&
42  aux() const
43  {
44  return aux_;
45  }
46 
47  void put(std::unique_ptr<EDProduct>&&,
48  BranchDescription const&,
49  std::unique_ptr<ProductProvenance const>&&);
50 
51  void fillGroup(BranchDescription const&) override;
52 
53  BranchType branchType() const override;
54  RangeSet
55  seenRanges() const override
56  {
57  return RangeSet::invalid();
58  }
59 
60 private:
61  ProcessHistoryID const& processHistoryID() const override;
62 
63  void setProcessHistoryID(ProcessHistoryID const& phid) override;
64 
66 };
67 
68 #endif /* art_Framework_Principal_ResultsPrincipal_h */
69 
70 // Local Variables:
71 // mode: c++
72 // End:
static constexpr BranchType branch_type
RangeSet seenRanges() const override
static constexpr BranchType branch_type
ProcessHistoryID const & processHistoryID() const override
BranchType branchType() const override
ResultsPrincipal(ResultsAuxiliary const &, ProcessConfiguration const &, cet::exempt_ptr< ProductTable const > presentProducts, std::unique_ptr< BranchMapper > &&mapper=std::make_unique< BranchMapper >(), std::unique_ptr< DelayedReader > &&rtrv=std::make_unique< NoDelayedReader >())
ResultsAuxiliary aux_
void put(std::unique_ptr< EDProduct > &&, BranchDescription const &, std::unique_ptr< ProductProvenance const > &&)
static RangeSet invalid()
Definition: RangeSet.cc:46
BranchType
Definition: BranchType.h:18
void fillGroup(BranchDescription const &) override
ResultsAuxiliary const & aux() const
HLT enums.
void setProcessHistoryID(ProcessHistoryID const &phid) override