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. 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 GResponsem_rsp
 Response. More...
 
const GEventm_event
 Event. More...
 
const GObservationm_obs
 Observation. More...
 
const GModelSpatialEllipticalm_model
 Elliptical model. More...
 
const GMatrixm_rot
 Rotation matrix. More...
 
const GEnergym_srcEng
 True photon energy. More...
 
const GTimem_srcTime
 Arrival time. More...
 
int m_iter_phi
 Iterations in phi. 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 249 of file GResponse.hpp.

Constructor & Destructor Documentation

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

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(), sin(), and gammalib::twopi.

Member Data Documentation

const GEvent* GResponse::irf_elliptical_kern_theta::m_event
protected

Event.

Definition at line 270 of file GResponse.hpp.

int GResponse::irf_elliptical_kern_theta::m_iter_phi
protected

Iterations in phi.

Definition at line 276 of file GResponse.hpp.

const GModelSpatialElliptical* GResponse::irf_elliptical_kern_theta::m_model
protected

Elliptical model.

Definition at line 272 of file GResponse.hpp.

const GObservation* GResponse::irf_elliptical_kern_theta::m_obs
protected

Observation.

Definition at line 271 of file GResponse.hpp.

const GMatrix* GResponse::irf_elliptical_kern_theta::m_rot
protected

Rotation matrix.

Definition at line 273 of file GResponse.hpp.

const GResponse* GResponse::irf_elliptical_kern_theta::m_rsp
protected

Response.

Definition at line 269 of file GResponse.hpp.

const GEnergy* GResponse::irf_elliptical_kern_theta::m_srcEng
protected

True photon energy.

Definition at line 274 of file GResponse.hpp.

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: