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

Detailed Description

Definition at line 144 of file GModelSpectralSmoothBrokenPlaw.hpp.

Constructor & Destructor Documentation

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

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

Member Data Documentation

double GModelSpectralSmoothBrokenPlaw::flux_kern::m_beta
protected

Break smoothness parameter.

Definition at line 175 of file GModelSpectralSmoothBrokenPlaw.hpp.

Referenced by eval().

GEnergy GModelSpectralSmoothBrokenPlaw::flux_kern::m_breakenergy
protected

Break energy.

Definition at line 174 of file GModelSpectralSmoothBrokenPlaw.hpp.

Referenced by eval().

double GModelSpectralSmoothBrokenPlaw::flux_kern::m_index1
protected

Spectral index1.

Definition at line 171 of file GModelSpectralSmoothBrokenPlaw.hpp.

Referenced by eval().

double GModelSpectralSmoothBrokenPlaw::flux_kern::m_index2
protected

Spectral index2.

Definition at line 172 of file GModelSpectralSmoothBrokenPlaw.hpp.

Referenced by eval().

GEnergy GModelSpectralSmoothBrokenPlaw::flux_kern::m_pivot
protected

Pivot energy.

Definition at line 173 of file GModelSpectralSmoothBrokenPlaw.hpp.

Referenced by eval().

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: