SharedAnalyzer.cc
Go to the documentation of this file.
2 // vim: set sw=2 expandtab :
3 
4 namespace art {
5 
8  {
9  return "WorkerT<SharedAnalyzer>";
10  }
11 
12  void
14  {
15  createQueues(resources);
16  }
17 
18  void
20  ProcessingFrame const& frame)
21  {
22  respondToOpenInputFile(fb, frame);
23  }
24 
25  void
27  ProcessingFrame const& frame)
28  {
29  respondToCloseInputFile(fb, frame);
30  }
31 
32  void
34  FileBlock const& fb,
35  ProcessingFrame const& frame)
36  {
37  respondToOpenOutputFiles(fb, frame);
38  }
39 
40  void
42  FileBlock const& fb,
43  ProcessingFrame const& frame)
44  {
45  respondToCloseOutputFiles(fb, frame);
46  }
47 
48  void
50  {
51  beginJob(frame);
52  }
53 
54  void
56  {
57  endJob(frame);
58  }
59 
60  void
62  {
63  beginRun(r, frame);
64  }
65 
66  void
68  {
69  endRun(r, frame);
70  }
71 
72  void
74  ProcessingFrame const& frame)
75  {
76  beginSubRun(sr, frame);
77  }
78 
79  void
81  ProcessingFrame const& frame)
82  {
83  endSubRun(sr, frame);
84  }
85 
86  void
88  {
89  analyze(e, frame);
90  }
91 
92  void
94  {}
95 
96  void
98  {}
99 
100  void
102  ProcessingFrame const&)
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  {}
123 
124  void
126  {}
127 
128  void
130  {}
131 
132  void
134  {}
135 
136 } // namespace art
void endSubRunWithFrame(SubRun const &, ProcessingFrame const &) override final
virtual void analyze(Event const &, ProcessingFrame const &)=0
std::string string
Definition: nybbler.cc:12
virtual void beginRun(Run const &, ProcessingFrame const &)
virtual void respondToCloseOutputFiles(FileBlock const &, ProcessingFrame const &)
void beginSubRunWithFrame(SubRun const &, ProcessingFrame const &) override final
void endJobWithFrame(ProcessingFrame const &) override final
void beginRunWithFrame(Run const &, ProcessingFrame const &) override final
void setupQueues(detail::SharedResources const &resources) override final
Definition: Run.h:17
void endRunWithFrame(Run const &, ProcessingFrame const &) override final
void respondToCloseOutputFilesWithFrame(FileBlock const &, ProcessingFrame const &) override final
void respondToOpenInputFileWithFrame(FileBlock const &, ProcessingFrame const &) override final
const double e
virtual void beginJob(ProcessingFrame const &)
virtual void endJob(ProcessingFrame const &)
virtual void beginSubRun(SubRun const &, ProcessingFrame const &)
std::string workerType() const
void analyzeWithFrame(Event const &, ProcessingFrame const &) override final
void respondToOpenOutputFilesWithFrame(FileBlock const &, ProcessingFrame const &) override final
virtual void endRun(Run const &, ProcessingFrame const &)
void createQueues(SharedResources const &resources)
Definition: SharedModule.cc:34
virtual void endSubRun(SubRun const &, ProcessingFrame const &)
virtual void respondToOpenOutputFiles(FileBlock const &, ProcessingFrame const &)
void beginJobWithFrame(ProcessingFrame const &) override final
static constexpr double sr
Definition: Units.h:166
void respondToCloseInputFileWithFrame(FileBlock const &, ProcessingFrame const &) override final
virtual void respondToCloseInputFile(FileBlock const &, ProcessingFrame const &)
virtual void respondToOpenInputFile(FileBlock const &, ProcessingFrame const &)