GammaLib  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GCOMIaq::smearing_kernel Class Reference
Inheritance diagram for GCOMIaq::smearing_kernel:
GFunction

Public Member Functions

 smearing_kernel (const double &phigeo, const double &sigma, const GNodeArray &phigeos, const std::vector< double > &values)
 
double eval (const double &phigeo)
 Convolves response with Gaussian kernel. More...
 
- Public Member Functions inherited from GFunction
 GFunction (void)
 Void constructor. More...
 
 GFunction (const GFunction &function)
 Copy constructor. More...
 
virtual ~GFunction (void)
 Destructor. More...
 
GFunctionoperator= (const GFunction &function)
 Assignment operator. More...
 

Protected Attributes

const GNodeArraym_phigeos
 Geometrical scatter angles. More...
 
const std::vector< double > & m_values
 IAQ values. More...
 
double m_phigeo
 Current phigeo value. More...
 
double m_wgt
 Inverse of Gaussian std (1/deg) More...
 
double m_norm
 Gaussian normalisation. More...
 

Additional Inherited Members

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

Detailed Description

Definition at line 139 of file GCOMIaq.hpp.

Constructor & Destructor Documentation

GCOMIaq::smearing_kernel::smearing_kernel ( const double &  phigeo,
const double &  sigma,
const GNodeArray phigeos,
const std::vector< double > &  values 
)
inline

Definition at line 141 of file GCOMIaq.hpp.

Member Function Documentation

double GCOMIaq::smearing_kernel::eval ( const double &  phigeo)
virtual

Convolves response with Gaussian kernel.

Parameters
[in]phigeoGeometrical scatter angle.
Returns
Convolved response value.

Implements GFunction.

Definition at line 1702 of file GCOMIaq.cpp.

References exp().

Member Data Documentation

double GCOMIaq::smearing_kernel::m_norm
protected

Gaussian normalisation.

Definition at line 156 of file GCOMIaq.hpp.

double GCOMIaq::smearing_kernel::m_phigeo
protected

Current phigeo value.

Definition at line 154 of file GCOMIaq.hpp.

const GNodeArray& GCOMIaq::smearing_kernel::m_phigeos
protected

Geometrical scatter angles.

Definition at line 152 of file GCOMIaq.hpp.

const std::vector<double>& GCOMIaq::smearing_kernel::m_values
protected

IAQ values.

Definition at line 153 of file GCOMIaq.hpp.

double GCOMIaq::smearing_kernel::m_wgt
protected

Inverse of Gaussian std (1/deg)

Definition at line 155 of file GCOMIaq.hpp.


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