GammaLib 2.0.0
Loading...
Searching...
No Matches
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.
 
- Public Member Functions inherited from GFunction
 GFunction (void)
 Void constructor.
 
 GFunction (const GFunction &function)
 Copy constructor.
 
virtual ~GFunction (void)
 Destructor.
 
GFunctionoperator= (const GFunction &function)
 Assignment operator.
 

Protected Attributes

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

Additional Inherited Members

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

Detailed Description

Definition at line 139 of file GCOMIaq.hpp.

Constructor & Destructor Documentation

◆ smearing_kernel()

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

◆ eval()

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.

Member Data Documentation

◆ m_norm

double GCOMIaq::smearing_kernel::m_norm
protected

Gaussian normalisation.

Definition at line 156 of file GCOMIaq.hpp.

◆ m_phigeo

double GCOMIaq::smearing_kernel::m_phigeo
protected

Current phigeo value.

Definition at line 154 of file GCOMIaq.hpp.

◆ m_phigeos

const GNodeArray& GCOMIaq::smearing_kernel::m_phigeos
protected

Geometrical scatter angles.

Definition at line 152 of file GCOMIaq.hpp.

◆ m_values

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

IAQ values.

Definition at line 153 of file GCOMIaq.hpp.

◆ m_wgt

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: