|
GammaLib 2.2.0.dev
|
Kernel for Nroi azimuth angle integration of diffuse model. More...
#include <GCTAResponse_helpers.hpp>
Public Member Functions | |
| cta_nroi_diffuse_kern_phi (const GCTAResponseIrf *rsp, const GCTAObservation *obs, const GModelSpatial *model, const GMatrix *rot, const GEnergy &srcEng, const GTime &srcTime, const GEnergy &obsEng, const GTime &obsTime, const double &theta, const double &sin_theta) | |
| double | eval (const double &phi) |
| Kernel for Nroi azimuth angle integration of diffuse model. | |
Public Member Functions inherited from GFunction | |
| GFunction (void) | |
| Void constructor. | |
| GFunction (const GFunction &function) | |
| Copy constructor. | |
| virtual | ~GFunction (void) |
| Destructor. | |
| GFunction & | operator= (const GFunction &function) |
| Assignment operator. | |
Protected Attributes | |
| const GCTAResponseIrf * | m_rsp |
| CTA response. | |
| const GCTAObservation * | m_obs |
| CTA observation. | |
| const GModelSpatial * | m_model |
| Spatial model. | |
| const GMatrix * | m_rot |
| Rotation matrix. | |
| GEnergy | m_srcEng |
| True photon energy. | |
| GTime | m_srcTime |
| True photon arrival time. | |
| GEnergy | m_obsEng |
| Observed photon energy. | |
| GTime | m_obsTime |
| Observed photon arrival time. | |
| double | m_theta |
| Offset angle (radians) | |
| double | m_cos_theta |
| Cosine of offset angle. | |
| double | m_sin_theta |
| Sine of offset angle. | |
Additional Inherited Members | |
Protected Member Functions inherited from GFunction | |
| void | init_members (void) |
| Initialise class members. | |
| void | copy_members (const GFunction &function) |
| Copy class members. | |
| void | free_members (void) |
| Delete class members. | |
Kernel for Nroi azimuth angle integration of diffuse model.
This class implements the computation of
\[ S_{\rm p}(\theta, \phi | E, t) \, N_{\rm pred}(\theta, \phi) \]
where
Definition at line 986 of file GCTAResponse_helpers.hpp.
|
inline |
Definition at line 988 of file GCTAResponse_helpers.hpp.
|
virtual |
Kernel for Nroi azimuth angle integration of diffuse model.
| [in] | phi | Azimuth angle with respect to ROI centre (radians). |
Computes
\[ S_{\rm p}(\theta, \phi | E, t) \, N_{\rm pred}(\theta, \phi) \]
Implements GFunction.
Definition at line 1566 of file GCTAResponse_helpers.cpp.
References GSkyDir::celvector(), GModelSpatial::eval(), gammalib::is_infinite(), gammalib::is_notanumber(), m_cos_theta, m_model, m_obs, m_obsEng, m_obsTime, m_rot, m_rsp, m_sin_theta, m_srcEng, m_srcTime, and GCTAResponseIrf::nirf().
|
protected |
Cosine of offset angle.
Definition at line 1020 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
|
protected |
|
protected |
Observed photon energy.
Definition at line 1017 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
Observed photon arrival time.
Definition at line 1018 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
|
protected |
|
protected |
Sine of offset angle.
Definition at line 1021 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
|
protected |
True photon arrival time.
Definition at line 1016 of file GCTAResponse_helpers.hpp.
Referenced by eval().
|
protected |
Offset angle (radians)
Definition at line 1019 of file GCTAResponse_helpers.hpp.