23 #ifndef RestCore_TRestDetectorHitsAnalysisProcess
24 #define RestCore_TRestDetectorHitsAnalysisProcess
28 #include <TRestDetectorGas.h>
29 #include <TRestDetectorHitsEvent.h>
30 #include <TRestDetectorReadout.h>
31 #include <TRestDetectorSignalEvent.h>
32 #include <TRestEventProcess.h>
40 Bool_t fCylinderFiducial;
41 Bool_t fPrismFiducial;
47 void LoadDefaultConfig();
67 void LoadConfig(
const std::string& configFilename,
const std::string& name =
"");
72 if (fCylinderFiducial) RESTMetadata <<
"Cylinder fiducial active" <<
RESTendl;
73 if (fPrismFiducial) RESTMetadata <<
"Prism fiducial active" <<
RESTendl;
75 RESTMetadata <<
" -------------------" <<
RESTendl;
76 RESTMetadata <<
" Fiducial parameters" <<
RESTendl;
77 RESTMetadata <<
" -------------------" <<
RESTendl;
78 RESTMetadata <<
" x0 : (" << fFid_x0.X() <<
" , " << fFid_x0.Y() <<
" , " << fFid_x0.Z() <<
")"
80 RESTMetadata <<
" x1 : (" << fFid_x1.X() <<
" , " << fFid_x1.Y() <<
" , " << fFid_x1.Z() <<
")"
82 RESTMetadata <<
" R : " << fFid_R <<
RESTendl;
83 RESTMetadata <<
" sX : " << fFid_sX <<
RESTendl;
84 RESTMetadata <<
" sY : " << fFid_sY <<
RESTendl;
85 RESTMetadata <<
" -------------------" <<
RESTendl;
90 const char* GetProcessName()
const override {
return "hitsAnalysis"; }
An analysis REST process to extract valuable information from Hits type of data.
void Initialize() override
Making default settings.
void PrintMetadata() override
Implemented it in the derived metadata class to print out specific metadata information.
void EndProcess() override
To be executed at the end of the run (outside event loop)
RESTValue GetOutputEvent() const override
Get pointer to output event. Must be implemented in the derived class.
void InitProcess() override
To be executed at the beginning of the run (outside event loop)
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.
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
Process one event.
A base class for any REST event process.
void BeginPrintProcess()
[name, cut range]
A base class for any REST event.