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

Detailed Description

A metadata class to define a solar axion spectrum and functions to evaluate it.

Definition at line 33 of file TRestAxionSpectrum.h.

#include <TRestAxionSpectrum.h>

Inheritance diagram for TRestAxionSpectrum:
TRestMetadata

Public Member Functions

double GetDifferentialSolarAxionFlux (double erg)
 
double GetSolarAxionFlux (double erg_lo, double erg_hi, double er_step_size)
 
void PrintMetadata ()
 Implemented it in the derived metadata class to print out specific metadata information. More...
 
 TRestAxionSpectrum (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

double fDefaultG1 = NAN
 
double fDefaultG2 = 0
 
std::string sMode = "none"
 
std::string sTableFileName
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ TRestAxionSpectrum() [1/2]

TRestAxionSpectrum::TRestAxionSpectrum ( )

Definition at line 142 of file TRestAxionSpectrum.cxx.

◆ TRestAxionSpectrum() [2/2]

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

Definition at line 144 of file TRestAxionSpectrum.cxx.

◆ ~TRestAxionSpectrum()

TRestAxionSpectrum::~TRestAxionSpectrum ( )

Definition at line 152 of file TRestAxionSpectrum.cxx.

Member Function Documentation

◆ GetDifferentialSolarAxionFlux()

double TRestAxionSpectrum::GetDifferentialSolarAxionFlux ( double  erg)

Definition at line 189 of file TRestAxionSpectrum.cxx.

◆ GetSolarAxionFlux()

double TRestAxionSpectrum::GetSolarAxionFlux ( double  erg_lo,
double  erg_hi,
double  er_step_size 
)

Definition at line 188 of file TRestAxionSpectrum.cxx.

◆ InitFromConfigFile()

void TRestAxionSpectrum::InitFromConfigFile ( )
privatevirtual

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

Reimplemented from TRestMetadata.

Definition at line 52 of file TRestAxionSpectrum.cxx.

◆ Initialize()

void TRestAxionSpectrum::Initialize ( )
privatevirtual

Making default settings.

Reimplemented from TRestMetadata.

Definition at line 47 of file TRestAxionSpectrum.cxx.

◆ PrintMetadata()

void TRestAxionSpectrum::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 154 of file TRestAxionSpectrum.cxx.

Field Documentation

◆ fDefaultG1

double TRestAxionSpectrum::fDefaultG1 = NAN
private

Definition at line 59 of file TRestAxionSpectrum.h.

◆ fDefaultG2

double TRestAxionSpectrum::fDefaultG2 = 0
private

Definition at line 60 of file TRestAxionSpectrum.h.

◆ sMode

std::string TRestAxionSpectrum::sMode = "none"
private

Definition at line 48 of file TRestAxionSpectrum.h.

◆ sTableFileName

std::string TRestAxionSpectrum::sTableFileName
private

Definition at line 61 of file TRestAxionSpectrum.h.


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