GammaLib
2.0.0
|
#include <GModelSpatial.hpp>
Public Member Functions | |
circle_int_kern_omega (const GModelSpatial *model, const GSkyRegionCircle *reg, const double &rho, const GEnergy &srcEng, const GTime &srcTime) | |
double | eval (const double &omega) |
Kernel for circular sky region azimuth angle integration. 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... | |
Public Attributes | |
const GModelSpatial * | m_model |
Spatial model. More... | |
const GSkyRegionCircle * | m_reg |
Integration region. More... | |
double | m_rho |
Offset from center of the region. More... | |
GEnergy | m_srcEng |
Photon energy. More... | |
GTime | m_srcTime |
Photon time. 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 165 of file GModelSpatial.hpp.
|
inline |
Definition at line 167 of file GModelSpatial.hpp.
|
virtual |
Kernel for circular sky region azimuth angle integration.
[in] | omega | Azimuth angle (radians). |
\[ K(\omega | \rho, E, t) = M(\omega | \rho) \]
where \(M(\omega | \rho)\) is the spatial model, \(\rho\) is the distance from the region centre, and \(\omega\) is the position angle with respect to the connecting line between the region centre and the direction on the sky.
Implements GFunction.
Definition at line 564 of file GModelSpatial.cpp.
References GModelSpatial::flux(), and GSkyDir::rotate().
const GModelSpatial* GModelSpatial::circle_int_kern_omega::m_model |
Spatial model.
Definition at line 179 of file GModelSpatial.hpp.
const GSkyRegionCircle* GModelSpatial::circle_int_kern_omega::m_reg |
Integration region.
Definition at line 180 of file GModelSpatial.hpp.
double GModelSpatial::circle_int_kern_omega::m_rho |
Offset from center of the region.
Definition at line 181 of file GModelSpatial.hpp.
GEnergy GModelSpatial::circle_int_kern_omega::m_srcEng |
Photon energy.
Definition at line 182 of file GModelSpatial.hpp.
GTime GModelSpatial::circle_int_kern_omega::m_srcTime |
Photon time.
Definition at line 183 of file GModelSpatial.hpp.