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

Module which does nothing. More...

Inheritance diagram for DummyProducer:

Public Member Functions

 DummyProducer (fhicl::ParameterSet const &params, const art::ProcessingFrame &)
 
virtual void produce (art::Event &, const art::ProcessingFrame &) override
 

Detailed Description

Module which does nothing.

See Also
DummyFilter

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

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

physics.producers.redundantfilter.module_type: DummyProducer

Configuration parameters

Anything.

Definition at line 34 of file DummyProducer_module.cc.

Constructor & Destructor Documentation

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

Definition at line 38 of file DummyProducer_module.cc.

39  : art::SharedProducer{ params }
40  { async<art::InEvent>(); }

Member Function Documentation

virtual void DummyProducer::produce ( art::Event &  ,
const art::ProcessingFrame &   
)
inlineoverridevirtual

Definition at line 42 of file DummyProducer_module.cc.

42 {}

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