23#ifndef RestCore_TRestDetectorHitsTranslationProcess
24#define RestCore_TRestDetectorHitsTranslationProcess
26#include <TRestDetectorHitsEvent.h>
27#include <TRestEventProcess.h>
53 const char* GetProcessName()
const override {
return "hitsTranslation"; }
55 inline TVector3 GetTranslation()
const {
return fTranslation; }
A process to translate hits by a given user amount.
void InitFromConfigFile() override
To make settings from rml file. This method must be implemented in the derived class.
TRestDetectorHitsEvent * fInputEvent
A pointer to the process input event.
TVector3 fTranslation
The amount to be translated every hit.
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
Process one event.
RESTValue GetOutputEvent() const override
Get pointer to output event. Must be implemented in the derived class.
void PrintMetadata() override
Implemented it in the derived metadata class to print out specific metadata information.
TRestDetectorHitsEvent * fOutputEvent
A pointer to the process output event.
void Initialize() override
Making default settings.
RESTValue GetInputEvent() const override
Get pointer to input event. Must be implemented in the derived class.
A base class for any REST event process.
A base class for any REST event.