1 #ifndef MARLINMT_PROCESSOR_h 2 #define MARLINMT_PROCESSOR_h 1 97 virtual void end() { }
virtual ~Processor()=default
void setRuntimeOption(ERuntimeOption option, bool value)
Force the runtime option to a given boolean value.
std::map< ERuntimeOption, bool > RuntimeOptions
constexpr unsigned long long value(const Flag_t &flag)
Processor & operator=(const Processor &)=delete
void initialize() override
From Component class.
virtual void processRunHeader(RunHeader *)
Call at start of run.
virtual void processEvent(EventStore *)
Process an input event.
virtual void init()
Initialize the processor.
Whether the processor has to be executed in a critical section.
ERuntimeOption
ERuntimeOption enumerator.
std::optional< bool > runtimeOption(ERuntimeOption option) const
Get the forced runtime option settings.
virtual void end()
Terminate the processor.
RuntimeOptions _forcedRuntimeOptions
The user forced runtime options for parallel processing.