23#ifndef RestCore_TRestDetectorHitsGaussAnalysisProcess
24#define RestCore_TRestDetectorHitsGaussAnalysisProcess
28#include <TRestDetectorGas.h>
29#include <TRestDetectorHitsEvent.h>
30#include <TRestDetectorReadout.h>
31#include <TRestDetectorSignalEvent.h>
33#include "TRestEventProcess.h"
65 void LoadConfig(
const std::string& configFilename,
const std::string& name =
"");
An analysis REST process to extract valuable information from Hits type of data performing gaussian f...
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
The main processing event function.
Double_t fError
Error assigned to the hits on the sides.
Int_t fNHitsMin
The minimum number of hits required to apply the hit correction.
TRestDetectorHitsGaussAnalysisProcess()
Default constructor.
void InitProcess() override
Function to use in initialization of process members before starting to process the event.
~TRestDetectorHitsGaussAnalysisProcess()
Default destructor.
void LoadDefaultConfig()
Function to load the default config in absence of RML input.
void Initialize() override
Function to initialize input/output event members and define the section name and library version.
RESTValue GetOutputEvent() const override
Get pointer to output event. Must be implemented in the derived class.
const char * GetProcessName() const override
Returns the name of this process.
TRestEventProcess * Maker()
Returns a new instance of this class.
RESTValue GetInputEvent() const override
Get pointer to input event. Must be implemented in the derived class.
void PrintMetadata() override
It prints out the process parameters stored in the metadata structure.
Double_t fPitch
The pitch or size of the strips in mm.
TRestDetectorHitsEvent * fInputHitsEvent
A pointer to the specific TRestDetectorHitsEvent.
void LoadConfig(const std::string &configFilename, const std::string &name="")
Function to load the configuration from an external configuration file.
A base class for any REST event process.
A base class for any REST event.