65 double operator()(
const double& offset,
const double& logE,
66 const double& ctheta);
72 const std::string&
evtype(
void)
const;
74 const std::string& evtype);
76 const bool& clobber =
false);
77 void read(
const GFits& file,
const std::string& evtype);
double operator()(const double &offset, const double &logE, const double &ctheta)
Return point spread function value.
void clear(void)
Clear instance.
GLATPsf * clone(void) const
Clone instance.
void read(const GFits &file, const std::string &evtype)
Read point spread function from FITS file.
Definition of interface for all GammaLib classes.
void save(const GFilename &filename, const bool &clobber=false)
Save point spread function into FITS file.
void copy_members(const GLATPsf &psf)
Copy class members.
const std::string & evtype(void) const
Return event type.
int nenergies(void) const
Returns number of energy bins in PSF.
Interface for the Fermi LAT point spread function.
Abstract Fermi/LAT point spread function base class.
bool has_phi(void) const
Signals if PSF has phi dependence.
Interface class for all GammaLib classes.
int version(void) const
Returns PSF version.
double costhetamin(void) const
Returns minimum cos(theta) angle.
virtual ~GLATPsf(void)
Destructor.
int size(void) const
Returns size of PSF.
void write(GFits &file) const
Write point spread function into FITS file.
GLATPsfBase * m_psf
Pointer to versioned point spread function.
std::string m_evtype
Event type.
GLATPsf(void)
Void constructor.
Abstract Fermi/LAT point spread function base class definition.
void load(const GFilename &filename, const std::string &evtype)
Load point spread function from FITS file.
int ncostheta(void) const
Returns number of cos(theta) bins in PSF.
void init_members(void)
Initialise class members.
std::string classname(void) const
Return class name.
GLATPsf & operator=(const GLATPsf &psf)
Assignment operator.
std::string print(const GChatter &chatter=NORMAL) const
Print point spread function information.
void free_members(void)
Delete class members.