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