GammaLib 2.0.0
Loading...
Searching...
No Matches
GModelSpectralSmoothBrokenPlaw::flux_kern Class Reference

#include <GModelSpectralSmoothBrokenPlaw.hpp>

Inheritance diagram for GModelSpectralSmoothBrokenPlaw::flux_kern:
GFunction GModelSpectralSmoothBrokenPlaw::eflux_kern

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.
 
 GFunction (const GFunction &function)
 Copy constructor.
 
virtual ~GFunction (void)
 Destructor.
 
GFunctionoperator= (const GFunction &function)
 Assignment operator.
 

Protected Attributes

double m_prefactor
 Normalization.
 
double m_index1
 Spectral index1.
 
double m_index2
 Spectral index2.
 
GEnergy m_pivot
 Pivot energy.
 
GEnergy m_breakenergy
 Break energy.
 
double m_beta
 Break smoothness parameter.
 

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 144 of file GModelSpectralSmoothBrokenPlaw.hpp.

Constructor & Destructor Documentation

◆ flux_kern()

GModelSpectralSmoothBrokenPlaw::flux_kern::flux_kern ( const double & prefactor,
const double & index1,
const GEnergy & pivot,
const double & index2,
const GEnergy & breakenergy,
const double & beta )
inline

Definition at line 147 of file GModelSpectralSmoothBrokenPlaw.hpp.

Member Function Documentation

◆ eval()

double GModelSpectralSmoothBrokenPlaw::flux_kern::eval ( const double & energy)
inlinevirtual

Member Data Documentation

◆ m_beta

double GModelSpectralSmoothBrokenPlaw::flux_kern::m_beta
protected

Break smoothness parameter.

Definition at line 175 of file GModelSpectralSmoothBrokenPlaw.hpp.

Referenced by eval().

◆ m_breakenergy

GEnergy GModelSpectralSmoothBrokenPlaw::flux_kern::m_breakenergy
protected

Break energy.

Definition at line 174 of file GModelSpectralSmoothBrokenPlaw.hpp.

Referenced by eval().

◆ m_index1

double GModelSpectralSmoothBrokenPlaw::flux_kern::m_index1
protected

Spectral index1.

Definition at line 171 of file GModelSpectralSmoothBrokenPlaw.hpp.

Referenced by eval().

◆ m_index2

double GModelSpectralSmoothBrokenPlaw::flux_kern::m_index2
protected

Spectral index2.

Definition at line 172 of file GModelSpectralSmoothBrokenPlaw.hpp.

Referenced by eval().

◆ m_pivot

GEnergy GModelSpectralSmoothBrokenPlaw::flux_kern::m_pivot
protected

Pivot energy.

Definition at line 173 of file GModelSpectralSmoothBrokenPlaw.hpp.

Referenced by eval().

◆ m_prefactor

double GModelSpectralSmoothBrokenPlaw::flux_kern::m_prefactor
protected

Normalization.

Definition at line 170 of file GModelSpectralSmoothBrokenPlaw.hpp.

Referenced by eval().


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