GammaLib  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GModelSpatial::circle_int_kern_omega Class Reference

#include <GModelSpatial.hpp>

Inheritance diagram for GModelSpatial::circle_int_kern_omega:
GFunction

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...
 
GFunctionoperator= (const GFunction &function)
 Assignment operator. More...
 

Public Attributes

const GModelSpatialm_model
 Spatial model. More...
 
const GSkyRegionCirclem_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...
 

Detailed Description

Definition at line 165 of file GModelSpatial.hpp.

Constructor & Destructor Documentation

GModelSpatial::circle_int_kern_omega::circle_int_kern_omega ( const GModelSpatial model,
const GSkyRegionCircle reg,
const double &  rho,
const GEnergy srcEng,
const GTime srcTime 
)
inline

Definition at line 167 of file GModelSpatial.hpp.

Member Function Documentation

double GModelSpatial::circle_int_kern_omega::eval ( const double &  omega)
virtual

Kernel for circular sky region azimuth angle integration.

Parameters
[in]omegaAzimuth angle (radians).
Returns
Integration kernel defined as

\[ 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().

Member Data Documentation

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.


The documentation for this class was generated from the following files: