GammaLib
2.0.0
|
#include <GModelSpectralGauss.hpp>
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... | |
GFunction & | operator= (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... | |
Definition at line 112 of file GModelSpectralGauss.hpp.
|
inline |
Definition at line 114 of file GModelSpectralGauss.hpp.
|
virtual |
Kernel for energy flux integration.
[in] | energy | Energy (MeV). |
Implements GFunction.
Definition at line 672 of file GModelSpectralGauss.cpp.
References exp(), gammalib::inv_sqrt2pi, m_mean, m_norm, and m_sigma.
|
protected |
|
protected |
|
protected |