GammaLib  2.1.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com_elliptical_kerns_rho Class Reference

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

#include <com_helpers_response_vector.hpp>

Inheritance diagram for com_elliptical_kerns_rho:
GFunctions

Public Member Functions

 com_elliptical_kerns_rho (const std::vector< double > &iaq, const GModelSky &model, GVector &irfs, const GCOMEventBin *bin, const GMatrix &rot, const GSkyMap &drx, const double &phigeo_bin_size, const int &phigeo_bins, const int &phibar_bins, const int &iter)
 
int size (void) const
 
GVector eval (const double &phigeo)
 Kernel for radial integration of elliptical models. More...
 
- Public Member Functions inherited from GFunctions
 GFunctions (void)
 Void constructor. More...
 
 GFunctions (const GFunctions &functions)
 Copy constructor. More...
 
virtual ~GFunctions (void)
 Destructor. More...
 
GFunctionsoperator= (const GFunctions &functions)
 Assignment operator. More...
 

Protected Attributes

const std::vector< double > & m_iaq
 IAQ vector. More...
 
const GModelSkym_model
 Sky model. More...
 
GVectorm_irfs
 IRF vector to update. More...
 
const GCOMEventBinm_bin
 Event bin. More...
 
const GMatrixm_rot
 Rotation matrix. More...
 
const GSkyMapm_drx
 DRX. More...
 
const double & m_phigeo_bin_size
 Phigeo bin size. More...
 
const int & m_phigeo_bins
 Number of phigeo bins. More...
 
const int & m_phibar_bins
 Number of phibar bins. More...
 
const int & m_iter
 Number of omega iterations. More...
 

Additional Inherited Members

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

Detailed Description

Kernel for rho angle integration of elliptical models.

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

Definition at line 146 of file com_helpers_response_vector.hpp.

Constructor & Destructor Documentation

com_elliptical_kerns_rho::com_elliptical_kerns_rho ( const std::vector< double > &  iaq,
const GModelSky model,
GVector irfs,
const GCOMEventBin bin,
const GMatrix rot,
const GSkyMap drx,
const double &  phigeo_bin_size,
const int &  phigeo_bins,
const int &  phibar_bins,
const int &  iter 
)
inline

Definition at line 148 of file com_helpers_response_vector.hpp.

Member Function Documentation

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

Kernel for radial integration of elliptical models.

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

Implements GFunctions.

Definition at line 189 of file com_helpers_response_vector.cpp.

References cos(), GIntegrals::fixed_iter(), m_bin, m_drx, m_iaq, m_irfs, m_iter, m_model, m_phibar_bins, m_phigeo_bin_size, m_phigeo_bins, m_rot, GIntegrals::romberg(), sin(), and gammalib::twopi.

int com_elliptical_kerns_rho::size ( void  ) const
inlinevirtual

Implements GFunctions.

Definition at line 168 of file com_helpers_response_vector.hpp.

References m_irfs, and GVector::size().

Member Data Documentation

const GCOMEventBin* com_elliptical_kerns_rho::m_bin
protected

Event bin.

Definition at line 174 of file com_helpers_response_vector.hpp.

Referenced by eval().

const GSkyMap& com_elliptical_kerns_rho::m_drx
protected

DRX.

Definition at line 176 of file com_helpers_response_vector.hpp.

Referenced by eval().

const std::vector<double>& com_elliptical_kerns_rho::m_iaq
protected

IAQ vector.

Definition at line 171 of file com_helpers_response_vector.hpp.

Referenced by eval().

GVector& com_elliptical_kerns_rho::m_irfs
protected

IRF vector to update.

Definition at line 173 of file com_helpers_response_vector.hpp.

Referenced by eval(), and size().

const int& com_elliptical_kerns_rho::m_iter
protected

Number of omega iterations.

Definition at line 180 of file com_helpers_response_vector.hpp.

Referenced by eval().

const GModelSky& com_elliptical_kerns_rho::m_model
protected

Sky model.

Definition at line 172 of file com_helpers_response_vector.hpp.

Referenced by eval().

const int& com_elliptical_kerns_rho::m_phibar_bins
protected

Number of phibar bins.

Definition at line 179 of file com_helpers_response_vector.hpp.

Referenced by eval().

const double& com_elliptical_kerns_rho::m_phigeo_bin_size
protected

Phigeo bin size.

Definition at line 177 of file com_helpers_response_vector.hpp.

Referenced by eval().

const int& com_elliptical_kerns_rho::m_phigeo_bins
protected

Number of phigeo bins.

Definition at line 178 of file com_helpers_response_vector.hpp.

Referenced by eval().

const GMatrix& com_elliptical_kerns_rho::m_rot
protected

Rotation matrix.

Definition at line 175 of file com_helpers_response_vector.hpp.

Referenced by eval().


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