GammaLib 2.1.0.dev
Loading...
Searching...
No Matches
spi_radial_kerns_omega Class Reference

Kernel for azimuth angle integration of radial models. More...

#include <spi_helpers_response_vector.hpp>

Inheritance diagram for spi_radial_kerns_omega:
GFunctions

Public Member Functions

 spi_radial_kerns_omega (const GSPIEventCube *cube, const GSPIResponse *rsp, const int &ipt, const double *livetimes, const GMatrix &rot, const double &sin_rho, const double &cos_rho, GVector &irfs)
 
int size (void) const
 
GVector eval (const double &omega)
 Kernel for azimuthal integration of radial models.
 
- Public Member Functions inherited from GFunctions
 GFunctions (void)
 Void constructor.
 
 GFunctions (const GFunctions &functions)
 Copy constructor.
 
virtual ~GFunctions (void)
 Destructor.
 
GFunctionsoperator= (const GFunctions &functions)
 Assignment operator.
 

Protected Attributes

const GSPIEventCubem_cube
 Pointer to event cube.
 
const GSPIResponsem_rsp
 Pointer to response.
 
const int & m_ipt
 Pointing index.
 
const double * m_livetimes
 Livetime array.
 
const GMatrixm_rot
 Rotation matrix.
 
const double & m_sin_rho
 Sine of Rho.
 
const double & m_cos_rho
 Cosine of Rho.
 
GVectorm_irfs
 IRF vector to update.
 

Additional Inherited Members

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

Detailed Description

Kernel for azimuth angle integration of radial models.

This class provides the kernel for the azimuth angle integration of radial sky models.

Definition at line 89 of file spi_helpers_response_vector.hpp.

Constructor & Destructor Documentation

◆ spi_radial_kerns_omega()

spi_radial_kerns_omega::spi_radial_kerns_omega ( const GSPIEventCube * cube,
const GSPIResponse * rsp,
const int & ipt,
const double * livetimes,
const GMatrix & rot,
const double & sin_rho,
const double & cos_rho,
GVector & irfs )
inline

Definition at line 91 of file spi_helpers_response_vector.hpp.

Member Function Documentation

◆ eval()

GVector spi_radial_kerns_omega::eval ( const double & omega)
virtual

Kernel for azimuthal integration of radial models.

Parameters
[in]omegaOmega angle (radians).
Returns
Kernel value for radial model.

Implements GFunctions.

Definition at line 117 of file spi_helpers_response_vector.cpp.

References GSPIResponse::azimuth(), GSPIResponse::irf_vector(), m_cos_rho, m_cube, m_ipt, m_irfs, m_livetimes, m_rot, m_rsp, m_sin_rho, GSPIResponse::m_wcs_xbin, GSPIResponse::m_wcs_xmin, GSPIResponse::m_wcs_ybin, GSPIResponse::m_wcs_ymin, and GSPIResponse::zenith().

◆ size()

int spi_radial_kerns_omega::size ( void ) const
inlinevirtual

Implements GFunctions.

Definition at line 107 of file spi_helpers_response_vector.hpp.

References m_irfs, and GVector::size().

Member Data Documentation

◆ m_cos_rho

const double& spi_radial_kerns_omega::m_cos_rho
protected

Cosine of Rho.

Definition at line 116 of file spi_helpers_response_vector.hpp.

Referenced by eval().

◆ m_cube

const GSPIEventCube* spi_radial_kerns_omega::m_cube
protected

Pointer to event cube.

Definition at line 110 of file spi_helpers_response_vector.hpp.

Referenced by eval().

◆ m_ipt

const int& spi_radial_kerns_omega::m_ipt
protected

Pointing index.

Definition at line 112 of file spi_helpers_response_vector.hpp.

Referenced by eval().

◆ m_irfs

GVector& spi_radial_kerns_omega::m_irfs
protected

IRF vector to update.

Definition at line 117 of file spi_helpers_response_vector.hpp.

Referenced by eval(), and size().

◆ m_livetimes

const double* spi_radial_kerns_omega::m_livetimes
protected

Livetime array.

Definition at line 113 of file spi_helpers_response_vector.hpp.

Referenced by eval().

◆ m_rot

const GMatrix& spi_radial_kerns_omega::m_rot
protected

Rotation matrix.

Definition at line 114 of file spi_helpers_response_vector.hpp.

Referenced by eval().

◆ m_rsp

const GSPIResponse* spi_radial_kerns_omega::m_rsp
protected

Pointer to response.

Definition at line 111 of file spi_helpers_response_vector.hpp.

Referenced by eval().

◆ m_sin_rho

const double& spi_radial_kerns_omega::m_sin_rho
protected

Sine of Rho.

Definition at line 115 of file spi_helpers_response_vector.hpp.

Referenced by eval().


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