23#ifndef _TRestAxionSolarModel
24#define _TRestAxionSolarModel
27#include "solaxflux/solar_model.hpp"
30#include <TRestMetadata.h>
49 bool bSolarModelInitialized =
false;
50 double fRefPhotonCoupling;
51 double fRefElectronCoupling;
52 std::string sExternalLibraryName;
53 std::string sSolarModelFile;
54 std::string sOpacityCodeName;
63 std::vector<double> GetSolarAxionFluxGAGamma(std::vector<double> energies,
double g_agamma,
double r_max);
64 std::vector<double> GetSolarAxionFluxGAGamma(std::vector<double> energies,
double r_max = 1.0);
66 std::vector<double> GetSolarAxionFluxGAE(std::vector<double> energies,
double g_agae,
double r_max);
67 std::vector<double> GetSolarAxionFluxGAE(std::vector<double> energies,
double r_max = 1.0);
72 bool isSolarModelClassReady() {
return bSolarModelInitialized; }
73 std::string GetSolarModelFileName();
A metadata class to define theoretical axion models and calculations related.
void Initialize()
Making default settings.
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.