Definition at line 94 of file GCTAModelIrfBackground.hpp.
GCTAModelIrfBackground::npred_roi_kern_theta::npred_roi_kern_theta |
( |
const GCTABackground * |
bgd, |
|
|
const double & |
logE, |
|
|
const GCTAInstDir & |
roi_centre, |
|
|
const int & |
iter |
|
) |
| |
|
inline |
double GCTAModelIrfBackground::npred_roi_kern_theta::eval |
( |
const double & |
theta | ) |
|
|
virtual |
Kernel for offset angle integration of background model.
- Parameters
-
[in] | theta | Offset angle from ROI centre (radians). |
Computes
\[ K(\rho | E, t) = \sin \theta \times \int_{0}^{2\pi} B(\theta,\phi | E, t) d\phi \]
where \(B(\theta,\phi | E, t)\) is the background model for a specific observed energy \(E\) and time \(t\).
Implements GFunction.
Definition at line 1062 of file GCTAModelIrfBackground.cpp.
References GIntegral::fixed_iter(), gammalib::is_infinite(), gammalib::is_notanumber(), m_bgd, m_iter, m_logE, m_roi_centre, GIntegral::romberg(), sin(), gammalib::str(), gammalib::twopi, and gammalib::warning().
const GCTABackground* GCTAModelIrfBackground::npred_roi_kern_theta::m_bgd |
|
protected |
int GCTAModelIrfBackground::npred_roi_kern_theta::m_iter |
|
protected |
double GCTAModelIrfBackground::npred_roi_kern_theta::m_logE |
|
protected |
GCTAInstDir GCTAModelIrfBackground::npred_roi_kern_theta::m_roi_centre |
|
protected |
The documentation for this class was generated from the following files: