|
GammaLib 2.2.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. | |
Public Member Functions inherited from GFunction | |
| GFunction (void) | |
| Void constructor. | |
| GFunction (const GFunction &function) | |
| Copy constructor. | |
| virtual | ~GFunction (void) |
| Destructor. | |
| GFunction & | operator= (const GFunction &function) |
| Assignment operator. | |
Protected Attributes | |
| const GObservation * | m_parent |
| Observation. | |
| const GModel * | m_model |
| Model. | |
| const GTime * | m_time |
| Time. | |
Additional Inherited Members | |
Protected Member Functions inherited from GFunction | |
| void | init_members (void) |
| Initialise class members. | |
| void | copy_members (const GFunction &function) |
| Copy class members. | |
| void | free_members (void) |
| Delete class members. | |
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 2131 of file GObservation.cpp.
References 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.