GammaLib
2.1.0.dev
|
Public Member Functions | |
edisp_ereco_kern (const GCTAEdisp2D *parent, const GEnergy &etrue, const double &theta) | |
double | eval (const double &log10Ereco) |
Integration kernel for GCTAEdisp2D::edisp_ereco_kern class. 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 GCTAEdisp2D * | m_parent |
Pointer to parent class. More... | |
GEnergy | m_etrue |
True photon energy. More... | |
double | m_theta |
Offset angle. 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 209 of file GCTAEdisp2D.hpp.
|
inline |
Definition at line 211 of file GCTAEdisp2D.hpp.
|
virtual |
Integration kernel for GCTAEdisp2D::edisp_ereco_kern class.
[in] | log10Ereco | Log10 of reconstructed energy ( \(\log_{10}\) MeV). |
This method implements the function
\[ E_{\rm disp}(\log_{10} E_{\rm reco} | E_{\rm true}, \theta) = E_{\rm disp}(m | E_{\rm true}, \theta) \times \frac{\log 10 \times E_{\rm reco}}{E_{\rm true}} \]
which is the integration kernel needed for the GCTAEdisp2D::edisp_ereco_kern class. The class is used by GCTAEdisp2D::normalize_table() to integrate the energy dispersion information using
\[ \int_{\log_{10} E_{\rm reco}^{\rm min}}^{\log_{10} E_{\rm reco}^{\rm max}} E_{\rm disp}(\log_{10} E_{\rm reco} | E_{\rm true}, \theta) \, d(\log_{10} E_{\rm reco}) \]
Implements GFunction.
Definition at line 2257 of file GCTAEdisp2D.cpp.
References gammalib::is_infinite(), gammalib::is_notanumber(), gammalib::ln10, GEnergy::log10MeV(), m_etrue, m_parent, m_theta, and GEnergy::MeV().
|
protected |
|
protected |
|
protected |