GammaLib
2.0.0
|
Public Member Functions | |
npred_roi_kern_theta (const GCTAAeff *aeff, const double &logE, const GCTAInstDir &roi_centre, const int &iter) | |
double | eval (const double &theta) |
Kernel for offset angle integration of effective area background 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 GCTAAeff * | m_aeff |
Pointer to effectve area. More... | |
double | m_logE |
Log10 of energy. More... | |
GCTAInstDir | m_roi_centre |
RoI centre. More... | |
int | m_iter |
Romberg iterations. 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... | |
Definition at line 97 of file GCTAModelAeffBackground.hpp.
|
inline |
Definition at line 99 of file GCTAModelAeffBackground.hpp.
|
virtual |
Kernel for offset angle integration of effective area background model.
[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 1176 of file GCTAModelAeffBackground.cpp.
References GIntegral::fixed_iter(), gammalib::is_infinite(), gammalib::is_notanumber(), m_aeff, m_iter, m_logE, m_roi_centre, GIntegral::romberg(), sin(), gammalib::str(), gammalib::twopi, and gammalib::warning().
|
protected |
Pointer to effectve area.
Definition at line 109 of file GCTAModelAeffBackground.hpp.
Referenced by eval().
|
protected |
Romberg iterations.
Definition at line 112 of file GCTAModelAeffBackground.hpp.
Referenced by eval().
|
protected |
|
protected |