All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GCTAModelIrfBackground::npred_roi_kern_phi Class Reference
Inheritance diagram for GCTAModelIrfBackground::npred_roi_kern_phi:

Public Member Functions

 npred_roi_kern_phi (const GCTABackground *bgd, const double &logE, const GCTAInstDir &roi_centre, const double &theta)
double eval (const double &phi)
 Kernel for azimuth angle integration of background model. 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 GCTABackgroundm_bgd
 Pointer to background. More...
double m_logE
 Log10 of energy. More...
GCTAInstDir m_roi_centre
 RoI centre. More...
double m_theta
 Offset angle (radians) 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 113 of file GCTAModelIrfBackground.hpp.

Constructor & Destructor Documentation

GCTAModelIrfBackground::npred_roi_kern_phi::npred_roi_kern_phi ( const GCTABackground bgd,
const double &  logE,
const GCTAInstDir roi_centre,
const double &  theta 

Definition at line 115 of file GCTAModelIrfBackground.hpp.

Member Function Documentation

double GCTAModelIrfBackground::npred_roi_kern_phi::eval ( const double &  phi)

Kernel for azimuth angle integration of background model.

[in]phiAzimuth angle around ROI centre (radians).


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


\[ {\rm detx} = \theta \cos \phi \]

\[ {\rm dety} = \theta \sin \phi \]

Verify correct orientation of detx and dety with respect to phi

Implements GFunction.

Definition at line 1103 of file GCTAModelIrfBackground.cpp.

References cos(), gammalib::is_infinite(), gammalib::is_notanumber(), sin(), gammalib::str(), and gammalib::warning().

Member Data Documentation

const GCTABackground* GCTAModelIrfBackground::npred_roi_kern_phi::m_bgd

Pointer to background.

Definition at line 125 of file GCTAModelIrfBackground.hpp.

double GCTAModelIrfBackground::npred_roi_kern_phi::m_logE

Log10 of energy.

Definition at line 126 of file GCTAModelIrfBackground.hpp.

GCTAInstDir GCTAModelIrfBackground::npred_roi_kern_phi::m_roi_centre

RoI centre.

Definition at line 127 of file GCTAModelIrfBackground.hpp.

double GCTAModelIrfBackground::npred_roi_kern_phi::m_theta

Offset angle (radians)

Definition at line 128 of file GCTAModelIrfBackground.hpp.

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