16 #ifndef RestCore_TRestDetectorAvalancheProcess
17 #define RestCore_TRestDetectorAvalancheProcess
19 #include <TRestDetectorGas.h>
20 #include <TRestDetectorHitsEvent.h>
22 #include "TRestEventProcess.h"
35 void LoadDefaultConfig();
49 void LoadConfig(std::string configFilename);
63 const char* GetProcessName()
const override {
return "avalancheProcess"; }
65 inline Double_t GetEnergyReference()
const {
return fEnergyRef; }
67 inline Double_t GetDetectorGain()
const {
return fDetectorGain; }
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 InitProcess() override
To be executed at the beginning of the run (outside event loop)
void EndProcess() override
To be executed at the end of the run (outside event loop)
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
Process one event.
Double_t fEnergyRef
reference energy for the FWHM
Double_t fResolutionAtEref
FWHM at Energy of reference.
void Initialize() override
Making default settings.
void PrintMetadata() override
Implemented it in the derived metadata class to print out specific metadata information.
Double_t fDetectorGain
Detector's gain.
RESTValue GetInputEvent() const override
Get pointer to input event. 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.