hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
|
Base classes for all user event processing components to extend. More...
Go to the source code of this file.
Classes | |
class | Processor |
Base class for all event processing components. More... | |
Macros | |
#define | DECLARE_PROCESSOR(CLASS) Processor* CLASS ## _make (const std::string& name, Process& process) { return new CLASS(name,process); } __attribute__((constructor(1000))) static void CLASS ## _declare() { Processor::declare(#CLASS, & CLASS ## _make ); } |
Macro which allows the framework to construct a producer given its name during configuration. | |
Typedefs | |
typedef Processor * | ProcessorMaker(const std::string &name, Process &process) |
Base classes for all user event processing components to extend.
Definition in file Processor.h.
#define DECLARE_PROCESSOR | ( | CLASS | ) | Processor* CLASS ## _make (const std::string& name, Process& process) { return new CLASS(name,process); } __attribute__((constructor(1000))) static void CLASS ## _declare() { Processor::declare(#CLASS, & CLASS ## _make ); } |
Macro which allows the framework to construct a producer given its name during configuration.
CLASS | The name of the class to register, which must not be in a namespace. |
Definition at line 139 of file Processor.h.
Typedef for ProcessorFactory use.
Definition at line 28 of file Processor.h.