5#ifndef REST_TRESTDETECTORHITSREADOUTANALYSISPROCESS_H
6#define REST_TRESTDETECTORHITSREADOUTANALYSISPROCESS_H
10#include <TRestEventProcess.h>
12#include "TRestDetectorGas.h"
13#include "TRestDetectorHitsEvent.h"
14#include "TRestDetectorReadout.h"
15#include "TRestDetectorSignalEvent.h"
25 void LoadDefaultConfig(){};
29 TVector3 fFiducialPosition;
30 Double_t fFiducialDiameter = 0;
31 bool fRemoveZeroEnergyEvents =
false;
48 const char* GetProcessName()
const override {
return "readoutHitsAnalysis"; }
An analysis REST process to extract valuable information from Hits type of data.
void InitProcess() override
To be executed at the beginning of the run (outside event loop)
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
Process one event.
std::string fChannelType
This process will only work on hits corresponding to this channel type (using readout)
void PrintMetadata() override
Implemented it in the derived metadata class to print out specific metadata information.
bool fIgnoreZ
If true, the Z coordinate will be ignored when checking if a position is inside the readout....
RESTValue GetInputEvent() const override
Get pointer to input event. Must be implemented in the derived class.
void Initialize() override
Making default settings.
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.
void EndProcess() override
To be executed at the end of the run (outside event loop)
A metadata class to generate/store a readout description.
A base class for any REST event process.
A base class for any REST event.