GammaLib 2.0.0
Loading...
Searching...
No Matches
GModelSpectralSuperExpPlaw::eflux_kernel Class Reference

#include <GModelSpectralSuperExpPlaw.hpp>

Inheritance diagram for GModelSpectralSuperExpPlaw::eflux_kernel:
GFunction

Public Member Functions

 eflux_kernel (const double &norm, const double &index1, const double &pivot, const double &ecut, const double &index2)
 
double eval (const double &eng)
 Kernel for energy flux integration.
 
- 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_norm
 Normalization.
 
double m_index1
 Index1.
 
double m_inv_pivot
 1 / Pivot energy
 
double m_inv_ecut
 1 / Cut off energy
 
double m_index2
 Index2.
 

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 152 of file GModelSpectralSuperExpPlaw.hpp.

Constructor & Destructor Documentation

◆ eflux_kernel()

GModelSpectralSuperExpPlaw::eflux_kernel::eflux_kernel ( const double & norm,
const double & index1,
const double & pivot,
const double & ecut,
const double & index2 )
inline

Definition at line 154 of file GModelSpectralSuperExpPlaw.hpp.

Member Function Documentation

◆ eval()

double GModelSpectralSuperExpPlaw::eflux_kernel::eval ( const double & energy)
virtual

Kernel for energy flux integration.

Parameters
[in]energyEnergy (MeV).

Implements GFunction.

Definition at line 974 of file GModelSpectralSuperExpPlaw.cpp.

References GModelSpectralSuperExpPlaw::m_index1, GModelSpectralSuperExpPlaw::m_index2, and GModelSpectralSuperExpPlaw::m_norm.

Member Data Documentation

◆ m_index1

double GModelSpectralSuperExpPlaw::eflux_kernel::m_index1
protected

Index1.

Definition at line 167 of file GModelSpectralSuperExpPlaw.hpp.

◆ m_index2

double GModelSpectralSuperExpPlaw::eflux_kernel::m_index2
protected

Index2.

Definition at line 170 of file GModelSpectralSuperExpPlaw.hpp.

◆ m_inv_ecut

double GModelSpectralSuperExpPlaw::eflux_kernel::m_inv_ecut
protected

1 / Cut off energy

Definition at line 169 of file GModelSpectralSuperExpPlaw.hpp.

◆ m_inv_pivot

double GModelSpectralSuperExpPlaw::eflux_kernel::m_inv_pivot
protected

1 / Pivot energy

Definition at line 168 of file GModelSpectralSuperExpPlaw.hpp.

◆ m_norm

double GModelSpectralSuperExpPlaw::eflux_kernel::m_norm
protected

Normalization.

Definition at line 166 of file GModelSpectralSuperExpPlaw.hpp.


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