12 #ifndef RestCore_TRestTrackReconnectionProcess
13 #define RestCore_TRestTrackReconnectionProcess
15 #include <TRestTrackEvent.h>
17 #include "TRestEventProcess.h"
25 Double_t fMeanDistance;
36 void SetDistanceMeanAndSigma(
TRestHits* h);
46 void LoadDefaultConfig();
48 void LoadConfig(
const std::string& configFilename,
const std::string& name =
"");
53 RESTMetadata <<
"Split track : ";
55 RESTMetadata <<
" enabled" <<
RESTendl;
57 RESTMetadata <<
" disabled" <<
RESTendl;
59 RESTMetadata <<
"Number of sigmas to defined a branch : " << fNSigmas <<
RESTendl;
64 const char* GetProcessName()
const override {
return "trackReconnection"; }
67 void ReconnectTracks(std::vector<TRestVolumeHits>& hitSets);
68 Int_t GetTrackBranches(
TRestHits& h, Double_t nSigma);
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.
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)
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
Process one event.
void BreakTracks(TRestVolumeHits *hits, std::vector< TRestVolumeHits > &hitSets, Double_t nSigma=2.)
RESTValue GetOutputEvent() const override
Get pointer to output 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 Initialize() override
Making default settings.
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.