All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
DummyFilter Class Reference

Filter module which passes everything. More...

Inheritance diagram for DummyFilter:

Public Member Functions

 DummyFilter (fhicl::ParameterSet const &params, const art::ProcessingFrame &)
 
virtual bool filter (art::Event &, const art::ProcessingFrame &) override
 

Detailed Description

Filter module which passes everything.

See Also
DummyProducer

This module accepts any FHiCL configuration (which it ignores), acts like a filter that passes everything, does not consume anything and does not produce anything.

It is a "good" way to remove a filter module from a job without having to mess with much configuration: just target it with a:

physics.producers.redundantmod.module_type: DummyFilter

Configuration parameters

Anything.

Definition at line 35 of file DummyFilter_module.cc.

Constructor & Destructor Documentation

DummyFilter::DummyFilter ( fhicl::ParameterSet const &  params,
const art::ProcessingFrame &   
)
inline

Definition at line 39 of file DummyFilter_module.cc.

40  : art::SharedFilter{ params }
41  { async<art::InEvent>(); }

Member Function Documentation

virtual bool DummyFilter::filter ( art::Event &  ,
const art::ProcessingFrame &   
)
inlineoverridevirtual

Definition at line 43 of file DummyFilter_module.cc.

44  { return true; }

The documentation for this class was generated from the following file: