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

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

#include <spi_helpers_response_vector.hpp>

Inheritance diagram for spi_radial_kerns_rho:
GFunctions

Public Member Functions

 spi_radial_kerns_rho (const GSPIEventCube *cube, const GSPIResponse *rsp, const GModelSpatialRadial *radial, const int &ipt, const double *livetimes, const GMatrix &rot, const int &iter, GVector &irfs)
 
int size (void) const
 
GVector eval (const double &omega)
 Kernel for radial 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 GModelSpatialRadialm_radial
 Radial spatial model.
 
const int & m_ipt
 Pointing index.
 
const double * m_livetimes
 Livetime array.
 
const GMatrixm_rot
 Rotation matrix.
 
const int & m_iter
 Number of azimuthal iterations.
 
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 rho angle integration of radial models.

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

Definition at line 49 of file spi_helpers_response_vector.hpp.

Constructor & Destructor Documentation

◆ spi_radial_kerns_rho()

spi_radial_kerns_rho::spi_radial_kerns_rho ( const GSPIEventCube * cube,
const GSPIResponse * rsp,
const GModelSpatialRadial * radial,
const int & ipt,
const double * livetimes,
const GMatrix & rot,
const int & iter,
GVector & irfs )
inline

Definition at line 51 of file spi_helpers_response_vector.hpp.

Member Function Documentation

◆ eval()

GVector spi_radial_kerns_rho::eval ( const double & rho)
virtual

Kernel for radial integration of radial models.

Parameters
[in]rhoRho angle (radians).
Returns
Azimuthally integrated radial model.

Implements GFunctions.

Definition at line 63 of file spi_helpers_response_vector.cpp.

References GModelSpatialRadial::eval(), GIntegrals::fixed_iter(), m_cube, m_ipt, m_irfs, m_iter, m_livetimes, m_radial, m_rot, m_rsp, GIntegrals::romberg(), and gammalib::twopi.

◆ size()

int spi_radial_kerns_rho::size ( void ) const
inlinevirtual

Implements GFunctions.

Definition at line 67 of file spi_helpers_response_vector.hpp.

References m_irfs, and GVector::size().

Member Data Documentation

◆ m_cube

const GSPIEventCube* spi_radial_kerns_rho::m_cube
protected

Pointer to event cube.

Definition at line 70 of file spi_helpers_response_vector.hpp.

Referenced by eval().

◆ m_ipt

const int& spi_radial_kerns_rho::m_ipt
protected

Pointing index.

Definition at line 73 of file spi_helpers_response_vector.hpp.

Referenced by eval().

◆ m_irfs

GVector& spi_radial_kerns_rho::m_irfs
protected

IRF vector to update.

Definition at line 77 of file spi_helpers_response_vector.hpp.

Referenced by eval(), and size().

◆ m_iter

const int& spi_radial_kerns_rho::m_iter
protected

Number of azimuthal iterations.

Definition at line 76 of file spi_helpers_response_vector.hpp.

Referenced by eval().

◆ m_livetimes

const double* spi_radial_kerns_rho::m_livetimes
protected

Livetime array.

Definition at line 74 of file spi_helpers_response_vector.hpp.

Referenced by eval().

◆ m_radial

const GModelSpatialRadial* spi_radial_kerns_rho::m_radial
protected

Radial spatial model.

Definition at line 72 of file spi_helpers_response_vector.hpp.

Referenced by eval().

◆ m_rot

const GMatrix& spi_radial_kerns_rho::m_rot
protected

Rotation matrix.

Definition at line 75 of file spi_helpers_response_vector.hpp.

Referenced by eval().

◆ m_rsp

const GSPIResponse* spi_radial_kerns_rho::m_rsp
protected

Pointer to response.

Definition at line 71 of file spi_helpers_response_vector.hpp.

Referenced by eval().


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