Loading web-font TeX/Math/Italic
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.
 
- Public Member Functions inherited from GFunction
 GFunction (void)
 Void constructor.
 
 GFunction (const GFunction &function)
 Copy constructor.
 
virtual ~GFunction (void)
 Destructor.
 
GFunctionoperator= (const GFunction &function)
 Assignment operator.
 

Public Attributes

const GModelSpatialm_model
 Spatial model.
 
const GSkyRegionCirclem_reg
 Integration region.
 
double m_rho
 Offset from center of the region.
 
GEnergy m_srcEng
 Photon energy.
 
GTime m_srcTime
 Photon time.
 

Additional Inherited Members

- Protected Member Functions inherited from GFunction
void init_members (void)
 Initialise class members.
 
void copy_members (const GFunction &function)
 Copy class members.
 
void free_members (void)
 Delete class members.
 

Detailed Description

Definition at line 165 of file GModelSpatial.hpp.

Constructor & Destructor Documentation

◆ circle_int_kern_omega()

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

◆ eval()

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

◆ m_model

const GModelSpatial* GModelSpatial::circle_int_kern_omega::m_model

Spatial model.

Definition at line 179 of file GModelSpatial.hpp.

◆ m_reg

const GSkyRegionCircle* GModelSpatial::circle_int_kern_omega::m_reg

Integration region.

Definition at line 180 of file GModelSpatial.hpp.

◆ m_rho

double GModelSpatial::circle_int_kern_omega::m_rho

Offset from center of the region.

Definition at line 181 of file GModelSpatial.hpp.

◆ m_srcEng

GEnergy GModelSpatial::circle_int_kern_omega::m_srcEng

Photon energy.

Definition at line 182 of file GModelSpatial.hpp.

◆ m_srcTime

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: