41#include "TRestAxionEventProcess.h"
71 RESTDebug <<
"BoEP: Initial Direction. X: " <<
fAxionEvent->GetDirection().X()
81 RESTDebug <<
"BoEP: Final Direction. X: " <<
fAxionEvent->GetDirection().X()
97 RESTDebug <<
"EoEP: Initial Direction. X: " <<
fAxionEvent->GetDirection().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 RotateXY(const TVector3 ¢er, Double_t pitch, Double_t yaw)
This method will produce a rotation respect to a center given by argument. First we rotate the partic...
void RotateYX(const TVector3 ¢er, Double_t yaw, Double_t pitch)
This method will produce a rotation respect to a center given by argument. First we rotate the partic...
TVector3 GetPosition()
It keeps track of efficiency introduced at different helioscope components.
void Translate(const TVector3 &delta)
This method will produce a tranlation of the axion position by an amount delta.
virtual void EndOfEventProcess(TRestEvent *inputEvent=nullptr)
End of event process. Nothing to do. Called directly after ProcessEvent()
void BeginPrintProcess()
[name, cut range]
virtual void BeginOfEventProcess(TRestEvent *inputEvent=nullptr)
Begin of event process, preparation work. Called right before ProcessEvent()
A base class for any REST event.