27 #ifndef GCTAPSFVECTOR_HPP
28 #define GCTAPSFVECTOR_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;
77 const double& theta = 0.0,
78 const double& phi = 0.0,
79 const double& zenith = 0.0,
80 const double& azimuth = 0.0,
81 const bool& etrue =
true)
const;
83 const double& theta = 0.0,
84 const double& phi = 0.0,
85 const double& zenith = 0.0,
86 const double& azimuth = 0.0,
87 const bool& etrue =
true)
const;
90 const double& theta = 0.0,
91 const double& phi = 0.0,
92 const double& zenith = 0.0,
93 const double& azimuth = 0.0,
94 const bool& etrue =
true)
const;
105 void update(
const double& logE)
const;
129 return (
"GCTAPsfVector");
double m_par_width
Gaussian width parameter.
CTA vector point spread function class.
void load(const GFilename &filename)
Load point spread function from FITS file.
Abstract base class for the CTA point spread function.
std::vector< double > m_sigma
Sigma value of PSF in radians.
Random number generator class.
void free_members(void)
Delete class members.
void clear(void)
Clear instance.
double m_par_logE
Energy for which precomputation is done.
void copy_members(const GCTAPsfVector &psf)
Copy class members.
GNodeArray m_logE
log(E) nodes for Aeff interpolation
std::string classname(void) const
Return class name.
std::string print(const GChatter &chatter=NORMAL) const
Print point spread function information.
virtual ~GCTAPsfVector(void)
Destructor.
Node array class interface definition.
void update(const double &logE) const
Update PSF parameter cache.
Abstract interface for FITS table.
CTA point spread function base class definition.
GFilename filename(void) const
Return filename.
GCTAPsfVector * clone(void) const
Clone instance.
GFilename m_filename
Name of Aeff response file.
GCTAPsfVector & operator=(const GCTAPsfVector &psf)
Assignment operator.
void init_members(void)
Initialise class members.
double operator()(const double &delta, 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 point spread function (in units of sr^-1)
double delta_max(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 maximum size of PSF (radians)
double mc(GRan &ran, 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
Simulate PSF offset (radians)
double m_par_scale
Gaussian normalization.
void read(const GFitsTable &table)
Read point spread function vector from FITS table.
double m_par_sigma
Gaussian sigma (radians)
double containment_radius(const double &fraction, 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 the radius that contains a fraction of the events (radians)
std::vector< double > m_r68
68% containment radius of PSF in degrees
Filename class interface definition.
GCTAPsfVector(void)
Void constructor.