12 #ifndef RestCore_TRestDetectorHitsToTrackFastProcess
13 #define RestCore_TRestDetectorHitsToTrackFastProcess
15 #include <TRestDetectorHitsEvent.h>
16 #include <TRestEventProcess.h>
17 #include <TRestTrackEvent.h>
35 Double_t fCellResolution;
47 void LoadDefaultConfig();
49 void LoadConfig(
const std::string& configFilename,
const std::string& name =
"");
54 RESTMetadata <<
" Cell resolution : " << fCellResolution <<
" mm " <<
RESTendl;
55 RESTMetadata <<
" Net size : " << fNetSize <<
" mm " <<
RESTendl;
56 RESTMetadata <<
" Net origin : ( " << fNetOrigin.X() <<
" , " << fNetOrigin.Y() <<
" , "
57 << fNetOrigin.Z() <<
" ) mm " <<
RESTendl;
58 RESTMetadata <<
" Number of nodes (per axis) : " << fNodes <<
RESTendl;
63 const char* GetProcessName()
const override {
return "fastHitsToTrack"; }
void Initialize() override
Making default settings.
void PrintMetadata() override
Implemented it in the derived metadata class to print out specific metadata information.
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
Process one event.
RESTValue GetInputEvent() const override
Get pointer to input event. Must be implemented in the derived class.
void InitFromConfigFile() override
To make settings from rml file. This method must be implemented in the derived class.
void EndProcess() override
To be executed at the end of the run (outside event loop)
void InitProcess() override
To be executed at the beginning of the run (outside event loop)
RESTValue GetOutputEvent() const override
Get pointer to output event. Must be implemented in the derived class.
A base class for any REST event process.
void BeginPrintProcess()
[name, cut range]
A base class for any REST event.
It saves a 3-coordinate position and an energy for each punctual deposition.