67 const double& theta = 0.0,
68 const double& phi = 0.0,
69 const double& zenith = 0.0,
70 const double& azimuth = 0.0,
71 const bool& etrue =
true)
const;
79 double max(
const double& logE,
81 const double& azimuth,
82 const bool& etrue =
true)
const;
87 const double&
rad_max(
void)
const;
94 const bool& clobber =
false)
const;
130 return (
"GCTAAeff2D");
CTA effective area base class definition.
CTA response table class definition.
Energy boundaries class interface definition.
Filename class interface definition.
CTA 2D effective area class.
GFilename filename(void) const
Return filename.
void set_indices(void)
Set table indices.
GCTAAeff2D & operator=(const GCTAAeff2D &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.
void free_members(void)
Delete class members.
virtual ~GCTAAeff2D(void)
Destructor.
GEbounds m_ebounds
Energy boundaries.
const double & rad_max(void) const
Return radius cut value.
double m_lo_thres
Lower energy threshold (TeV)
double max(const double &logE, const double &zenith, const double &azimuth, const bool &etrue=true) const
Return maximum effective area at a given energy in cm2.
GEbounds ebounds(void) const
Return energy boundaries.
void clear(void)
Clear effective area.
void load(const GFilename &filename)
Load effective area from FITS file.
void write(GFitsBinTable &table) const
Write effective area into FITS binary table.
double m_rad_max
Radius cut (degrees)
int m_inx_aeff
Effective area (true energy)
GFilename m_filename
Name of Aeff response file.
double m_logE_min
Minimum logE (log10(E/TeV))
GCTAAeff2D(void)
Void constructor.
GCTAAeff2D * clone(void) const
Clone effective area.
double m_theta_min
Minimum theta (radians)
std::string classname(void) const
Return class name.
double m_hi_thres
Upper energy threshold (TeV)
double m_logE_max
Maximum logE (log10(E/TeV))
void save(const GFilename &filename, const bool &clobber=false) const
Save effective area into FITS file.
int m_inx_energy
Energy index.
int m_inx_theta
Theta index.
void copy_members(const GCTAAeff2D &aeff)
Copy class members.
std::string print(const GChatter &chatter=NORMAL) const
Print effective area information.
GCTAResponseTable m_aeff
Aeff response table.
double m_theta_max
Maximum theta (radians)
void set_boundaries(void)
Set effective area boundaries.
void init_members(void)
Initialise class members.
void read(const GFitsTable &table)
Read effective area from FITS table.
int m_inx_aeff_reco
Effective area (reco. energy)
const GCTAResponseTable & table(void) const
Return response table.
Abstract base class for the CTA effective area.
CTA response table class.
Energy boundaries container class.
Abstract interface for FITS table.
const std::string extname_cta_aeff2d