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