GammaLib  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com_radial_kerns_omega Class Reference

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

#include <com_helpers_response_vector.hpp>

Inheritance diagram for com_radial_kerns_omega:
GFunctions

Public Member Functions

 com_radial_kerns_omega (const std::vector< double > &iaq, 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 double &sin_rho, const double &cos_rho)
 
int size (void) const
 
GVector eval (const double &omega)
 Kernel for azimuthal 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...
 
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 double & m_sin_rho
 Sine of Rho. More...
 
const double & m_cos_rho
 Cosine of Rho. 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 azimuth angle integration of radial models.

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

Definition at line 100 of file com_helpers_response_vector.hpp.

Constructor & Destructor Documentation

com_radial_kerns_omega::com_radial_kerns_omega ( const std::vector< double > &  iaq,
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 double &  sin_rho,
const double &  cos_rho 
)
inline

Definition at line 102 of file com_helpers_response_vector.hpp.

Member Function Documentation

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

References GSkyDir::celvector(), cos(), GCOMInstDir::dir(), GCOMEventBin::dir(), m_bin, m_cos_rho, m_drx, m_iaq, m_irfs, m_phibar_bins, m_phigeo_bin_size, m_phigeo_bins, m_rot, m_sin_rho, and sin().

int com_radial_kerns_omega::size ( void  ) const
inlinevirtual

Implements GFunctions.

Definition at line 122 of file com_helpers_response_vector.hpp.

References m_irfs, and GVector::size().

Member Data Documentation

const GCOMEventBin* com_radial_kerns_omega::m_bin
protected

Event bin.

Definition at line 127 of file com_helpers_response_vector.hpp.

Referenced by eval().

const double& com_radial_kerns_omega::m_cos_rho
protected

Cosine of Rho.

Definition at line 134 of file com_helpers_response_vector.hpp.

Referenced by eval().

const GSkyMap& com_radial_kerns_omega::m_drx
protected

DRX.

Definition at line 129 of file com_helpers_response_vector.hpp.

Referenced by eval().

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

IAQ vector.

Definition at line 125 of file com_helpers_response_vector.hpp.

Referenced by eval().

GVector& com_radial_kerns_omega::m_irfs
protected

IRF vector to update.

Definition at line 126 of file com_helpers_response_vector.hpp.

Referenced by eval(), and size().

const int& com_radial_kerns_omega::m_phibar_bins
protected

Number of phibar bins.

Definition at line 132 of file com_helpers_response_vector.hpp.

Referenced by eval().

const double& com_radial_kerns_omega::m_phigeo_bin_size
protected

Phigeo bin size.

Definition at line 130 of file com_helpers_response_vector.hpp.

Referenced by eval().

const int& com_radial_kerns_omega::m_phigeo_bins
protected

Number of phigeo bins.

Definition at line 131 of file com_helpers_response_vector.hpp.

Referenced by eval().

const GMatrix& com_radial_kerns_omega::m_rot
protected

Rotation matrix.

Definition at line 128 of file com_helpers_response_vector.hpp.

Referenced by eval().

const double& com_radial_kerns_omega::m_sin_rho
protected

Sine of Rho.

Definition at line 133 of file com_helpers_response_vector.hpp.

Referenced by eval().


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