Definition at line 94 of file GCTAModelIrfBackground.hpp.
◆ npred_roi_kern_theta()
GCTAModelIrfBackground::npred_roi_kern_theta::npred_roi_kern_theta |
( |
const GCTABackground * | bgd, |
|
|
const double & | logE, |
|
|
const GCTAInstDir & | roi_centre, |
|
|
const int & | iter ) |
|
inline |
◆ eval()
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(), gammalib::str(), gammalib::twopi, and gammalib::warning().
◆ m_bgd
const GCTABackground* GCTAModelIrfBackground::npred_roi_kern_theta::m_bgd |
|
protected |
◆ m_iter
int GCTAModelIrfBackground::npred_roi_kern_theta::m_iter |
|
protected |
◆ m_logE
double GCTAModelIrfBackground::npred_roi_kern_theta::m_logE |
|
protected |
◆ m_roi_centre
GCTAInstDir GCTAModelIrfBackground::npred_roi_kern_theta::m_roi_centre |
|
protected |
The documentation for this class was generated from the following files: