GammaLib
2.1.0.dev
|
Kernel for radial model zenith angle integration of IRF. More...
#include <GCTAResponse_helpers.hpp>
Public Member Functions | |
cta_irf_radial_kern_rho (const GCTAResponseIrf *rsp, const GModelSpatialRadial *model, const double &zenith, const double &azimuth, const GEnergy &srcEng, const GTime &srcTime, const GEnergy &obsEng, const double &zeta, const double &lambda, const double &omega0, const double &delta_max, const int &iter) | |
double | eval (const double &rho) |
Kernel for radial model zenith angle integration of Irf. 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 GCTAResponseIrf * | m_rsp |
CTA response. More... | |
const GModelSpatialRadial * | m_model |
Radial spatial model. More... | |
double | m_zenith |
Zenith angle. More... | |
double | m_azimuth |
Azimuth angle. More... | |
GEnergy | m_srcEng |
True photon energy. More... | |
GTime | m_srcTime |
True photon time. More... | |
GEnergy | m_obsEng |
Measured event energy. More... | |
double | m_zeta |
Distance model centre - measured photon. More... | |
double | m_cos_zeta |
Cosine of zeta. More... | |
double | m_sin_zeta |
Sine of zeta. More... | |
double | m_lambda |
Distance model centre - pointing. More... | |
double | m_cos_lambda |
Cosine of lambda. More... | |
double | m_sin_lambda |
Sine of lambda. More... | |
double | m_omega0 |
Azimuth of pointing in model system. More... | |
double | m_delta_max |
Maximum PSF radius. More... | |
double | m_cos_delta_max |
Cosine of maximum PSF radius. More... | |
int | m_iter |
Integration iterations. 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... | |
Kernel for radial model zenith angle integration of IRF.
Kernel for radial model zenith angle integration.
This class implements the integration kernel \(K(\rho)\) for the integration
\[ \int_{\rho_{\rm min}}^{\rho_{\rm max}} K(\rho | E, t) d\rho \]
of radial spatial models. The eval() method computes
\[ K(\rho | E, t) = \sin \rho \times S_{\rm p}(\rho | E, t) \times \int_{\omega_{\rm min}}^{\omega_{\rm max}} IRF(\rho, \omega) d\omega \]
where
This class implements the integration kernel \(K(\rho)\) for the integration
\[ \int_{\rho_{\rm min}}^{\rho_{\rm max}} K(\rho | E, t) d\rho \]
of radial spatial models. The eval() method computes
\[ K(\rho | E, t) = \sin \rho \times S_{\rm p}(\rho | E, t) \times \int_{\omega} PSF(\rho, \omega) d\omega \]
where \(S_{\rm p}(\rho | E, t)\) is the radial model, \(PSF(\rho, \omega)\) is the point spread function, \(\rho\) is the distance from the model centre, and \(\omega\) is the position angle with respect to the connecting line between the model centre and the observed photon arrival direction.
Definition at line 178 of file GCTAResponse_helpers.hpp.
|
inline |
Definition at line 180 of file GCTAResponse_helpers.hpp.
|
virtual |
Kernel for radial model zenith angle integration of Irf.
[in] | rho | Zenith angle with respect to model centre [radians]. |
Computes the kernel
\[ K(\rho | E, t) = \sin \rho \times S_{\rm p}(\rho | E, t) \times \int_{\omega_{\rm min}}^{\omega_{\rm max}} IRF(\rho, \omega) d\omega \]
for the zenith angle integration of radial models.
Implements GFunction.
Definition at line 332 of file GCTAResponse_helpers.cpp.
References cos(), GModelSpatialRadial::eval(), GIntegral::fixed_iter(), g_kludge_radius, gammalib::is_infinite(), gammalib::is_notanumber(), m_azimuth, m_cos_delta_max, m_cos_lambda, m_cos_zeta, m_delta_max, m_iter, m_lambda, m_model, m_obsEng, m_omega0, m_rsp, m_sin_lambda, m_sin_zeta, m_srcEng, m_srcTime, m_zenith, m_zeta, gammalib::rad2deg, gammalib::roi_arclength(), GIntegral::romberg(), sin(), and GModelSpatialRadial::theta_max().
|
protected |
|
protected |
Cosine of maximum PSF radius.
Definition at line 226 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
|
protected |
|
protected |
|
protected |
Integration iterations.
Definition at line 227 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
Distance model centre - pointing.
Definition at line 221 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
Radial spatial model.
Definition at line 212 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
Measured event energy.
Definition at line 217 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
Azimuth of pointing in model system.
Definition at line 224 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Distance model centre - measured photon.
Definition at line 218 of file GCTAResponse_helpers.hpp.
Referenced by eval().