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.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Processor.cxx
Go to the documentation of this file.
1
7#include "Processor.h"
8#include "ProcessorFactory.h"
9
10Processor::Processor(const std::string& name, Process& process) :
11 process_ (process ), name_ { name } {
12}
13
14void Processor::declare(const std::string& classname, ProcessorMaker* maker) {
16}
Class which provides a singleton module factory that creates Processor objects.
Base classes for all user event processing components to extend.
Processor * ProcessorMaker(const std::string &name, Process &process)
Definition Processor.h:28
static ProcessorFactory & instance()
Get the factory instance.
void registerProcessor(const std::string &classname, ProcessorMaker *maker)
Register the event processor.
static void declare(const std::string &classname, ProcessorMaker *)
Internal function which is part of the ProcessorFactory machinery.
Definition Processor.cxx:14
Processor(const std::string &name, Process &process)
Class constructor.
Definition Processor.cxx:10