A set of Processors. More...
#include <ProcessorBlock.hh>
Public Member Functions | |
ProcessorBlock () | |
virtual | ~ProcessorBlock () |
virtual void | AddProcessor (ProcessorBase *processor, fhicl::ParameterSet *config) |
virtual void | ProcessFiles (std::vector< std::string > filenames) |
virtual void | DeleteProcessors () |
Protected Attributes | |
std::vector< std::pair < ProcessorBase *, fhicl::ParameterSet * > > | fProcessors |
A set of Processors.
Definition at line 25 of file ProcessorBlock.hh.
core::ProcessorBlock::ProcessorBlock | ( | ) |
|
virtual |
|
virtual |
Add a processor to the block.
Note that the ProcessorBlock takes ownership of the Processor.
processor | The processor |
config | The configuration, if any |
Definition at line 15 of file ProcessorBlock.cxx.
|
virtual |
Delete all processors owned by the block.
Definition at line 76 of file ProcessorBlock.cxx.
|
virtual |
Process a set of files.
filenames | A list of art ROOT files to process |
Definition at line 21 of file ProcessorBlock.cxx.
|
protected |
Processors and their configurations.
Definition at line 55 of file ProcessorBlock.hh.