GammaLib 2.0.0
Loading...
Searching...
No Matches
GResponse::irf_radial_kern_theta Class Reference

#include <GResponse.hpp>

Inheritance diagram for GResponse::irf_radial_kern_theta:
GFunction

Public Member Functions

 irf_radial_kern_theta (const GResponse *rsp, const GEvent *event, const GObservation *obs, const GModelSpatialRadial *model, const GMatrix *rot, const GEnergy *srcEng, const GTime *srcTime, int iter_phi)
 
double eval (const double &phi)
 Zenith angle integration kernel for radial 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 GModelSpatialRadialm_model
 Radial 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 192 of file GResponse.hpp.

Constructor & Destructor Documentation

◆ irf_radial_kern_theta()

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

Definition at line 194 of file GResponse.hpp.

Member Function Documentation

◆ eval()

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

Zenith angle integration kernel for radial 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 2060 of file GResponse.cpp.

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

Member Data Documentation

◆ m_event

const GEvent* GResponse::irf_radial_kern_theta::m_event
protected

Event.

Definition at line 213 of file GResponse.hpp.

◆ m_iter_phi

int GResponse::irf_radial_kern_theta::m_iter_phi
protected

Iterations in phi.

Definition at line 219 of file GResponse.hpp.

◆ m_model

const GModelSpatialRadial* GResponse::irf_radial_kern_theta::m_model
protected

Radial model.

Definition at line 215 of file GResponse.hpp.

◆ m_obs

const GObservation* GResponse::irf_radial_kern_theta::m_obs
protected

Observation.

Definition at line 214 of file GResponse.hpp.

◆ m_rot

const GMatrix* GResponse::irf_radial_kern_theta::m_rot
protected

Rotation matrix.

Definition at line 216 of file GResponse.hpp.

◆ m_rsp

const GResponse* GResponse::irf_radial_kern_theta::m_rsp
protected

Response.

Definition at line 212 of file GResponse.hpp.

◆ m_srcEng

const GEnergy* GResponse::irf_radial_kern_theta::m_srcEng
protected

True photon energy.

Definition at line 217 of file GResponse.hpp.

◆ m_srcTime

const GTime* GResponse::irf_radial_kern_theta::m_srcTime
protected

Arrival time.

Definition at line 218 of file GResponse.hpp.


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