GammaLib
2.1.0.dev
|
#include <GResponse.hpp>
Public Member Functions | |
edisp_kerns (const GResponse *parent, const GObservation *obs, const GModelSky *model, const GEvent *event, const GTime &srcTime, const bool &grad) | |
Constructor for energy dispersion integration kernels class. More... | |
int | size (void) const |
GVector | eval (const double &etrue) |
Evaluate energy dispersion integration kernel. More... | |
Public Member Functions inherited from GFunctions | |
GFunctions (void) | |
Void constructor. More... | |
GFunctions (const GFunctions &functions) | |
Copy constructor. More... | |
virtual | ~GFunctions (void) |
Destructor. More... | |
GFunctions & | operator= (const GFunctions &functions) |
Assignment operator. More... | |
Protected Attributes | |
const GResponse * | m_parent |
Response. More... | |
const GObservation * | m_obs |
Observation. More... | |
const GModelSky * | m_model |
Sky model. More... | |
const GEvent * | m_event |
Event. More... | |
int | m_size |
Array of values and gradients. More... | |
std::vector< GModelPar * > | m_pars |
Parameter pointers. More... | |
GTime | m_srcTime |
True arrival time. More... | |
bool | m_grad |
Gradient flag. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from GFunctions | |
void | init_members (void) |
Initialise class members. More... | |
void | copy_members (const GFunctions &functions) |
Copy class members. More... | |
void | free_members (void) |
Delete class members. More... | |
Definition at line 172 of file GResponse.hpp.
GResponse::edisp_kerns::edisp_kerns | ( | const GResponse * | parent, |
const GObservation * | obs, | ||
const GModelSky * | model, | ||
const GEvent * | event, | ||
const GTime & | srcTime, | ||
const bool & | grad | ||
) |
Constructor for energy dispersion integration kernels class.
[in] | parent | Pointer to response. |
[in] | obs | Pointer to observation. |
[in] | model | Pointer to sky model. |
[in] | event | Pointer to event. |
[in] | srcTime | True time. |
[in] | grad | Evaluate gradients? |
This method constructs the integration kernel needed for the energy dispersion computation.
Definition at line 1891 of file GResponse.cpp.
References GOptimizerPar::has_grad(), GModel::has_scales(), GObservation::instrument(), GOptimizerPar::is_free(), m_event, m_grad, m_model, m_obs, m_parent, m_pars, m_size, m_srcTime, GOptimizerPar::name(), GModel::scale(), GModel::scales(), GModelTemporal::size(), GModelSpectral::size(), GModelSky::spectral(), and GModelSky::temporal().
|
virtual |
Evaluate energy dispersion integration kernel.
[in] | etrue | True photon energy in MeV. |
This method implements the integration kernel needed for the GResponse::edisp_kern() class.
Implements GFunctions.
Definition at line 2012 of file GResponse.cpp.
References gammalib::is_infinite(), gammalib::is_notanumber(), and GEnergy::MeV().
|
inlinevirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Array of values and gradients.
Definition at line 187 of file GResponse.hpp.
Referenced by edisp_kerns(), and size().
|
protected |