64 double psf(
const double& offset,
const double& logE,
65 const double& ctheta);
74 static double base_fct(
const double& u,
const double& gamma);
75 static double base_int(
const double& u,
const double& gamma);
83 double gcore,
double gtail) :
86 double eval(
const double& x) {
88 double u = 0.5 * r * r;
117 return (
"GLATPsfV1");
void read(const GFitsTable &table)
Read point spread function from FITS table.
double eval(const double &x)
std::vector< double > m_sigma
PSF sigma parameter.
Fermi/LAT point spread function version 1 class.
void copy_members(const GLATPsfV1 &psf)
Copy class members.
void write(GFits &file) const
Write point spread function into FITS file.
int version(void) const
Return point spread function version number.
std::vector< double > m_ncore
PSF ncore parameter.
void init_members(void)
Initialise class members.
GLATPsfV1 * clone(void) const
Clone point spread function.
FITS file class interface definition.
std::vector< double > m_gtail
PSF gtail parameter.
void clear(void)
Clear point spread function.
std::string print(const GChatter &chatter=NORMAL) const
Print point spread function.
double psf(const double &offset, const double &logE, const double &ctheta)
Return point spread function value.
Abstract Fermi/LAT point spread function base class.
Single parameter function abstract base class definition.
virtual ~GLATPsfV1(void)
Destructor.
GLATPsfV1(void)
Void constructor.
GLATPsfV1 & operator=(const GLATPsfV1 &psf)
Assignment operator.
Abstract interface for FITS table.
void free_members(void)
Delete class members.
std::vector< double > m_gcore
PSF gcore parameter.
static double base_fct(const double &u, const double &gamma)
Return point spread base function value.
static double base_int(const double &u, const double &gamma)
Return approximation of point spread base function integral.
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::string classname(void) const
Return class name.
base_integrand(double ncore, double ntail, double sigma, double gcore, double gtail)
FITS table abstract base class interface definition.