27#ifndef GCTAAEFFARF_HPP
28#define GCTAAEFFARF_HPP
63 const double& theta = 0.0,
64 const double& phi = 0.0,
65 const double& zenith = 0.0,
66 const double& azimuth = 0.0,
67 const bool& etrue =
true)
const;
75 double max(
const double& logE,
77 const double& azimuth,
78 const bool& etrue =
true)
const;
85 const double&
sigma(
void)
const;
89 const double&
scale(
void)
const;
120 return (
"GCTAAeffArf");
CTA effective area base class definition.
Energy boundaries class interface definition.
Filename class interface definition.
Node array class interface definition.
CTA ARF effective area class.
GFilename m_filename
Name of Aeff response file.
double m_thetacut
Theta cut for ARF.
GCTAAeffArf(void)
Void constructor.
const double & scale(void) const
Return effective area scaling factor.
GEbounds ebounds(void) const
Return energy boundaries.
double m_scale
Scale for ARF.
std::vector< double > m_aeff
Effective area in cm2.
GFilename filename(void) const
Return filename.
GCTAAeffArf & operator=(const GCTAAeffArf &aeff)
Assignment operator.
void clear(void)
Clear instance.
double m_logE_min
Minimum logE (log10(E/TeV))
double m_sigma
Sigma for offset angle computation (0=none)
void remove_thetacut(const GCTAResponseIrf &rsp)
Remove thetacut.
GNodeArray m_logE
log(E) nodes for Aeff interpolation
virtual ~GCTAAeffArf(void)
Destructor.
int size(void) const
Return number of node energies in response.
double m_logE_max
Maximum logE (log10(E/TeV))
void free_members(void)
Delete class members.
double operator()(const double &logE, const double &theta=0.0, const double &phi=0.0, const double &zenith=0.0, const double &azimuth=0.0, const bool &etrue=true) const
Return effective area in units of cm2.
void init_members(void)
Initialise class members.
void copy_members(const GCTAAeffArf &aeff)
Copy class members.
void load(const GFilename &filename)
Load effective area from ARF FITS file.
std::string classname(void) const
Return class name.
GEbounds m_ebounds
Energy boundaries.
void read(const GFitsTable &table)
Read CTA ARF vector.
std::string print(const GChatter &chatter=NORMAL) const
Print effective area information.
GCTAAeffArf * clone(void) const
Clone instance.
double max(const double &logE, const double &zenith, const double &azimuth, const bool &etrue=true) const
Return maximum effective area at a given energy.
const double & sigma(void) const
Return sigma for offset angle dependence.
const double & thetacut(void) const
Return theta cut angle.
Abstract base class for the CTA effective area.
CTA instrument response function class.
Energy boundaries container class.
Abstract interface for FITS table.
int size(void) const
Return number of nodes in node array.