23 #ifndef RestCore_TRestLegacyProcess
24 #define RestCore_TRestLegacyProcess
26 #include "TRestEventProcess.h"
36 RESTError <<
"You are trying to execute a legacy process" <<
RESTendl;
37 RESTError <<
"This is not allow, this class is kept for backward compatibility" <<
RESTendl;
A base class for any REST event process.
A base class for any REST event.
Base class for legacy process.
RESTValue GetOutputEvent() const final
Get pointer to output event. Must be implemented in the derived class.
void InitProcess() final
To be executed at the beginning of the run (outside event loop)
void EndProcess() final
To be executed at the end of the run (outside event loop)
const char * GetProcessName() const final
Returns the name of this process.
RESTValue GetInputEvent() const final
Get pointer to input event. Must be implemented in the derived class.
TRestEvent * ProcessEvent(TRestEvent *eventInput) final
Process one event.
void PrintMetadata() override
It prints out the process parameters stored in the metadata structure.