GammaLib 2.0.0
Loading...
Searching...
No Matches
cta_nroi_radial_kern_omega Class Reference

#include <GCTAResponse_helpers.hpp>

Inheritance diagram for cta_nroi_radial_kern_omega:
GFunction

Public Member Functions

 cta_nroi_radial_kern_omega (const GCTAResponseIrf *rsp, const GCTAObservation *obs, const GMatrix *rot, const GEnergy &srcEng, const GTime &srcTime, const GEnergy &obsEng, const GTime &obsTime, double sin_rho, double cos_rho)
 
double eval (const double &omega)
 Kernel for azimuth angle Nroi integration of 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 GCTAResponseIrfm_rsp
 CTA response.
 
const GCTAObservationm_obs
 CTA observation.
 
const GMatrixm_rot
 Rotation matrix.
 
GEnergy m_srcEng
 True photon energy.
 
GTime m_srcTime
 True photon arrival time.
 
GEnergy m_obsEng
 Observed photon energy.
 
GTime m_obsTime
 Observed photon arrival time.
 
double m_cos_rho
 Cosine of offset angle.
 
double m_sin_rho
 Sine of offset angle.
 

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 394 of file GCTAResponse_helpers.hpp.

Constructor & Destructor Documentation

◆ cta_nroi_radial_kern_omega()

cta_nroi_radial_kern_omega::cta_nroi_radial_kern_omega ( const GCTAResponseIrf * rsp,
const GCTAObservation * obs,
const GMatrix * rot,
const GEnergy & srcEng,
const GTime & srcTime,
const GEnergy & obsEng,
const GTime & obsTime,
double sin_rho,
double cos_rho )
inline

Definition at line 396 of file GCTAResponse_helpers.hpp.

Member Function Documentation

◆ eval()

double cta_nroi_radial_kern_omega::eval ( const double & omega)
virtual

Kernel for azimuth angle Nroi integration of radial model.

Parameters
[in]omegaAzimuth angle (radians).
Todo
Re-consider formula for possible simplification (dumb matrix multiplication is definitely not the fastest way to do that computation).

Implements GFunction.

Definition at line 637 of file GCTAResponse_helpers.cpp.

References GSkyDir::celvector(), gammalib::is_infinite(), gammalib::is_notanumber(), m_cos_rho, m_obs, m_obsEng, m_obsTime, m_rot, m_rsp, m_sin_rho, m_srcEng, m_srcTime, and GCTAResponseIrf::nirf().

Member Data Documentation

◆ m_cos_rho

double cta_nroi_radial_kern_omega::m_cos_rho
protected

Cosine of offset angle.

Definition at line 423 of file GCTAResponse_helpers.hpp.

Referenced by eval().

◆ m_obs

const GCTAObservation* cta_nroi_radial_kern_omega::m_obs
protected

CTA observation.

Definition at line 417 of file GCTAResponse_helpers.hpp.

Referenced by eval().

◆ m_obsEng

GEnergy cta_nroi_radial_kern_omega::m_obsEng
protected

Observed photon energy.

Definition at line 421 of file GCTAResponse_helpers.hpp.

Referenced by eval().

◆ m_obsTime

GTime cta_nroi_radial_kern_omega::m_obsTime
protected

Observed photon arrival time.

Definition at line 422 of file GCTAResponse_helpers.hpp.

Referenced by eval().

◆ m_rot

const GMatrix* cta_nroi_radial_kern_omega::m_rot
protected

Rotation matrix.

Definition at line 418 of file GCTAResponse_helpers.hpp.

Referenced by eval().

◆ m_rsp

const GCTAResponseIrf* cta_nroi_radial_kern_omega::m_rsp
protected

CTA response.

Definition at line 416 of file GCTAResponse_helpers.hpp.

Referenced by eval().

◆ m_sin_rho

double cta_nroi_radial_kern_omega::m_sin_rho
protected

Sine of offset angle.

Definition at line 424 of file GCTAResponse_helpers.hpp.

Referenced by eval().

◆ m_srcEng

GEnergy cta_nroi_radial_kern_omega::m_srcEng
protected

True photon energy.

Definition at line 419 of file GCTAResponse_helpers.hpp.

Referenced by eval().

◆ m_srcTime

GTime cta_nroi_radial_kern_omega::m_srcTime
protected

True photon arrival time.

Definition at line 420 of file GCTAResponse_helpers.hpp.

Referenced by eval().


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