ReplicatedAnalyzer.cc
Go to the documentation of this file.
2 // vim: set sw=2 expandtab :
3 
4 namespace art {
5 
8  {
9  return "WorkerT<ReplicatedAnalyzer>";
10  }
11 
12  void
14  {
15  // For art 3.0, replicated modules will not have queues.
16  }
17 
18  void
20  FileBlock const& fb,
21  ProcessingFrame const& frame)
22  {
23  respondToOpenInputFile(fb, frame);
24  }
25 
26  void
28  FileBlock const& fb,
29  ProcessingFrame const& frame)
30  {
31  respondToCloseInputFile(fb, frame);
32  }
33 
34  void
36  FileBlock const& fb,
37  ProcessingFrame const& frame)
38  {
39  respondToOpenOutputFiles(fb, frame);
40  }
41 
42  void
44  FileBlock const& fb,
45  ProcessingFrame const& frame)
46  {
47  respondToCloseOutputFiles(fb, frame);
48  }
49 
50  void
52  {
53  beginJob(frame);
54  }
55 
56  void
58  {
59  endJob(frame);
60  }
61 
62  void
64  ProcessingFrame const& frame)
65  {
66  beginRun(r, frame);
67  }
68 
69  void
71  ProcessingFrame const& frame)
72  {
73  endRun(r, frame);
74  }
75 
76  void
78  ProcessingFrame const& frame)
79  {
80  beginSubRun(sr, frame);
81  }
82 
83  void
85  ProcessingFrame const& frame)
86  {
87  endSubRun(sr, frame);
88  }
89 
90  void
92  ProcessingFrame const& frame)
93  {
94  analyze(e, frame);
95  }
96 
97  void
99  {}
100 
101  void
103  {}
104 
105  void
107  ProcessingFrame const&)
108  {}
109 
110  void
112  ProcessingFrame const&)
113  {}
114 
115  void
117  ProcessingFrame const&)
118  {}
119 
120  void
122  ProcessingFrame const&)
123  {}
124 
125  void
127  {}
128 
129  void
131  {}
132 
133  void
135  {}
136 
137  void
139  {}
140 
141 } // namespace art
virtual void respondToOpenOutputFiles(FileBlock const &, ProcessingFrame const &)
void endJobWithFrame(ProcessingFrame const &) override final
std::string workerType() const
void setupQueues(detail::SharedResources const &resources) override final
virtual void respondToCloseInputFile(FileBlock const &, ProcessingFrame const &)
std::string string
Definition: nybbler.cc:12
virtual void endRun(Run const &, ProcessingFrame const &)
virtual void respondToOpenInputFile(FileBlock const &, ProcessingFrame const &)
void respondToOpenInputFileWithFrame(FileBlock const &, ProcessingFrame const &) override final
Definition: Run.h:17
virtual void analyze(Event const &, ProcessingFrame const &)=0
const double e
void endSubRunWithFrame(SubRun const &, ProcessingFrame const &) override final
virtual void respondToCloseOutputFiles(FileBlock const &, ProcessingFrame const &)
virtual void beginSubRun(SubRun const &, ProcessingFrame const &)
void analyzeWithFrame(Event const &, ProcessingFrame const &) override final
void beginRunWithFrame(Run const &, ProcessingFrame const &) override final
virtual void beginRun(Run const &, ProcessingFrame const &)
virtual void beginJob(ProcessingFrame const &)
void endRunWithFrame(Run const &, ProcessingFrame const &) override final
virtual void endSubRun(SubRun const &, ProcessingFrame const &)
void respondToCloseOutputFilesWithFrame(FileBlock const &, ProcessingFrame const &) override final
void beginJobWithFrame(ProcessingFrame const &) override final
void respondToOpenOutputFilesWithFrame(FileBlock const &, ProcessingFrame const &) override final
virtual void endJob(ProcessingFrame const &)
static constexpr double sr
Definition: Units.h:166
void respondToCloseInputFileWithFrame(FileBlock const &, ProcessingFrame const &) override final
void beginSubRunWithFrame(SubRun const &, ProcessingFrame const &) override final