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

Power law spectral model class implementation. More...

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

Go to the source code of this file.

Macros

#define G_EVAL   "GModelSpectralPlaw::eval(GEnergy&, GTime&, bool&)"
 
#define G_MC   "GModelSpectralPlaw::mc(GEnergy&, GEnergy&, GTime&, GRan&)"
 
#define G_READ   "GModelSpectralPlaw::read(GXmlElement&)"
 
#define G_WRITE   "GModelSpectralPlaw::write(GXmlElement&)"
 

Variables

const GModelSpectralPlaw g_spectral_plaw_seed1 ("PowerLaw", "Prefactor", "Index", "PivotEnergy")
 

Detailed Description

Power law spectral model class implementation.

Author
Juergen Knoedlseder

Definition in file GModelSpectralPlaw.cpp.

Macro Definition Documentation

◆ G_EVAL

#define G_EVAL   "GModelSpectralPlaw::eval(GEnergy&, GTime&, bool&)"

Definition at line 55 of file GModelSpectralPlaw.cpp.

◆ G_MC

#define G_MC   "GModelSpectralPlaw::mc(GEnergy&, GEnergy&, GTime&, GRan&)"

Definition at line 56 of file GModelSpectralPlaw.cpp.

◆ G_READ

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

Definition at line 57 of file GModelSpectralPlaw.cpp.

◆ G_WRITE

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

Definition at line 58 of file GModelSpectralPlaw.cpp.

Variable Documentation

◆ g_spectral_plaw_seed1

const GModelSpectralRegistry g_spectral_plaw_registry1 & g_spectral_plaw_seed1 ( "PowerLaw" ,
"Prefactor" ,
"Index" ,
"PivotEnergy"  )

Definition at line 45 of file GModelSpectralPlaw.cpp.