GammaLib  2.1.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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

Definition at line 61 of file GModelSpectralSmoothBrokenPlaw.cpp.

Referenced by GModelSpectralSmoothBrokenPlaw::mc().

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

Variable Documentation

const GModelSpectralRegistry g_spectral_sblaw_registry1 & g_spectral_sblaw_seed1

Definition at line 50 of file GModelSpectralSmoothBrokenPlaw.cpp.

const GModelSpectralRegistry g_spectral_sblaw_registry2 & g_spectral_sblaw_seed2

Definition at line 58 of file GModelSpectralSmoothBrokenPlaw.cpp.