GammaLib 2.0.0
Loading...
Searching...
No Matches
GModelSpectralGauss::eflux_kernel Class Reference

#include <GModelSpectralGauss.hpp>

Inheritance diagram for GModelSpectralGauss::eflux_kernel:
GFunction

Public Member Functions

 eflux_kernel (const double &norm, const double &mean, const double &sigma)
 
double eval (const double &eng)
 Kernel for energy flux integration.
 
- Public Member Functions inherited from GFunction
 GFunction (void)
 Void constructor.
 
 GFunction (const GFunction &function)
 Copy constructor.
 
virtual ~GFunction (void)
 Destructor.
 
GFunctionoperator= (const GFunction &function)
 Assignment operator.
 

Protected Attributes

double m_norm
 Normalization.
 
double m_mean
 Mean.
 
double m_sigma
 Sigma.
 

Additional Inherited Members

- Protected Member Functions inherited from GFunction
void init_members (void)
 Initialise class members.
 
void copy_members (const GFunction &function)
 Copy class members.
 
void free_members (void)
 Delete class members.
 

Detailed Description

Definition at line 112 of file GModelSpectralGauss.hpp.

Constructor & Destructor Documentation

◆ eflux_kernel()

GModelSpectralGauss::eflux_kernel::eflux_kernel ( const double & norm,
const double & mean,
const double & sigma )
inline

Definition at line 114 of file GModelSpectralGauss.hpp.

Member Function Documentation

◆ eval()

double GModelSpectralGauss::eflux_kernel::eval ( const double & energy)
virtual

Kernel for energy flux integration.

Parameters
[in]energyEnergy (MeV).

Implements GFunction.

Definition at line 672 of file GModelSpectralGauss.cpp.

References gammalib::inv_sqrt2pi, m_mean, m_norm, and m_sigma.

Member Data Documentation

◆ m_mean

double GModelSpectralGauss::eflux_kernel::m_mean
protected

Mean.

Definition at line 123 of file GModelSpectralGauss.hpp.

Referenced by eval().

◆ m_norm

double GModelSpectralGauss::eflux_kernel::m_norm
protected

Normalization.

Definition at line 122 of file GModelSpectralGauss.hpp.

Referenced by eval().

◆ m_sigma

double GModelSpectralGauss::eflux_kernel::m_sigma
protected

Sigma.

Definition at line 124 of file GModelSpectralGauss.hpp.

Referenced by eval().


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