GammaLib  2.1.0.dev
 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 GSkyRegion &region, const GSkyDir &centre, const double &rho, const GEnergy &srcEng, const GTime &srcTime)
 
double eval (const double &omega)
 Kernel for spatial model 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 GSkyRegionm_region
 Sky region. More...
 
const GSkyDirm_centre
 Model centre. 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 153 of file GModelSpatial.hpp.

Constructor & Destructor Documentation

GModelSpatial::circle_int_kern_omega::circle_int_kern_omega ( const GModelSpatial model,
const GSkyRegion region,
const GSkyDir centre,
const double &  rho,
const GEnergy srcEng,
const GTime srcTime 
)
inline

Definition at line 155 of file GModelSpatial.hpp.

Member Function Documentation

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

Kernel for spatial model 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 model centre, and \(\omega\) is the azimuth angle around the model centre.

Implements GFunction.

Definition at line 503 of file GModelSpatial.cpp.

References GSkyRegionCircle::contains(), GModelSpatial::flux(), GModelSpatial::m_region, and GSkyDir::rotate().

Member Data Documentation

const GSkyDir& GModelSpatial::circle_int_kern_omega::m_centre

Model centre.

Definition at line 171 of file GModelSpatial.hpp.

const GModelSpatial* GModelSpatial::circle_int_kern_omega::m_model

Spatial model.

Definition at line 169 of file GModelSpatial.hpp.

const GSkyRegion& GModelSpatial::circle_int_kern_omega::m_region

Sky region.

Definition at line 170 of file GModelSpatial.hpp.

double GModelSpatial::circle_int_kern_omega::m_rho

Offset from center of the region.

Definition at line 172 of file GModelSpatial.hpp.

GEnergy GModelSpatial::circle_int_kern_omega::m_srcEng

Photon energy.

Definition at line 173 of file GModelSpatial.hpp.

GTime GModelSpatial::circle_int_kern_omega::m_srcTime

Photon time.

Definition at line 174 of file GModelSpatial.hpp.


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