LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
RunPrincipal.h
Go to the documentation of this file.
1 #ifndef art_Framework_Principal_RunPrincipal_h
2 #define art_Framework_Principal_RunPrincipal_h
3 // vim: set sw=2 expandtab :
4 
10 #include "cetlib/exempt_ptr.h"
11 
12 #include <memory>
13 
14 namespace art {
15 
16  class RunPrincipal final : public Principal {
17  public:
20 
21  ~RunPrincipal();
23  RunAuxiliary const&,
24  ProcessConfiguration const&,
25  cet::exempt_ptr<ProductTable const>,
26  std::unique_ptr<DelayedReader>&& = std::make_unique<NoDelayedReader>());
27 
28  Run makeRun(ModuleContext const& mc,
29  RangeSet const& rs = RangeSet::invalid());
30  Run makeRun(ModuleContext const& mc) const;
31 
32  Timestamp const& beginTime() const;
33  Timestamp const& endTime() const;
34  RunID runID() const;
35  RunNumber_t run() const;
36  RunAuxiliary const& runAux() const;
38 
39  void createGroupsForProducedProducts(ProductTables const& producedProducts);
40 
41  private:
43  };
44 
45 } // namespace art
46 
47 // Local Variables:
48 // mode: c++
49 // End:
50 #endif /* art_Framework_Principal_RunPrincipal_h */
static constexpr BranchType branch_type
Definition: RunPrincipal.h:19
RunAuxiliary const & runAux() const
Definition: RunPrincipal.cc:48
RunAuxiliary aux_
Definition: RunPrincipal.h:42
Definition: Run.h:37
void updateSeenRanges(RangeSet const &rs)
Definition: Principal.cc:707
Timestamp const & endTime() const
Definition: RunPrincipal.cc:42
void createGroupsForProducedProducts(ProductTables const &producedProducts)
Definition: RunPrincipal.cc:66
Run makeRun(ModuleContext const &mc, RangeSet const &rs=RangeSet::invalid())
Definition: RunPrincipal.cc:24
Timestamp const & beginTime() const
Definition: RunPrincipal.cc:36
RunNumber_t run() const
Definition: RunPrincipal.cc:60
static RangeSet invalid()
Definition: RangeSet.cc:45
BranchType
Definition: BranchType.h:20
Definition: MVAAlg.h:12
static constexpr BranchType branch_type
Definition: RunAuxiliary.h:19
RunPrincipal(RunAuxiliary const &, ProcessConfiguration const &, cet::exempt_ptr< ProductTable const >, std::unique_ptr< DelayedReader > &&=std::make_unique< NoDelayedReader >())
Definition: RunPrincipal.cc:9
RunID runID() const
Definition: RunPrincipal.cc:54
IDNumber_t< Level::Run > RunNumber_t
Definition: IDNumber.h:120