GammaLib  2.1.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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. More...
 
- Public Member Functions inherited from GFunction
 GFunction (void)
 Void constructor. More...
 
 GFunction (const GFunction &function)
 Copy constructor. More...
 
virtual ~GFunction (void)
 Destructor. More...
 
GFunctionoperator= (const GFunction &function)
 Assignment operator. More...
 

Protected Attributes

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

Additional Inherited Members

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

Detailed Description

Definition at line 112 of file GModelSpectralGauss.hpp.

Constructor & Destructor Documentation

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

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 exp(), gammalib::inv_sqrt2pi, m_mean, m_norm, and m_sigma.

Member Data Documentation

double GModelSpectralGauss::eflux_kernel::m_mean
protected

Mean.

Definition at line 123 of file GModelSpectralGauss.hpp.

Referenced by eval().

double GModelSpectralGauss::eflux_kernel::m_norm
protected

Normalization.

Definition at line 122 of file GModelSpectralGauss.hpp.

Referenced by eval().

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: