GammaLib
2.0.0
|
#include <GCTAModelSpatial.hpp>
Public Member Functions | |
npred_roi_kern_phi (const GCTAModelSpatial *spatial, const GEnergy &energy, const GTime &time, const GCTAInstDir &roi_centre, const double &theta) | |
double | eval (const double &phi) |
Kernel for azimuth angle integration of spatial component. 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 GCTAModelSpatial * | m_spatial |
Pointer to spatial component. More... | |
GEnergy | m_energy |
Energy. More... | |
GTime | m_time |
Time. More... | |
GCTAInstDir | m_roi_centre |
RoI centre. More... | |
double | m_theta |
Offset angle (radians) 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 126 of file GCTAModelSpatial.hpp.
|
inline |
Definition at line 128 of file GCTAModelSpatial.hpp.
|
virtual |
Kernel for azimuth angle integration of spatial component.
[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 559 of file GCTAModelSpatial.cpp.
References cos(), gammalib::is_infinite(), gammalib::is_notanumber(), sin(), gammalib::str(), and gammalib::warning().
|
protected |
Energy.
Definition at line 141 of file GCTAModelSpatial.hpp.
|
protected |
RoI centre.
Definition at line 143 of file GCTAModelSpatial.hpp.
|
protected |
Pointer to spatial component.
Definition at line 140 of file GCTAModelSpatial.hpp.
|
protected |
Offset angle (radians)
Definition at line 144 of file GCTAModelSpatial.hpp.
|
protected |
Time.
Definition at line 142 of file GCTAModelSpatial.hpp.