GammaLib  2.1.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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. 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 GModelSpatialRadialm_model
 Radial 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 192 of file GResponse.hpp.

Constructor & Destructor Documentation

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

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

Member Data Documentation

const GEvent* GResponse::irf_radial_kern_theta::m_event
protected

Event.

Definition at line 213 of file GResponse.hpp.

int GResponse::irf_radial_kern_theta::m_iter_phi
protected

Iterations in phi.

Definition at line 219 of file GResponse.hpp.

const GModelSpatialRadial* GResponse::irf_radial_kern_theta::m_model
protected

Radial model.

Definition at line 215 of file GResponse.hpp.

const GObservation* GResponse::irf_radial_kern_theta::m_obs
protected

Observation.

Definition at line 214 of file GResponse.hpp.

const GMatrix* GResponse::irf_radial_kern_theta::m_rot
protected

Rotation matrix.

Definition at line 216 of file GResponse.hpp.

const GResponse* GResponse::irf_radial_kern_theta::m_rsp
protected

Response.

Definition at line 212 of file GResponse.hpp.

const GEnergy* GResponse::irf_radial_kern_theta::m_srcEng
protected

True photon energy.

Definition at line 217 of file GResponse.hpp.

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: