GammaLib
2.1.0.dev
|
Kernel for Psf delta angle integration used for stacked analysis. More...
#include <GCTAResponse_helpers.hpp>
Public Member Functions | |
cta_psf_radial_kern_delta (const GCTAResponseCube *rsp, const GModelSpatialRadial *model, const GSkyDir &srcDir, const GEnergy &srcEng, const GTime &srcTime, const double &delta_mod, const double &theta_max, const int &iter) | |
double | eval (const double &delta) |
Kernel for PSF integration of radial model. 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 GCTAResponseCube * | m_rsp |
Response cube. More... | |
const GModelSpatialRadial * | m_model |
Radial model. More... | |
GSkyDir | m_srcDir |
True photon arrival direction. More... | |
GEnergy | m_srcEng |
True photon energy. More... | |
GTime | m_srcTime |
True photon arrival time. More... | |
double | m_delta_mod |
Distance of model from Psf. More... | |
double | m_cos_delta_mod |
Cosine of m_delta_mod. More... | |
double | m_sin_delta_mod |
Sine of m_delta_mod. More... | |
double | m_theta_max |
Maximum model radius. More... | |
double | m_cos_theta_max |
Cosine of m_theta_max. 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 Psf delta angle integration used for stacked analysis.
Definition at line 1139 of file GCTAResponse_helpers.hpp.
|
inline |
Definition at line 1141 of file GCTAResponse_helpers.hpp.
|
virtual |
Kernel for PSF integration of radial model.
[in] | delta | PSF offset angle (radians). |
Computes the azimuthally integrated product of point spread function and the radial model intensity. As the PSF is azimuthally symmetric, it is not included in the azimuthally integration, but just multiplied on the azimuthally integrated model. The method returns thus
\[ {\rm PSF}(\delta) \times \int_0^{2\pi} {\rm M}(\delta, \phi) \sin \delta {\rm d}\phi \]
where \({\rm M}(\delta, \phi)\) is the radial model in the coordinate system of the point spread function, defined by the angle \(\delta\) between the true and the measured photon direction and the azimuth angle \(\phi\) around the measured photon direction.
Implements GFunction.
Definition at line 1818 of file GCTAResponse_helpers.cpp.
References cos(), GIntegral::fixed_iter(), gammalib::is_infinite(), gammalib::is_notanumber(), m_cos_delta_mod, m_cos_theta_max, m_delta_mod, m_iter, m_model, m_rsp, m_sin_delta_mod, m_srcDir, m_srcEng, m_srcTime, m_theta_max, GCTAResponseCube::psf(), gammalib::roi_arclength(), GIntegral::romberg(), and sin().
|
protected |
Cosine of m_delta_mod.
Definition at line 1168 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
Cosine of m_theta_max.
Definition at line 1171 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
Distance of model from Psf.
Definition at line 1167 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
Integration iterations.
Definition at line 1172 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
|
protected |
|
protected |
Sine of m_delta_mod.
Definition at line 1169 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
True photon arrival direction.
Definition at line 1164 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
|
protected |
True photon arrival time.
Definition at line 1166 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
Maximum model radius.
Definition at line 1170 of file GCTAResponse_helpers.hpp.
Referenced by eval().