23#ifndef RestCore_TRestTrackLineAnalysisProcess
24#define RestCore_TRestTrackLineAnalysisProcess
26#include <TRestEventProcess.h>
28#include "TRestTrackEvent.h"
39 std::string fLineAnaMethod =
"default";
54 RESTMetadata <<
"Track Analysis method " << fLineAnaMethod <<
RESTendl;
58 const char* GetProcessName()
const override {
return "trackLineAna"; }
A base class for any REST event process.
void BeginPrintProcess()
[name, cut range]
A base class for any REST event.
A process to identify and extrack origin and end of a track assuming a linear track.
void InitProcess() override
Process initialization. Nothing to do...
void Initialize() override
Function to initialize input/output event members and define the section name.
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
The main processing event function.
TRestTrackEvent * fTrackEvent
A pointer to the input event Track Event.
void PrintMetadata() override
Implemented it in the derived metadata class to print out specific metadata information.
~TRestTrackLineAnalysisProcess()
Default destructor.
void EndProcess() override
Function to include required actions after all events have been processed. Nothing to do....
RESTValue GetOutputEvent() const override
Get pointer to output event. Must be implemented in the derived class.
TRestTrackEvent * fOutTrackEvent
A pointer to the output event Track event.
TRestTrackLineAnalysisProcess()
Default constructor.
RESTValue GetInputEvent() const override
Get pointer to input event. Must be implemented in the derived class.