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

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

Definition at line 55 of file GModelSpectralPlaw.cpp.

Referenced by GModelSpectralPlaw::mc().

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

Definition at line 56 of file GModelSpectralPlaw.cpp.

Referenced by GModelSpectralPlaw::read().

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

Definition at line 57 of file GModelSpectralPlaw.cpp.

Referenced by GModelSpectralPlaw::write().

Variable Documentation

const GModelSpectralRegistry g_spectral_plaw_registry1 & g_spectral_plaw_seed1

Definition at line 45 of file GModelSpectralPlaw.cpp.