EDProducer.cc
Go to the documentation of this file.
2 // vim: set sw=2 expandtab :
3 
4 namespace art {
5 
8  {
9  return "WorkerT<EDProducer>";
10  }
11 
12  void
14  {
15  createQueues(resources);
16  }
17 
18  void
20  ProcessingFrame const&)
21  {
23  }
24 
25  void
27  ProcessingFrame const&)
28  {
30  }
31 
32  void
34  ProcessingFrame const&)
35  {
37  }
38 
39  void
41  ProcessingFrame const&)
42  {
44  }
45 
46  void
48  {
49  beginJob();
50  }
51 
52  void
54  {
55  endJob();
56  }
57 
58  void
60  {
61  beginRun(r);
62  }
63 
64  void
66  {
67  endRun(r);
68  }
69 
70  void
72  {
73  beginSubRun(sr);
74  }
75 
76  void
78  {
79  endSubRun(sr);
80  }
81 
82  void
84  {
85  ScheduleIDSentry sentry{*this, frame.scheduleID()};
86  produce(e);
87  }
88 
89  // Default implementations
90  void
92  {}
93 
94  void
96  {}
97 
98  void
100  {}
101 
102  void
104  {}
105 
106  void
108  {}
109 
110  void
112  {}
113 
114  void
116  {}
117 
118  void
120  {}
121 
122  void
124  {}
125 
126  void
128  {}
129 
130 } // namespace art
void respondToCloseInputFileWithFrame(FileBlock const &, ProcessingFrame const &) override final
Definition: EDProducer.cc:26
virtual void endRun(Run &)
Definition: EDProducer.cc:119
void respondToOpenInputFileWithFrame(FileBlock const &, ProcessingFrame const &) override final
Definition: EDProducer.cc:19
std::string string
Definition: nybbler.cc:12
virtual void respondToCloseOutputFiles(FileBlock const &)
Definition: EDProducer.cc:111
virtual void beginRun(Run &)
Definition: EDProducer.cc:115
virtual void respondToOpenInputFile(FileBlock const &)
Definition: EDProducer.cc:99
void beginRunWithFrame(Run &, ProcessingFrame const &) override final
Definition: EDProducer.cc:59
std::string workerType() const
Definition: EDProducer.cc:7
void endRunWithFrame(Run &, ProcessingFrame const &) override final
Definition: EDProducer.cc:65
Definition: Run.h:17
auto scheduleID() const
void respondToOpenOutputFilesWithFrame(FileBlock const &, ProcessingFrame const &) override final
Definition: EDProducer.cc:33
const double e
virtual void endJob()
Definition: EDProducer.cc:95
virtual void endSubRun(SubRun &)
Definition: EDProducer.cc:127
void respondToCloseOutputFilesWithFrame(FileBlock const &, ProcessingFrame const &) override final
Definition: EDProducer.cc:40
virtual void beginJob()
Definition: EDProducer.cc:91
void createQueues(SharedResources const &resources)
Definition: SharedModule.cc:34
void endSubRunWithFrame(SubRun &, ProcessingFrame const &) override final
Definition: EDProducer.cc:77
virtual void respondToCloseInputFile(FileBlock const &)
Definition: EDProducer.cc:103
void beginSubRunWithFrame(SubRun &, ProcessingFrame const &) override final
Definition: EDProducer.cc:71
void produceWithFrame(Event &, ProcessingFrame const &) override final
Definition: EDProducer.cc:83
void setupQueues(detail::SharedResources const &resources) override final
Definition: EDProducer.cc:13
virtual void produce(Event &)=0
static constexpr double sr
Definition: Units.h:166
void endJobWithFrame(ProcessingFrame const &) override final
Definition: EDProducer.cc:53
void beginJobWithFrame(ProcessingFrame const &) override final
Definition: EDProducer.cc:47
virtual void beginSubRun(SubRun &)
Definition: EDProducer.cc:123
virtual void respondToOpenOutputFiles(FileBlock const &)
Definition: EDProducer.cc:107