GammaLib 2.0.0
Loading...
Searching...
No Matches
GCTAModelAeffBackground::npred_roi_kern_phi Class Reference
Inheritance diagram for GCTAModelAeffBackground::npred_roi_kern_phi:
GFunction

Public Member Functions

 npred_roi_kern_phi (const GCTAAeff *aeff, const double &logE, const GCTAInstDir &roi_centre, const double &theta)
 
double eval (const double &phi)
 Kernel for azimuth angle integration of effective area background model.
 
- 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 GCTAAeffm_aeff
 Pointer to effective area.
 
double m_logE
 Log10 of energy.
 
GCTAInstDir m_roi_centre
 RoI centre.
 
double m_theta
 Offset angle (radians)
 

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 116 of file GCTAModelAeffBackground.hpp.

Constructor & Destructor Documentation

◆ npred_roi_kern_phi()

GCTAModelAeffBackground::npred_roi_kern_phi::npred_roi_kern_phi ( const GCTAAeff * aeff,
const double & logE,
const GCTAInstDir & roi_centre,
const double & theta )
inline

Definition at line 118 of file GCTAModelAeffBackground.hpp.

Member Function Documentation

◆ eval()

double GCTAModelAeffBackground::npred_roi_kern_phi::eval ( const double & phi)
virtual

Kernel for azimuth angle integration of effective area background model.

Parameters
[in]phiAzimuth angle around ROI centre (radians).
Returns
Integration kernel value.

Computes

\[ B(\theta, \phi | E, t) \]

Implements GFunction.

Definition at line 1230 of file GCTAModelAeffBackground.cpp.

References gammalib::is_infinite(), gammalib::is_notanumber(), GCTAInstDir::phi(), gammalib::str(), GCTAInstDir::theta(), and gammalib::warning().

Member Data Documentation

◆ m_aeff

const GCTAAeff* GCTAModelAeffBackground::npred_roi_kern_phi::m_aeff
protected

Pointer to effective area.

Definition at line 128 of file GCTAModelAeffBackground.hpp.

◆ m_logE

double GCTAModelAeffBackground::npred_roi_kern_phi::m_logE
protected

Log10 of energy.

Definition at line 129 of file GCTAModelAeffBackground.hpp.

◆ m_roi_centre

GCTAInstDir GCTAModelAeffBackground::npred_roi_kern_phi::m_roi_centre
protected

RoI centre.

Definition at line 130 of file GCTAModelAeffBackground.hpp.

◆ m_theta

double GCTAModelAeffBackground::npred_roi_kern_phi::m_theta
protected

Offset angle (radians)

Definition at line 131 of file GCTAModelAeffBackground.hpp.


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