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