ProducingService.cc
Go to the documentation of this file.
2 // vim: set sw=2 expandtab :
3 
12 
13 namespace art {
14 
17  {}
18  ProducingService::~ProducingService() noexcept = default;
19 
20  void
22  {
23  // We choose the one-argument constructor since the path
24  // information is irrelevant when the doPostRead* functions are
25  // invoked.
26  mc_ = ModuleContext{md};
27  }
28 
29  void
31  {
35  }
36 
37  void
39  {
40  Run r{rp, mc_, RangeSet::forRun(rp.runID())};
41  postReadRun(r);
42  r.movePutProductsToPrincipal(rp);
43  }
44 
45  void
47  {
50  sr.movePutProductsToPrincipal(srp);
51  }
52 
53  void
55  {
56  Event e{ep, mc_};
58  e.movePutProductsToPrincipal(ep, true, &expectedProducts<InEvent>());
59  }
60 
61  void
63  {}
64 
65  void
67  {}
68 
69  void
71  {}
72 
73 } // namespace art
virtual void postReadEvent(Event &)
RunID const & runID() const
Definition: Principal.cc:1052
void doPostReadSubRun(SubRunPrincipal &)
virtual ~ProducingService() noexcept
void doPostReadEvent(EventPrincipal &)
Definition: Run.h:17
GlobalSignal< detail::SignalResponseType::LIFO, void(SubRunPrincipal &)> sPostReadSubRun
static RangeSet forSubRun(SubRunID)
Definition: RangeSet.cc:57
const double e
SubRunID subRunID() const
Definition: Principal.cc:1058
void setModuleDescription(ModuleDescription const &)
virtual void postReadRun(Run &)
void registerCallbacks(ProducingServiceSignals &)
void doPostReadRun(RunPrincipal &)
static constexpr double sr
Definition: Units.h:166
virtual void postReadSubRun(SubRun &)
static RangeSet forRun(RunID)
Definition: RangeSet.cc:51
GlobalSignal< detail::SignalResponseType::LIFO, void(EventPrincipal &)> sPostReadEvent
GlobalSignal< detail::SignalResponseType::LIFO, void(RunPrincipal &)> sPostReadRun