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");
GFilename filename(void) const
Return filename.
int size(void) const
Return number of nodes in node array.
void remove_thetacut(const GCTAResponseIrf &rsp)
Remove thetacut.
GCTAAeffArf & operator=(const GCTAAeffArf &aeff)
Assignment operator.
const double & scale(void) const
Return effective area scaling factor.
GNodeArray m_logE
log(E) nodes for Aeff interpolation
GEbounds m_ebounds
Energy boundaries.
GCTAAeffArf * clone(void) const
Clone instance.
std::vector< double > m_aeff
Effective area in cm2.
GFilename m_filename
Name of Aeff response file.
const double & sigma(void) const
Return sigma for offset angle dependence.
void clear(void)
Clear 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.
int size(void) const
Return number of node energies in response.
const double & thetacut(void) const
Return theta cut angle.
virtual ~GCTAAeffArf(void)
Destructor.
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.
GCTAAeffArf(void)
Void constructor.
CTA effective area base class definition.
Node array class interface definition.
Energy boundaries container class.
GEbounds ebounds(void) const
Return energy boundaries.
std::string classname(void) const
Return class name.
double m_thetacut
Theta cut for ARF.
Abstract interface for FITS table.
void free_members(void)
Delete class members.
void copy_members(const GCTAAeffArf &aeff)
Copy class members.
double m_sigma
Sigma for offset angle computation (0=none)
CTA instrument response function class.
Abstract base class for the CTA effective area.
void read(const GFitsTable &table)
Read CTA ARF vector.
void load(const GFilename &filename)
Load effective area from ARF FITS file.
double m_scale
Scale for ARF.
Energy boundaries class interface definition.
double m_logE_max
Maximum logE (log10(E/TeV))
void init_members(void)
Initialise class members.
double m_logE_min
Minimum logE (log10(E/TeV))
std::string print(const GChatter &chatter=NORMAL) const
Print effective area information.
Filename class interface definition.
CTA ARF effective area class.