46#include "TRestAxionDeviationProcess.h" 
   82    SetName(this->ClassName());
 
   83    SetTitle(
"Default config");
 
 
  115    RESTDebug << 
"Entering ... TRestAxionGeneratorProcess::InitProcess" << 
RESTendl;
 
 
  140    Double_t phi = TMath::Pi() * 
fRandom->Rndm();
 
  142    TVector3 ortho = inDir.Orthogonal();
 
  143    TVector3 newDir = inDir;
 
  145    newDir.Rotate(theta, ortho);
 
  146    newDir.Rotate(phi, inDir);
 
 
A process to deviate the axion direction by a given yaw and pitch angle distributions.
Int_t fSeed
Seed used in random generator.
void InitProcess() override
Process initialization. Data members that require initialization just before start processing should ...
TRestEvent * ProcessEvent(TRestEvent *evInput) override
The main processing event function.
~TRestAxionDeviationProcess()
Default destructor.
void LoadDefaultConfig()
Function to load the default config in absence of RML input.
void Initialize() override
Function to initialize input/output event members and define the section name.
void LoadConfig(std::string cfgFilename, std::string name="")
Function to load the configuration from an external configuration file.
TRandom3 * fRandom
Internal process random generator.
Double_t fDevAngle
The angle that defines the cone directrix that defines the maximum deviation.
TRestAxionDeviationProcess()
Default constructor.
TRestAxionEvent * fAxionEvent
A pointer to the specific TRestAxionEvent.
An event data class to define the parameters related to an axion particle.
TVector3 GetPosition()
It keeps track of efficiency introduced at different helioscope components.
A base class for any REST event.
@ REST_Extreme
show everything
@ REST_Debug
+show the defined debug messages
Int_t GetChar(std::string hint="Press a KEY to continue ...")
Helps to pause the program, printing a message before pausing.