27#ifndef GCTAAEFFPERFTABLE_HPP
28#define GCTAAEFFPERFTABLE_HPP
60 const double& theta = 0.0,
61 const double& phi = 0.0,
62 const double& zenith = 0.0,
63 const double& azimuth = 0.0,
64 const bool& etrue =
true)
const;
72 double max(
const double& logE,
74 const double& azimuth,
75 const bool& etrue =
true)
const;
82 const double&
sigma(
void)
const;
110 return (
"GCTAAeffPerfTable");
CTA effective area base class definition.
Energy boundaries class interface definition.
FITS file class interface definition.
Node array class interface definition.
CTA performance table effective area class.
double m_logE_min
Minimum logE (log10(E/TeV))
GFilename filename(void) const
Return filename.
GEbounds m_ebounds
Energy boundaries.
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.
std::string classname(void) const
Return class name.
double m_logE_max
Maximum logE (log10(E/TeV))
virtual ~GCTAAeffPerfTable(void)
Destructor.
void load(const GFilename &filename)
Load effective area from performance table.
void init_members(void)
Initialise class members.
GFilename m_filename
Name of Aeff response file.
std::string print(const GChatter &chatter=NORMAL) const
Print effective area information.
const double & sigma(void) const
Return sigma for offset angle dependence.
GCTAAeffPerfTable(void)
Void constructor.
void clear(void)
Clear instance.
GNodeArray m_logE
log(E) nodes for Aeff interpolation
GCTAAeffPerfTable & operator=(const GCTAAeffPerfTable &aeff)
Assignment operator.
double max(const double &logE, const double &zenith, const double &azimuth, const bool &etrue=true) const
Return maximum effective area at a given energy.
std::vector< double > m_aeff
Effective area in cm2.
double m_sigma
Sigma for offset angle computation (0=none)
void set_boundaries(void)
Set effective area boundaries.
void free_members(void)
Delete class members.
int size(void) const
Return number of node energies in response.
GCTAAeffPerfTable * clone(void) const
Clone instance.
void copy_members(const GCTAAeffPerfTable &aeff)
Copy class members.
GEbounds ebounds(void) const
Return energy boundaries.
Abstract base class for the CTA effective area.
Energy boundaries container class.
int size(void) const
Return number of nodes in node array.