23 #ifndef RestCore_TRestDetectorHitsSpecularProcess
24 #define RestCore_TRestDetectorHitsSpecularProcess
26 #include <TRestDetectorHitsEvent.h>
27 #include <TRestEventProcess.h>
A process to create specular hit images using a plane definition.
RESTValue GetOutputEvent() const override
Get pointer to output event. Must be implemented in the derived class.
TRestDetectorHitsEvent * fOutputEvent
A pointer to the process output event.
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
Process one event.
TVector3 fNormal
Defines the normal to the plane we use to generate the specular image.
TRestDetectorHitsEvent * fInputEvent
A pointer to the process input event.
void InitFromConfigFile() override
To make settings from rml file. This method must be implemented in the derived class.
TVector3 GetPosition() const
It returns the position of the point contained in the plane.
void PrintMetadata() override
Implemented it in the derived metadata class to print out specific metadata information.
TVector3 fPosition
Defines the position of the plane. A point inside the plane.
const char * GetProcessName() const override
It returns the given process name.
void Initialize() override
Making default settings.
TVector3 GetNormal() const
It returns the plane normal.
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.