GammaLib
2.1.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. 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 GCTAObservation * | m_obs |
CTA observation. More... | |
const GModelSpatial * | m_model |
Spatial model. More... | |
const GMatrix * | m_rot |
Rotation matrix. More... | |
GEnergy | m_srcEng |
True photon energy. More... | |
GTime | m_srcTime |
True photon arrival time. More... | |
GEnergy | m_obsEng |
Observed photon energy. More... | |
GTime | m_obsTime |
Observed photon arrival time. More... | |
double | m_theta |
Offset angle (radians) More... | |
double | m_cos_theta |
Cosine of offset angle. More... | |
double | m_sin_theta |
Sine of 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... | |
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(), cos(), 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, GCTAResponseIrf::nirf(), and sin().
|
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.