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

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

#include <com_helpers_response_vector.hpp>

Inheritance diagram for com_elliptical_kerns_omega:
GFunctions

Public Member Functions

 com_elliptical_kerns_omega (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 double &sin_rho, const double &cos_rho)
 
int size (void) const
 
GVector eval (const double &omega)
 Kernel for azimuthal 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 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 elliptical models.

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

Definition at line 192 of file com_helpers_response_vector.hpp.

Constructor & Destructor Documentation

com_elliptical_kerns_omega::com_elliptical_kerns_omega ( 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 double &  sin_rho,
const double &  cos_rho 
)
inline

Definition at line 194 of file com_helpers_response_vector.hpp.

Member Function Documentation

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

Kernel for azimuthal integration of elliptical models.

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

Implements GFunctions.

Definition at line 234 of file com_helpers_response_vector.cpp.

References GSkyDir::celvector(), cos(), GCOMInstDir::dir(), GCOMEventBin::dir(), GCOMEventBin::energy(), GModelSpatial::eval(), m_bin, m_cos_rho, m_drx, m_iaq, m_irfs, m_model, m_phibar_bins, m_phigeo_bin_size, m_phigeo_bins, m_rot, m_sin_rho, sin(), GModelSky::spatial(), and GCOMEventBin::time().

int com_elliptical_kerns_omega::size ( void  ) const
inlinevirtual

Implements GFunctions.

Definition at line 216 of file com_helpers_response_vector.hpp.

References m_irfs, and GVector::size().

Member Data Documentation

const GCOMEventBin* com_elliptical_kerns_omega::m_bin
protected

Event bin.

Definition at line 222 of file com_helpers_response_vector.hpp.

Referenced by eval().

const double& com_elliptical_kerns_omega::m_cos_rho
protected

Cosine of Rho.

Definition at line 229 of file com_helpers_response_vector.hpp.

Referenced by eval().

const GSkyMap& com_elliptical_kerns_omega::m_drx
protected

DRX.

Definition at line 224 of file com_helpers_response_vector.hpp.

Referenced by eval().

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

IAQ vector.

Definition at line 219 of file com_helpers_response_vector.hpp.

Referenced by eval().

GVector& com_elliptical_kerns_omega::m_irfs
protected

IRF vector to update.

Definition at line 221 of file com_helpers_response_vector.hpp.

Referenced by eval(), and size().

const GModelSky& com_elliptical_kerns_omega::m_model
protected

Sky model.

Definition at line 220 of file com_helpers_response_vector.hpp.

Referenced by eval().

const int& com_elliptical_kerns_omega::m_phibar_bins
protected

Number of phibar bins.

Definition at line 227 of file com_helpers_response_vector.hpp.

Referenced by eval().

const double& com_elliptical_kerns_omega::m_phigeo_bin_size
protected

Phigeo bin size.

Definition at line 225 of file com_helpers_response_vector.hpp.

Referenced by eval().

const int& com_elliptical_kerns_omega::m_phigeo_bins
protected

Number of phigeo bins.

Definition at line 226 of file com_helpers_response_vector.hpp.

Referenced by eval().

const GMatrix& com_elliptical_kerns_omega::m_rot
protected

Rotation matrix.

Definition at line 223 of file com_helpers_response_vector.hpp.

Referenced by eval().

const double& com_elliptical_kerns_omega::m_sin_rho
protected

Sine of Rho.

Definition at line 228 of file com_helpers_response_vector.hpp.

Referenced by eval().


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