68 double psf(
const double& offset,
const double& logE,
69 const double& ctheta);
78 static double base_fct(
const double& u,
const double& gamma);
79 static double base_int(
const double& u,
const double& gamma);
80 double eval_psf(
const double& offset,
const double& energy,
91 double score,
double stail,
92 double gcore,
double gtail) :
96 double eval(
const double& x) {
98 double uc = 0.5 * rc * rc;
100 double ut = 0.5 * rt * rt;
132 return (
"GLATPsfV3");
std::vector< double > m_ncore
PSF ncore parameter.
GLATPsfV3 & operator=(const GLATPsfV3 &psf)
Assignment operator.
double eval(const double &x)
void read(const GFitsTable &table)
Read point spread function from FITS table.
void write(GFits &file) const
Write point spread function into FITS file.
void free_members(void)
Delete class members.
base_integrand(double ncore, double ntail, double score, double stail, double gcore, double gtail)
FITS file class interface definition.
std::string classname(void) const
Return class name.
GLATPsfV3(void)
Void constructor.
double psf(const double &offset, const double &logE, const double &ctheta)
Return point spread function value.
std::vector< double > m_gtail
PSF gtail parameter.
static double base_int(const double &u, const double &gamma)
Return approximation of point spread base function integral.
double integrate_psf(const double &energy, const int &index)
Integrates PSF for a specific set of parameters.
Abstract Fermi/LAT point spread function base class.
Single parameter function abstract base class definition.
std::vector< double > m_score
PSF score parameter.
virtual ~GLATPsfV3(void)
Destructor.
std::vector< double > m_ntail
PSF ntail parameter.
Abstract interface for FITS table.
int version(void) const
Return point spread function version number.
double eval_psf(const double &offset, const double &energy, const int &index)
Evaluate PSF for a specific set of parameters.
Abstract Fermi/LAT point spread function base class definition.
Single parameter function abstract base class.
GVector sin(const GVector &vector)
Computes sine of vector elements.
std::vector< double > m_gcore
PSF gcore parameter.
void init_members(void)
Initialise class members.
void copy_members(const GLATPsfV3 &psf)
Copy class members.
void normalize_psf(void)
Normalize PSF for all parameters.
std::vector< double > m_stail
PSF stail parameter.
static double base_fct(const double &u, const double &gamma)
Return point spread base function value.
GLATPsfV3 * clone(void) const
Clone point spread function.
void clear(void)
Clear point spread function.
std::string print(const GChatter &chatter=NORMAL) const
Print point spread function.
Fermi/LAT point spread function version 3 class.
FITS table abstract base class interface definition.