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.
 
void Initialize ()
 Making default settings.
 

Private Attributes

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

Additional Inherited Members

Member Function Documentation

◆ 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.


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