|
GammaLib 2.2.0.dev
|
Public Member Functions | |
| npred_roi_kern_phi (const GCTABackground *bgd, const double &logE, const GCTAInstDir &roi_centre, const double &theta) | |
| double | eval (const double &phi) |
| Kernel for azimuth angle integration of background 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 GCTABackground * | m_bgd |
| Pointer to background. | |
| double | m_logE |
| Log10 of energy. | |
| GCTAInstDir | m_roi_centre |
| RoI centre. | |
| double | m_theta |
| Offset angle (radians) | |
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. | |
Definition at line 113 of file GCTAModelIrfBackground.hpp.
|
inline |
Definition at line 115 of file GCTAModelIrfBackground.hpp.
|
virtual |
Kernel for azimuth angle integration of background model.
| [in] | phi | Azimuth angle around ROI centre (radians). |
Computes
\[ B(\theta, \phi | E, t) \]
using
\[ {\rm detx} = \theta \cos \phi \]
\[ {\rm dety} = \theta \sin \phi \]
Implements GFunction.
Definition at line 1121 of file GCTAModelIrfBackground.cpp.
References gammalib::is_infinite(), gammalib::is_notanumber(), gammalib::str(), and gammalib::warning().
|
protected |
Pointer to background.
Definition at line 125 of file GCTAModelIrfBackground.hpp.
|
protected |
Log10 of energy.
Definition at line 126 of file GCTAModelIrfBackground.hpp.
|
protected |
RoI centre.
Definition at line 127 of file GCTAModelIrfBackground.hpp.
|
protected |
Offset angle (radians)
Definition at line 128 of file GCTAModelIrfBackground.hpp.