12#ifndef RestCore_TRestTrackToDetectorHitsProcess
13#define RestCore_TRestTrackToDetectorHitsProcess
15#include <TRestDetectorHitsEvent.h>
16#include <TRestTrackEvent.h>
18#include "TRestEventProcess.h"
41 void LoadDefaultConfig();
43 void LoadConfig(
const std::string& configFilename,
const std::string& name =
"");
48 std::cout <<
"Track level : " << fTrackLevel << std::endl;
53 const char* GetProcessName()
const override {
return "trackToDetectorHits"; }
A base class for any REST event process.
void BeginPrintProcess()
[name, cut range]
A base class for any REST event.
void InitProcess() override
To be executed at the beginning of the run (outside event loop)
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
Process one event.
void InitFromConfigFile() override
To make settings from rml file. This method must be implemented in the derived class.
RESTValue GetOutputEvent() const override
Get pointer to output event. Must be implemented in the derived class.
RESTValue GetInputEvent() const override
Get pointer to input event. Must be implemented in the derived class.
void PrintMetadata() override
Implemented it in the derived metadata class to print out specific metadata information.
void Initialize() override
Making default settings.
void EndProcess() override
To be executed at the end of the run (outside event loop)