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

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

#include <com_helpers_response_vector.hpp>

Inheritance diagram for com_radial_kerns_rho:
GFunctions

Public Member Functions

 com_radial_kerns_rho (const std::vector< double > &iaq, const GModelSpatialRadial &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 radial 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 GModelSpatialRadialm_model
 Radial spatial 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 radial models.

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

Definition at line 54 of file com_helpers_response_vector.hpp.

Constructor & Destructor Documentation

com_radial_kerns_rho::com_radial_kerns_rho ( const std::vector< double > &  iaq,
const GModelSpatialRadial 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 56 of file com_helpers_response_vector.hpp.

Member Function Documentation

GVector com_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 60 of file com_helpers_response_vector.cpp.

References cos(), GCOMEventBin::energy(), GModelSpatialRadial::eval(), 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(), GCOMEventBin::time(), and gammalib::twopi.

int com_radial_kerns_rho::size ( void  ) const
inlinevirtual

Implements GFunctions.

Definition at line 76 of file com_helpers_response_vector.hpp.

References m_irfs, and GVector::size().

Member Data Documentation

const GCOMEventBin* com_radial_kerns_rho::m_bin
protected

Event bin.

Definition at line 82 of file com_helpers_response_vector.hpp.

Referenced by eval().

const GSkyMap& com_radial_kerns_rho::m_drx
protected

DRX.

Definition at line 84 of file com_helpers_response_vector.hpp.

Referenced by eval().

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

IAQ vector.

Definition at line 79 of file com_helpers_response_vector.hpp.

Referenced by eval().

GVector& com_radial_kerns_rho::m_irfs
protected

IRF vector to update.

Definition at line 81 of file com_helpers_response_vector.hpp.

Referenced by eval(), and size().

const int& com_radial_kerns_rho::m_iter
protected

Number of omega iterations.

Definition at line 88 of file com_helpers_response_vector.hpp.

Referenced by eval().

const GModelSpatialRadial& com_radial_kerns_rho::m_model
protected

Radial spatial model.

Definition at line 80 of file com_helpers_response_vector.hpp.

Referenced by eval().

const int& com_radial_kerns_rho::m_phibar_bins
protected

Number of phibar bins.

Definition at line 87 of file com_helpers_response_vector.hpp.

Referenced by eval().

const double& com_radial_kerns_rho::m_phigeo_bin_size
protected

Phigeo bin size.

Definition at line 85 of file com_helpers_response_vector.hpp.

Referenced by eval().

const int& com_radial_kerns_rho::m_phigeo_bins
protected

Number of phigeo bins.

Definition at line 86 of file com_helpers_response_vector.hpp.

Referenced by eval().

const GMatrix& com_radial_kerns_rho::m_rot
protected

Rotation matrix.

Definition at line 83 of file com_helpers_response_vector.hpp.

Referenced by eval().


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