1 #ifndef art_Framework_Core_detail_Filter_h 2 #define art_Framework_Core_detail_Filter_h 24 class SharedResources;
28 static constexpr
bool Pass{
true};
29 static constexpr
bool Fail{
false};
31 template <
typename UserConfig>
53 std::atomic<
std::
size_t>& counts_run,
54 std::atomic<
std::
size_t>& counts_passed,
55 std::atomic<
std::
size_t>& counts_failed);
bool doEndSubRun(SubRunPrincipal &srp, ModuleContext const &mc)
virtual void setupQueues(SharedResources const &)=0
virtual bool endSubRunWithFrame(SubRun &, ProcessingFrame const &)=0
static constexpr bool Pass
static constexpr bool Fail
virtual void endJobWithFrame(ProcessingFrame const &)=0
bool doBeginSubRun(SubRunPrincipal &srp, ModuleContext const &mc)
void doRespondToOpenInputFile(FileBlock const &fb)
virtual ~Filter() noexcept
bool doEvent(EventPrincipal &ep, ModuleContext const &mc, std::atomic< std::size_t > &counts_run, std::atomic< std::size_t > &counts_passed, std::atomic< std::size_t > &counts_failed)
void doRespondToCloseInputFile(FileBlock const &fb)
bool doEndRun(RunPrincipal &rp, ModuleContext const &mc)
virtual bool filterWithFrame(Event &, ProcessingFrame const &)=0
void doRespondToCloseOutputFiles(FileBlock const &fb)
void doBeginJob(SharedResources const &resources)
virtual bool endRunWithFrame(Run &, ProcessingFrame const &)=0
virtual bool beginSubRunWithFrame(SubRun &, ProcessingFrame const &)=0
bool const checkPutProducts_
virtual bool beginRunWithFrame(Run &, ProcessingFrame const &)=0
virtual void respondToCloseOutputFilesWithFrame(FileBlock const &, ProcessingFrame const &)=0
bool doBeginRun(RunPrincipal &rp, ModuleContext const &)
virtual void respondToOpenInputFileWithFrame(FileBlock const &, ProcessingFrame const &)=0
void doRespondToOpenOutputFiles(FileBlock const &fb)
virtual void beginJobWithFrame(ProcessingFrame const &)=0
virtual void respondToCloseInputFileWithFrame(FileBlock const &, ProcessingFrame const &)=0
virtual void respondToOpenOutputFilesWithFrame(FileBlock const &, ProcessingFrame const &)=0