23 #ifndef _TRestAxionLikelihood
24 #define _TRestAxionLikelihood
26 #include <TRestMetadata.h>
29 #include "TRestAxionBufferGas.h"
30 #include "TRestAxionField.h"
31 #include "TRestAxionSolarModel.h"
32 #include "TRestAxionSpectrum.h"
48 Double_t fEfficiency = 1;
52 Double_t fBackgroundLevel = 0.;
54 Double_t fSpotArea = 0.;
58 Double_t fTExpVacuum = 0;
60 Double_t fTExpPerStep = 0;
63 Double_t fLastStepDensity = 0.;
72 Int_t fMeasuredCountsVacuum;
73 std::vector<Int_t> fMeasuredCountsPerStep;
74 std::vector<Double_t> fExposureTimePerStep;
75 std::vector<Double_t> fDensityInStep;
78 void GenerateMonteCarlo();
79 Double_t LogLikelihood(Double_t ma, Double_t g10, Double_t Nmeas, Double_t rho, Double_t tExp);
81 Double_t GetSignal(Double_t ma, Double_t g10_4, Double_t rho, Double_t tExp);
83 void LikelihoodTest(
const std::string& fname);
A metadata class to define the gas properties used in axion search calculations.
A basic class to define analytical axion-photon conversion calculations for axion helioscopes.
void Initialize()
Making default settings.
TRandom3 * fRandom
Random number generator.
void PrintMetadata()
Implemented it in the derived metadata class to print out specific metadata information.
void InitFromConfigFile()
To make settings from rml file. This method must be implemented in the derived class.
A metadata class to define a solar axion spectrum and functions to evaluate it.