23#ifndef RestCore_TRestAxionGeneratorProcess
24#define RestCore_TRestAxionGeneratorProcess
27#include "TRestAxionEvent.h"
28#include "TRestAxionSolarFlux.h"
29#include "TRestEventProcess.h"
69 void LoadDefaultConfig();
An event data class to define the parameters related to an axion particle.
A process to initialize the axion event (mainly through TRestAxionSolarFlux)
TVector3 fTargetPosition
The target position in mm with regards to the sun at (0,0,-AU).
TRestAxionGeneratorProcess()
Default constructor.
TRandom3 * fRandom
Internal process random generator.
Double_t fTotalFlux
Absolute solar flux (cm-2 s-1). Required for future calculations.
TVector2 fAxionMassRange
The axion mass range in keV.
void PrintMetadata() override
Prints out relevant metadata members.
void Initialize() override
Function to initialize input/output event members and define the section name.
RESTValue GetInputEvent() const override
Get pointer to input event. Must be implemented in the derived class.
RESTValue GetOutputEvent() const override
Get pointer to output event. Must be implemented in the derived class.
Int_t fSeed
Seed used in random generator.
Double_t fTargetRadius
The target size in mm (or generator source extension) for the generator.
void InitProcess() override
Process initialization. Data members that require initialization just before start processing should ...
TVector2 fEnergyRange
It defines the energy range for the axion event generator. Default between 50eV and 10keV.
TRestAxionEvent * fOutputAxionEvent
A pointer to the specific TRestAxionEvent output.
Int_t fCounter
Used internally to define the event id.
const char * GetProcessName() const override
Returns the name of this process.
TString fGeneratorType
The generator type (solarFlux/flat)
TRestAxionSolarFlux * fAxionFlux
A pointer to the TRestAxionSolarFlux metadata description.
TRestEvent * ProcessEvent(TRestEvent *eventInput) override
The main processing event function.
~TRestAxionGeneratorProcess()
Default destructor.
A metadata class to load tabulated solar axion fluxes.
A base class for any REST event process.
A base class for any REST event.