16 #ifndef RestCore_TRestDetectorHitsNormalizationProcess
17 #define RestCore_TRestDetectorHitsNormalizationProcess
19 #include <TRestDetectorHitsEvent.h>
21 #include "TRestEventProcess.h"
30 void LoadDefaultConfig();
45 void LoadConfig(
const std::string& configFilename,
const std::string& name =
"");
50 RESTMetadata <<
" Renormalization factor : " << fFactor <<
RESTendl;
55 inline TRestMetadata* GetProcessMetadata()
const {
return nullptr; }
57 const char* GetProcessName()
const override {
return "hitsNormalizationProcess"; }
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
Process one event.
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)
void PrintMetadata() override
Implemented it in the derived metadata class to print out specific metadata information.
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.
RESTValue GetInputEvent() const override
Get pointer to input event. Must be implemented in the derived class.
void Initialize() override
Making default settings.
A base class for any REST event process.
void BeginPrintProcess()
[name, cut range]
A base class for any REST event.