GammaLib
2.1.0.dev
|
#include <GObservation.hpp>
Public Member Functions | |
npred_spec_kern (const GObservation *parent, const GModel *model, const GTime *obsTime) | |
double | eval (const double &x) |
Integration kernel for npred_spec() method. More... | |
Public Member Functions inherited from GFunction | |
GFunction (void) | |
Void constructor. More... | |
GFunction (const GFunction &function) | |
Copy constructor. More... | |
virtual | ~GFunction (void) |
Destructor. More... | |
GFunction & | operator= (const GFunction &function) |
Assignment operator. More... | |
Protected Attributes | |
const GObservation * | m_parent |
Observation. More... | |
const GModel * | m_model |
Model. More... | |
const GTime * | m_time |
Time. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from GFunction | |
void | init_members (void) |
Initialise class members. More... | |
void | copy_members (const GFunction &function) |
Copy class members. More... | |
void | free_members (void) |
Delete class members. More... | |
Definition at line 191 of file GObservation.hpp.
|
inline |
Definition at line 193 of file GObservation.hpp.
|
virtual |
Integration kernel for npred_spec() method.
[in] | x | Function value. |
This method implements the integration kernel needed for the npred_spec() method. If G_LN_ENERGY_INT is defined the energy integration is done logarithmically, i.e. x
is given in ln(energy) instead of energy.
Implements GFunction.
Definition at line 2020 of file GObservation.cpp.
References exp(), gammalib::is_infinite(), gammalib::is_notanumber(), and GEnergy::MeV().
|
protected |
Model.
Definition at line 202 of file GObservation.hpp.
|
protected |
Observation.
Definition at line 201 of file GObservation.hpp.
|
protected |
Time.
Definition at line 203 of file GObservation.hpp.