117#include "TRestAxionFieldPropagationProcess.h"
164 RESTDebug <<
"Entering ... TRestAxionFieldPropagationProcess::InitProcess" <<
RESTendl;
169 RESTError <<
"TRestAxionFieldPropagationprocess. Magnetic Field was not defined!" <<
RESTendl;
197 RESTDebug <<
"TRestAxionFieldPropagationProcess::ProcessEvent : " <<
fAxionEvent->GetID() <<
RESTendl;
202 Double_t ma =
fAxionEvent->GetMass() * units(
"eV");
204 std::pair<Double_t, Double_t> prob =
210 Double_t transmission = 1;
212 Double_t Gamma =
fBufferGas->GetPhotonAbsorptionLength(Ea);
214 transmission = exp(-GammaL);
219 RESTDebug <<
" --- Process observables: " <<
RESTendl;
220 RESTDebug <<
"Probability: " << prob.first <<
" T" <<
RESTendl;
221 RESTDebug <<
"Error: " << prob.second <<
" T" <<
RESTendl;
222 RESTDebug <<
"Transmission: " << transmission <<
" mm" <<
RESTendl;
A metadata class to define the gas properties used in axion search calculations.
TRestAxionEvent * fAxionEvent
A pointer to the specific TRestAxionEvent.
An event data class to define the parameters related to an axion particle.
A process to introduce the magnetic field profile integration along the track.
Int_t fNumIntervals
Number of intervales used by the GSL integrator.
TRestEvent * ProcessEvent(TRestEvent *eventInput) override
Process one event.
void InitProcess() override
Process initialization. Data members that require initialization just before start processing should ...
TRestAxionField * fAxionField
A pointer to TRestAxionField that implements probability calculations.
~TRestAxionFieldPropagationProcess()
Default destructor.
TVector3 fReMap
It will re-size the cells in the magnetic field (affecting the time required for integral computation...
TRestAxionBufferGas * fBufferGas
A pointer to TRestBufferGas given to TRestAxionField to perform calculations in a particular gas.
Double_t fAccuracy
The tolerance or accuracy used inside the GSL integrator.
TRestAxionFieldPropagationProcess()
Default constructor.
Int_t fQawoLevels
Number of levels used by the GSL integrator to parameterize the cosine integral.
Double_t fBufferGasAdditionalLength
The additional length in mm that the converted photon propagates without magnetic field.
TRestAxionMagneticField * fMagneticField
A pointer to the magnetic field description stored in TRestRun.
void Initialize() override
Function to initialize input/output event members and define the section name.
A basic class to define analytical axion-photon conversion calculations for axion helioscopes.
A class to load magnetic field maps and evaluate the field on those maps including interpolation.
T * GetMetadata()
Get a metadata object from the host TRestRun.
void SetObservableValue(const std::string &name, const T &value)
Set observable value for AnalysisTree.
A base class for any REST event.
@ REST_Info
+show most of the information for each steps
@ REST_Debug
+show the defined debug messages