Loading [MathJax]/jax/output/HTML-CSS/config.js
GammaLib 2.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GResponse::irf_elliptical_kern_theta Class Reference

#include <GResponse.hpp>

Inheritance diagram for GResponse::irf_elliptical_kern_theta:
GFunction

Public Member Functions

 irf_elliptical_kern_theta (const GResponse *rsp, const GEvent *event, const GObservation *obs, const GModelSpatialElliptical *model, const GMatrix *rot, const GEnergy *srcEng, const GTime *srcTime, int iter_phi)
 
double eval (const double &phi)
 Zenith angle integration kernel for elliptical 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 GResponsem_rsp
 Response.
 
const GEventm_event
 Event.
 
const GObservationm_obs
 Observation.
 
const GModelSpatialEllipticalm_model
 Elliptical model.
 
const GMatrixm_rot
 Rotation matrix.
 
const GEnergym_srcEng
 True photon energy.
 
const GTimem_srcTime
 Arrival time.
 
int m_iter_phi
 Iterations in phi.
 

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 249 of file GResponse.hpp.

Constructor & Destructor Documentation

◆ irf_elliptical_kern_theta()

GResponse::irf_elliptical_kern_theta::irf_elliptical_kern_theta ( const GResponse * rsp,
const GEvent * event,
const GObservation * obs,
const GModelSpatialElliptical * model,
const GMatrix * rot,
const GEnergy * srcEng,
const GTime * srcTime,
int iter_phi )
inline

Definition at line 251 of file GResponse.hpp.

Member Function Documentation

◆ eval()

double GResponse::irf_elliptical_kern_theta::eval ( const double & theta)
virtual

Zenith angle integration kernel for elliptical model.

Parameters
[in]thetaZenith angle (radians).
Returns
IRF value.

Integrated the IRF multiplied by the model value for a given zenith angle over all azimuth angles.

Implements GFunction.

Definition at line 2147 of file GResponse.cpp.

References GIntegral::fixed_iter(), GResponse::irf(), GIntegral::romberg(), and gammalib::twopi.

Member Data Documentation

◆ m_event

const GEvent* GResponse::irf_elliptical_kern_theta::m_event
protected

Event.

Definition at line 270 of file GResponse.hpp.

◆ m_iter_phi

int GResponse::irf_elliptical_kern_theta::m_iter_phi
protected

Iterations in phi.

Definition at line 276 of file GResponse.hpp.

◆ m_model

const GModelSpatialElliptical* GResponse::irf_elliptical_kern_theta::m_model
protected

Elliptical model.

Definition at line 272 of file GResponse.hpp.

◆ m_obs

const GObservation* GResponse::irf_elliptical_kern_theta::m_obs
protected

Observation.

Definition at line 271 of file GResponse.hpp.

◆ m_rot

const GMatrix* GResponse::irf_elliptical_kern_theta::m_rot
protected

Rotation matrix.

Definition at line 273 of file GResponse.hpp.

◆ m_rsp

const GResponse* GResponse::irf_elliptical_kern_theta::m_rsp
protected

Response.

Definition at line 269 of file GResponse.hpp.

◆ m_srcEng

const GEnergy* GResponse::irf_elliptical_kern_theta::m_srcEng
protected

True photon energy.

Definition at line 274 of file GResponse.hpp.

◆ m_srcTime

const GTime* GResponse::irf_elliptical_kern_theta::m_srcTime
protected

Arrival time.

Definition at line 275 of file GResponse.hpp.


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