GammaLib 2.0.0
Loading...
Searching...
No Matches
GModelSpectralSmoothBrokenPlaw.cpp File Reference

Smoothly broken power law spectrum class implementation. More...

#include <cmath>
#include "GException.hpp"
#include "GIntegral.hpp"
#include "GTools.hpp"
#include "GRan.hpp"
#include "GModelSpectralSmoothBrokenPlaw.hpp"
#include "GModelSpectralRegistry.hpp"

Go to the source code of this file.

Macros

#define G_MC
 
#define G_READ   "GModelSpectralSmoothBrokenPlaw::read(GXmlElement&)"
 
#define G_WRITE   "GModelSpectralSmoothBrokenPlaw::write(GXmlElement&)"
 

Variables

const GModelSpectralSmoothBrokenPlaw g_spectral_sblaw_seed1 ("SmoothBrokenPowerLaw", "Prefactor", "Index1", "PivotEnergy", "Index2", "BreakEnergy", "BreakSmoothness")
 
const GModelSpectralSmoothBrokenPlaw g_spectral_sblaw_seed2 ("SmoothBrokenPowerLaw", "Prefactor", "Index1", "Scale", "Index2", "BreakValue", "Beta")
 

Detailed Description

Smoothly broken power law spectrum class implementation.

Author
Joshua Cardenzana

Definition in file GModelSpectralSmoothBrokenPlaw.cpp.

Macro Definition Documentation

◆ G_MC

#define G_MC
Value:
"GModelSpectralSmoothBrokenPlaw::mc(GEnergy&, GEnergy&, GTime&,"\
" GRan&)"

Definition at line 61 of file GModelSpectralSmoothBrokenPlaw.cpp.

◆ G_READ

#define G_READ   "GModelSpectralSmoothBrokenPlaw::read(GXmlElement&)"

Definition at line 63 of file GModelSpectralSmoothBrokenPlaw.cpp.

◆ G_WRITE

#define G_WRITE   "GModelSpectralSmoothBrokenPlaw::write(GXmlElement&)"

Definition at line 64 of file GModelSpectralSmoothBrokenPlaw.cpp.

Variable Documentation

◆ g_spectral_sblaw_seed1

const GModelSpectralRegistry g_spectral_sblaw_registry1 & g_spectral_sblaw_seed1 ( "SmoothBrokenPowerLaw" ,
"Prefactor" ,
"Index1" ,
"PivotEnergy" ,
"Index2" ,
"BreakEnergy" ,
"BreakSmoothness"  )

Definition at line 50 of file GModelSpectralSmoothBrokenPlaw.cpp.

◆ g_spectral_sblaw_seed2

const GModelSpectralRegistry g_spectral_sblaw_registry2 & g_spectral_sblaw_seed2 ( "SmoothBrokenPowerLaw" ,
"Prefactor" ,
"Index1" ,
"Scale" ,
"Index2" ,
"BreakValue" ,
"Beta"  )

Definition at line 58 of file GModelSpectralSmoothBrokenPlaw.cpp.