52 module().doCloseFile();
57 return module().shouldWeCloseFile();
62 module().doOpenFile(
fb);
77 auto t = [&
mod = module(),
78 &processBlockPrincipal,
84 std::exception_ptr ex;
95 mod.doWriteProcessBlock(processBlockPrincipal, &mcc);
97 ex = std::current_exception();
104 template <
typename T>
117 auto t = [&
mod = module(),
123 mergeableRunProductMetadata,
125 std::exception_ptr ex;
136 mod.doWriteRun(rp, &mcc, mergeableRunProductMetadata);
138 ex = std::current_exception();
145 template <
typename T>
158 std::exception_ptr ex;
166 activityRegistry->preModuleWriteLumiSignal_(globalContext, mcc);
170 mod.doWriteLuminosityBlock(lbp, &mcc);
172 ex = std::current_exception();
179 template <
typename T>
181 return module().wantAllEvents();
184 template <
typename T>
186 return module().limitReached();
189 template <
typename T>
191 module().configure(
desc);
194 template <
typename T>
196 return module().keptProducts();
199 template <
typename T>
202 module().selectProducts(preg,
helper);
205 template <
typename T>
208 bool anyProductProduced) {
209 module().setEventSelectionInfo(outputModulePathPositions, anyProductProduced);
212 template <
typename T>
214 return module().description();
219 return std::unique_ptr<edm::OutputModuleCommunicator>{};
222 return std::make_unique<OutputModuleCommunicatorT<edm::global::OutputModuleBase>>(iMod);
225 return std::make_unique<OutputModuleCommunicatorT<edm::one::OutputModuleBase>>(iMod);
228 return std::make_unique<OutputModuleCommunicatorT<edm::limited::OutputModuleBase>>(iMod);
234 template class OutputModuleCommunicatorT<one::OutputModuleBase>;
235 template class OutputModuleCommunicatorT<global::OutputModuleBase>;
236 template class OutputModuleCommunicatorT<limited::OutputModuleBase>;