EDAnalyzer.cc
Go to the documentation of this file.
2 // vim: set sw=2 expandtab :
3 
4 namespace art {
5 
8  {
9  return "WorkerT<EDAnalyzer>";
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  analyze(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
virtual void beginRun(Run const &)
Definition: EDAnalyzer.cc:115
std::string string
Definition: nybbler.cc:12
virtual void analyze(Event const &)=0
virtual void respondToCloseInputFile(FileBlock const &)
Definition: EDAnalyzer.cc:103
void endRunWithFrame(Run const &, ProcessingFrame const &) override final
Definition: EDAnalyzer.cc:65
void respondToOpenOutputFilesWithFrame(FileBlock const &, ProcessingFrame const &) override final
Definition: EDAnalyzer.cc:33
virtual void endRun(Run const &)
Definition: EDAnalyzer.cc:119
void beginJobWithFrame(ProcessingFrame const &) override final
Definition: EDAnalyzer.cc:47
virtual void endJob()
Definition: EDAnalyzer.cc:95
void analyzeWithFrame(Event const &, ProcessingFrame const &) override final
Definition: EDAnalyzer.cc:83
Definition: Run.h:17
virtual void endSubRun(SubRun const &)
Definition: EDAnalyzer.cc:127
auto scheduleID() const
void respondToCloseOutputFilesWithFrame(FileBlock const &, ProcessingFrame const &) override final
Definition: EDAnalyzer.cc:40
virtual void beginJob()
Definition: EDAnalyzer.cc:91
const double e
void endJobWithFrame(ProcessingFrame const &) override final
Definition: EDAnalyzer.cc:53
std::string workerType() const
Definition: EDAnalyzer.cc:7
virtual void respondToCloseOutputFiles(FileBlock const &)
Definition: EDAnalyzer.cc:111
void endSubRunWithFrame(SubRun const &, ProcessingFrame const &) override final
Definition: EDAnalyzer.cc:77
virtual void beginSubRun(SubRun const &)
Definition: EDAnalyzer.cc:123
void setupQueues(detail::SharedResources const &) override final
Definition: EDAnalyzer.cc:13
void respondToOpenInputFileWithFrame(FileBlock const &, ProcessingFrame const &) override final
Definition: EDAnalyzer.cc:19
void createQueues(SharedResources const &resources)
Definition: SharedModule.cc:34
void beginRunWithFrame(Run const &, ProcessingFrame const &) override final
Definition: EDAnalyzer.cc:59
virtual void respondToOpenOutputFiles(FileBlock const &)
Definition: EDAnalyzer.cc:107
void respondToCloseInputFileWithFrame(FileBlock const &, ProcessingFrame const &) override final
Definition: EDAnalyzer.cc:26
virtual void respondToOpenInputFile(FileBlock const &)
Definition: EDAnalyzer.cc:99
void beginSubRunWithFrame(SubRun const &, ProcessingFrame const &) override final
Definition: EDAnalyzer.cc:71
static constexpr double sr
Definition: Units.h:166