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

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

Definition at line 57 of file GModelSpectralBrokenPlaw.cpp.

Referenced by GModelSpectralBrokenPlaw::mc().

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

Definition at line 59 of file GModelSpectralBrokenPlaw.cpp.

Referenced by GModelSpectralBrokenPlaw::read().

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

Definition at line 60 of file GModelSpectralBrokenPlaw.cpp.

Referenced by GModelSpectralBrokenPlaw::write().

Variable Documentation

const GModelSpectralRegistry g_spectral_blaw_registry1 & g_spectral_blaw_seed1

Definition at line 46 of file GModelSpectralBrokenPlaw.cpp.