23 #ifndef _TRestAxionSpectrum
24 #define _TRestAxionSpectrum
26 #include <TRestMetadata.h>
29 #include "solaxflux/spectral_flux.hpp"
48 std::string sMode =
"none";
54 AxionSpectrum spectrum;
59 double fDefaultG1 = NAN;
60 double fDefaultG2 = 0;
61 std::string sTableFileName;
73 double GetSolarAxionFlux(
double erg_lo,
double erg_hi,
double er_step_size);
74 double GetDifferentialSolarAxionFlux(
double erg);
A metadata class to define a solar axion spectrum and functions to evaluate it.
void InitFromConfigFile()
To make settings from rml file. This method must be implemented in the derived class.
void PrintMetadata()
Implemented it in the derived metadata class to print out specific metadata information.
void Initialize()
Making default settings.