41#include "TRestAxionEventProcess.h"
68 RESTDebug <<
"BoEP: Initial Position. X: " <<
fAxionEvent->GetPosition().X()
71 RESTDebug <<
"BoEP: Initial Direction. X: " <<
fAxionEvent->GetDirection().X()
78 RESTDebug <<
"BoEP: Final Position. X: " <<
fAxionEvent->GetPosition().X()
81 RESTDebug <<
"BoEP: Final Direction. X: " <<
fAxionEvent->GetDirection().X()
94 RESTDebug <<
"EoEP: Initial Position. X: " <<
fAxionEvent->GetPosition().X()
97 RESTDebug <<
"EoEP: Initial Direction. X: " <<
fAxionEvent->GetDirection().X()
106 RESTDebug <<
"EoEP: Final Position. X: " <<
fAxionEvent->GetPosition().X()
109 RESTDebug <<
"EoEP: Final Direction. X: " <<
fAxionEvent->GetDirection().X()
127 RESTMetadata <<
"Internal Yaw angle (Y-axis): " <<
fInternalYaw * units(
"degrees") <<
" degrees"
129 RESTMetadata <<
"Internal Pitch angle (X-axis): " <<
fInternalPitch * units(
"degrees") <<
" degrees"
134 RESTMetadata <<
"External Yaw angle (Y-axis): " <<
fExternalYaw * units(
"degrees") <<
" degrees"
136 RESTMetadata <<
"External Pitch angle (X-axis): " <<
fExternalPitch * units(
"degrees") <<
" degrees"
140 RESTMetadata <<
"Local axis is true " <<
RESTendl;
142 RESTMetadata <<
"Universal axis is true " <<
RESTendl;
143 RESTMetadata <<
" --------------------------- " <<
RESTendl;
A base class for any axion event process. Defines position, rotation and component displacement.
Bool_t fLocalAxis
If enabled it skips the end rotation that recovers the original axion trajectory direction.
Double_t fInternalYaw
The rotation angle with respect to the Y-axis.
TVector3 fExternalRotationCenter
The position (different than the center of the object) around which the rotation will be applied.
Double_t fInternalPitch
The rotation angle with respect to X-axis.
Double_t fExternalPitch
The rotation angle around CenterSetup with respect to X-axis.
void BeginPrintProcess()
Pre-defined printer, can be used at the beginning in the implementation of PrintMetadata().
TRestAxionEvent * fAxionEvent
A pointer to the specific TRestAxionEvent.
Double_t fExternalYaw
The rotation angle around CenterSetup with respect to the Y-axis.
virtual void EndOfEventProcess(TRestEvent *evInput=nullptr) override
End of event process. Called directly after ProcessEvent().
~TRestAxionEventProcess()
TVector3 fPosition
The position of the component around which the rotation will be applied.
virtual void BeginOfEventProcess(TRestEvent *evInput=nullptr) override
Begin of event process, preparation work. Called right before ProcessEvent().
void EndPrintProcess()
Adds the footer for PrintMetadata.
An event data class to define the parameters related to an axion particle.
void BeginPrintProcess()
[name, cut range]
virtual void EndOfEventProcess(TRestEvent *inputEvent=nullptr)
End of event process. Nothing to do. Called directly after ProcessEvent().
void EndPrintProcess()
Pre-defined printer, can be used at the ending in the implementation of PrintMetadata().
virtual void BeginOfEventProcess(TRestEvent *inputEvent=nullptr)
Begin of event process, preparation work. Called right before ProcessEvent().
A base class for any REST event.