23#ifndef RestCore_TRestAxionDeviationProcess
24#define RestCore_TRestAxionDeviationProcess
27#include "TRestAxionEvent.h"
28#include "TRestAxionEventProcess.h"
52 void LoadConfig(std::string cfgFilename, std::string name =
"");
A process to deviate the axion direction by a given yaw and pitch angle distributions.
const char * GetProcessName() const override
Returns the name of this process.
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.
void PrintMetadata() override
It prints out the process parameters stored in the metadata structure.
TRandom3 * fRandom
Internal process random generator.
Double_t fDevAngle
The angle that defines the cone directrix that defines the maximum deviation.
TRestAxionDeviationProcess()
Default constructor.
A base class for any axion event process. Defines position, rotation and component displacement.
void BeginPrintProcess()
Pre-defined printer, can be used at the beginning in the implementation of PrintMetadata()
void EndPrintProcess()
Adds the footer for PrintMetadata.
A base class for any REST event.