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

Broken power law spectrum class implementation. More...

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

Go to the source code of this file.

Macros

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

Variables

const GModelSpectralBrokenPlaw g_spectral_blaw_seed1 ("BrokenPowerLaw", "Prefactor", "Index1", "BreakEnergy", "Index2")
 

Detailed Description

Broken power law spectrum class implementation.

Author
Anneli Schulz

Definition in file GModelSpectralBrokenPlaw.cpp.

Macro Definition Documentation

◆ G_MC

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

Definition at line 57 of file GModelSpectralBrokenPlaw.cpp.

◆ G_READ

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

Definition at line 59 of file GModelSpectralBrokenPlaw.cpp.

◆ G_WRITE

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

Definition at line 60 of file GModelSpectralBrokenPlaw.cpp.

Variable Documentation

◆ g_spectral_blaw_seed1

const GModelSpectralRegistry g_spectral_blaw_registry1 & g_spectral_blaw_seed1 ( "BrokenPowerLaw" ,
"Prefactor" ,
"Index1" ,
"BreakEnergy" ,
"Index2"  )

Definition at line 46 of file GModelSpectralBrokenPlaw.cpp.