11#ifndef RestCore_TRestDetectorHitsReductionProcess
12#define RestCore_TRestDetectorHitsReductionProcess
14#include <TRestDetectorHitsEvent.h>
16#include "TRestEventProcess.h"
28 Double_t fStartingDistance;
29 Double_t fMinimumDistance;
30 Double_t fDistanceFactor;
40 void LoadDefaultConfig();
42 void LoadConfig(
const std::string& configFilename,
const std::string& name =
"");
47 RESTMetadata <<
" Starting distance : " << fStartingDistance <<
RESTendl;
48 RESTMetadata <<
" Minimum distance : " << fMinimumDistance <<
RESTendl;
49 RESTMetadata <<
" Distance step factor : " << fDistanceFactor <<
RESTendl;
50 RESTMetadata <<
" Maximum number of nodes : " << fMaxNodes <<
RESTendl;
55 const char* GetProcessName()
const override {
return "hitsReduction"; }
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 PrintMetadata() override
Implemented it in the derived metadata class to print out specific metadata information.
void Initialize() override
Making default settings.
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.
void EndProcess() override
To be executed at the end of the run (outside event loop)
void InitFromConfigFile() override
To make settings from rml file. This method 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.