GammaLib
2.0.0
|
Kernel for radial model azimuth angle IRF integration. More...
#include <GCTAResponse_helpers.hpp>
Public Member Functions | |
cta_irf_radial_kern_omega (const GCTAResponseIrf *rsp, const double &zenith, const double &azimuth, const GEnergy &srcEng, const GEnergy &obsEng, const double &zeta, const double &lambda, const double &omega0, const double &rho, const double &cos_psf, const double &sin_psf, const double &cos_ph, const double &sin_ph) | |
double | eval (const double &omega) |
Kernel for radial model azimuth angle IRF integration. 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... | |
double | m_zenith |
Zenith angle. More... | |
double | m_azimuth |
Azimuth angle. More... | |
GEnergy | m_srcEng |
True photon energy. More... | |
GEnergy | m_obsEng |
Measured event energy. More... | |
double | m_zeta |
Distance model centre - measured photon. More... | |
double | m_lambda |
Distance model centre - pointing. More... | |
double | m_omega0 |
Azimuth of pointing in model system. More... | |
double | m_rho |
... More... | |
double | m_cos_psf |
Cosine term for PSF offset angle computation. More... | |
double | m_sin_psf |
Sine term for PSF offset angle computation. More... | |
double | m_cos_ph |
Cosine term for photon offset angle computation. More... | |
double | m_sin_ph |
Sine term for photon offset angle computation. 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 azimuth angle IRF integration.
This class implements the computation of the IRF in the reference frame of the radial source model. It computes
\[ IRF(\rho, \omega) \]
where
Definition at line 249 of file GCTAResponse_helpers.hpp.
|
inline |
Definition at line 251 of file GCTAResponse_helpers.hpp.
|
virtual |
Kernel for radial model azimuth angle IRF integration.
[in] | omega | Azimuth angle (radians). |
Computes the kernel
\[ IRF(\rho,\omega) \]
for the azimuth angle integration of radial models.
From the model coordinates \((\rho,\omega)\), the method computes the angle between the true ( \(\vec{p}\)) and observed ( \(\vec{p'}\)) photon arrival direction using
\[\delta = \arccos(\cos \rho \cos \zeta + \sin \rho \sin \zeta \cos \omega)\]
where \(\zeta\) is the angular distance between the observed photon arrival direction \(\vec{p'}\) and the model centre \(\vec{m}\). This angle \(\delta\) is used to compute the \(PSF(\delta)\) value.
The method computes also the angle \(\theta\) between the observed photon arrival direction \(\vec{p'}\) and the camera pointing \(\vec{d}\) using
\[\theta = \arccos(\cos \rho \cos \lambda + \sin \rho \sin \lambda \cos \omega_0 - \omega)\]
where \(\lambda\) is the angular distance between the model centre \(\vec{m}\) and the camera pointing direction \(\vec{d}\). The angle \(\theta\) is used in the computation of the IRF (no azimuthal dependence is so far implemented for the IRF computation).
Implements GFunction.
Definition at line 474 of file GCTAResponse_helpers.cpp.
References gammalib::acos(), GCTAResponseIrf::aeff(), cos(), GCTAResponseIrf::edisp(), gammalib::is_infinite(), gammalib::is_notanumber(), GEnergy::log10TeV(), m_azimuth, m_cos_ph, m_cos_psf, m_obsEng, m_omega0, m_rsp, m_sin_ph, m_sin_psf, m_srcEng, m_zenith, GCTAResponseIrf::psf(), and GCTAResponseIrf::use_edisp().
|
protected |
|
protected |
Cosine term for photon offset angle computation.
Definition at line 290 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
Cosine term for PSF offset angle computation.
Definition at line 288 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
Distance model centre - pointing.
Definition at line 285 of file GCTAResponse_helpers.hpp.
|
protected |
Measured event energy.
Definition at line 283 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
Azimuth of pointing in model system.
Definition at line 286 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
...
Definition at line 287 of file GCTAResponse_helpers.hpp.
|
protected |
|
protected |
Sine term for photon offset angle computation.
Definition at line 291 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
Sine term for PSF offset angle computation.
Definition at line 289 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
|
protected |
|
protected |
Distance model centre - measured photon.
Definition at line 284 of file GCTAResponse_helpers.hpp.