REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
Public Member Functions | Private Member Functions | Private Attributes
TRestAxionSolarModel Class Reference

Detailed Description

A metadata class to define theoretical axion models and calculations related.

Definition at line 33 of file TRestAxionSolarModel.h.

#include <TRestAxionSolarModel.h>

Inheritance diagram for TRestAxionSolarModel:
TRestMetadata

Public Member Functions

std::vector< double > GetSolarAxionFluxGAE (std::vector< double > energies, double g_agae, double r_max)
 
std::vector< double > GetSolarAxionFluxGAE (std::vector< double > energies, double r_max=1.0)
 
std::vector< double > GetSolarAxionFluxGAGamma (std::vector< double > energies, double g_agamma, double r_max)
 
std::vector< double > GetSolarAxionFluxGAGamma (std::vector< double > energies, double r_max=1.0)
 
std::string GetSolarModelFileName ()
 
bool isSolarModelClassReady ()
 
void PrintMetadata ()
 Implemented it in the derived metadata class to print out specific metadata information. More...
 
 TRestAxionSolarModel (const char *cfgFileName, std::string name="")
 

Private Member Functions

void InitFromConfigFile ()
 To make settings from rml file. This method must be implemented in the derived class. More...
 
void Initialize ()
 Making default settings. More...
 

Private Attributes

bool bSolarModelInitialized = false
 
double fRefElectronCoupling
 
double fRefPhotonCoupling
 
std::string sExternalLibraryName
 
std::string sOpacityCodeName
 
std::string sSolarModelFile
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ TRestAxionSolarModel() [1/2]

TRestAxionSolarModel::TRestAxionSolarModel ( )

Definition at line 92 of file TRestAxionSolarModel.cxx.

◆ TRestAxionSolarModel() [2/2]

TRestAxionSolarModel::TRestAxionSolarModel ( const char *  cfgFileName,
std::string  name = "" 
)

Definition at line 95 of file TRestAxionSolarModel.cxx.

◆ ~TRestAxionSolarModel()

TRestAxionSolarModel::~TRestAxionSolarModel ( )

Definition at line 103 of file TRestAxionSolarModel.cxx.

Member Function Documentation

◆ GetSolarAxionFluxGAE() [1/2]

std::vector< double > TRestAxionSolarModel::GetSolarAxionFluxGAE ( std::vector< double >  energies,
double  g_agae,
double  r_max 
)

Definition at line 165 of file TRestAxionSolarModel.cxx.

◆ GetSolarAxionFluxGAE() [2/2]

std::vector< double > TRestAxionSolarModel::GetSolarAxionFluxGAE ( std::vector< double >  energies,
double  r_max = 1.0 
)

Definition at line 149 of file TRestAxionSolarModel.cxx.

◆ GetSolarAxionFluxGAGamma() [1/2]

std::vector< double > TRestAxionSolarModel::GetSolarAxionFluxGAGamma ( std::vector< double >  energies,
double  g_agamma,
double  r_max 
)

Definition at line 140 of file TRestAxionSolarModel.cxx.

◆ GetSolarAxionFluxGAGamma() [2/2]

std::vector< double > TRestAxionSolarModel::GetSolarAxionFluxGAGamma ( std::vector< double >  energies,
double  r_max = 1.0 
)

Definition at line 123 of file TRestAxionSolarModel.cxx.

◆ GetSolarModelFileName()

std::string TRestAxionSolarModel::GetSolarModelFileName ( )

Definition at line 121 of file TRestAxionSolarModel.cxx.

◆ InitFromConfigFile()

void TRestAxionSolarModel::InitFromConfigFile ( )
privatevirtual

To make settings from rml file. This method must be implemented in the derived class.

Reimplemented from TRestMetadata.

Definition at line 68 of file TRestAxionSolarModel.cxx.

◆ Initialize()

void TRestAxionSolarModel::Initialize ( )
privatevirtual

Making default settings.

Reimplemented from TRestMetadata.

Definition at line 63 of file TRestAxionSolarModel.cxx.

◆ isSolarModelClassReady()

bool TRestAxionSolarModel::isSolarModelClassReady ( )
inline

Definition at line 72 of file TRestAxionSolarModel.h.

◆ PrintMetadata()

void TRestAxionSolarModel::PrintMetadata ( )
virtual

Implemented it in the derived metadata class to print out specific metadata information.

Prints metadata content on screen. Usually overloaded by the derived metadata class.

Reimplemented from TRestMetadata.

Definition at line 105 of file TRestAxionSolarModel.cxx.

Field Documentation

◆ bSolarModelInitialized

bool TRestAxionSolarModel::bSolarModelInitialized = false
private

Definition at line 49 of file TRestAxionSolarModel.h.

◆ fRefElectronCoupling

double TRestAxionSolarModel::fRefElectronCoupling
private

Definition at line 51 of file TRestAxionSolarModel.h.

◆ fRefPhotonCoupling

double TRestAxionSolarModel::fRefPhotonCoupling
private

Definition at line 50 of file TRestAxionSolarModel.h.

◆ sExternalLibraryName

std::string TRestAxionSolarModel::sExternalLibraryName
private

Definition at line 52 of file TRestAxionSolarModel.h.

◆ sOpacityCodeName

std::string TRestAxionSolarModel::sOpacityCodeName
private

Definition at line 54 of file TRestAxionSolarModel.h.

◆ sSolarModelFile

std::string TRestAxionSolarModel::sSolarModelFile
private

Definition at line 53 of file TRestAxionSolarModel.h.


The documentation for this class was generated from the following files: