GammaLib
2.0.0
|
#include <GModelSpectralSmoothBrokenPlaw.hpp>
Public Member Functions | |
flux_kern (const double &prefactor, const double &index1, const GEnergy &pivot, const double &index2, const GEnergy &breakenergy, const double &beta) | |
double | eval (const double &energy) |
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_prefactor |
Normalization. More... | |
double | m_index1 |
Spectral index1. More... | |
double | m_index2 |
Spectral index2. More... | |
GEnergy | m_pivot |
Pivot energy. More... | |
GEnergy | m_breakenergy |
Break energy. More... | |
double | m_beta |
Break smoothness parameter. 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 144 of file GModelSpectralSmoothBrokenPlaw.hpp.
|
inline |
Definition at line 147 of file GModelSpectralSmoothBrokenPlaw.hpp.
|
inlinevirtual |
Implements GFunction.
Reimplemented in GModelSpectralSmoothBrokenPlaw::eflux_kern.
Definition at line 161 of file GModelSpectralSmoothBrokenPlaw.hpp.
References m_beta, m_breakenergy, m_index1, m_index2, m_pivot, m_prefactor, GEnergy::MeV(), and pow().
Referenced by GModelSpectralSmoothBrokenPlaw::eflux_kern::eval().
|
protected |
Break smoothness parameter.
Definition at line 175 of file GModelSpectralSmoothBrokenPlaw.hpp.
Referenced by eval().
|
protected |
Break energy.
Definition at line 174 of file GModelSpectralSmoothBrokenPlaw.hpp.
Referenced by eval().
|
protected |
Spectral index1.
Definition at line 171 of file GModelSpectralSmoothBrokenPlaw.hpp.
Referenced by eval().
|
protected |
Spectral index2.
Definition at line 172 of file GModelSpectralSmoothBrokenPlaw.hpp.
Referenced by eval().
|
protected |
Pivot energy.
Definition at line 173 of file GModelSpectralSmoothBrokenPlaw.hpp.
Referenced by eval().
|
protected |
Normalization.
Definition at line 170 of file GModelSpectralSmoothBrokenPlaw.hpp.
Referenced by eval().