GammaLib  1.7.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GResponse::edisp_kern Class Reference

#include <GResponse.hpp>

Inheritance diagram for GResponse::edisp_kern:
GFunction

Public Member Functions

 edisp_kern (const GResponse *parent, const GObservation *obs, const GModelSky *model, const GEvent *event, const GTime &srcTime, const bool &grad)
 
double eval (const double &etrue)
 Integration kernel for GResponse::edisp_kern() class. 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_parent
 Response. More...
 
const GObservationm_obs
 Observation. More...
 
const GModelSkym_model
 Sky model. More...
 
const GEventm_event
 Event. More...
 
GTime m_srcTime
 True arrival time. More...
 
bool m_grad
 Gradient flag. 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 116 of file GResponse.hpp.

Constructor & Destructor Documentation

GResponse::edisp_kern::edisp_kern ( const GResponse parent,
const GObservation obs,
const GModelSky model,
const GEvent event,
const GTime srcTime,
const bool &  grad 
)
inline

Definition at line 118 of file GResponse.hpp.

Member Function Documentation

double GResponse::edisp_kern::eval ( const double &  etrue)
virtual

Integration kernel for GResponse::edisp_kern() class.

Parameters
[in]etrueTrue photon energy in MeV.

This method implements the integration kernel needed for the GResponse::edisp_kern() class.

Implements GFunction.

Definition at line 438 of file GResponse.cpp.

References GResponse::eval_prob(), gammalib::is_infinite(), gammalib::is_notanumber(), m_event, m_grad, m_model, m_obs, m_parent, m_srcTime, and GEnergy::MeV().

Member Data Documentation

const GEvent* GResponse::edisp_kern::m_event
protected

Event.

Definition at line 135 of file GResponse.hpp.

Referenced by eval().

bool GResponse::edisp_kern::m_grad
protected

Gradient flag.

Definition at line 137 of file GResponse.hpp.

Referenced by eval().

const GModelSky* GResponse::edisp_kern::m_model
protected

Sky model.

Definition at line 134 of file GResponse.hpp.

Referenced by eval().

const GObservation* GResponse::edisp_kern::m_obs
protected

Observation.

Definition at line 133 of file GResponse.hpp.

Referenced by eval().

const GResponse* GResponse::edisp_kern::m_parent
protected

Response.

Definition at line 132 of file GResponse.hpp.

Referenced by eval().

GTime GResponse::edisp_kern::m_srcTime
protected

True arrival time.

Definition at line 136 of file GResponse.hpp.

Referenced by eval().


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