27 #ifndef GLATLTCUBEMAP_HPP
28 #define GLATLTCUBEMAP_HPP
75 const double& offset,
const GLATPsf& psf,
86 const int&
nphi(
void)
const;
88 double costheta(
const int& index)
const;
89 double phi(
const int& index)
const;
117 return (
"GLATLtCubeMap");
void free_members(void)
Delete class members.
GLATLtCubeMap * clone(void) const
Clone livetime cube map.
bool m_sqrt_bin
Square root binning?
double(* _ltcube_ctheta_phi)(const double &costheta, const double &phi)
std::string classname(void) const
Return class name.
GLATLtCubeMap & operator=(const GLATLtCubeMap &cube)
Assignment operator.
double m_min_ctheta
Minimum cos theta value.
Definition of interface for all GammaLib classes.
bool has_phi(void) const
Signal if livetime cube map has phi dependence.
Sky map class definition.
int m_num_ctheta
Number of bins in cos theta.
const double & costhetamin(void) const
Return minimum of cosine theta.
Interface for the Fermi LAT point spread function.
virtual ~GLATLtCubeMap(void)
Destructor.
void write(GFits &fits, const std::string &extname=gammalib::extname_lat_ltcubemap) const
Write livetime cube map into FITS file.
std::string costhetabin(void) const
Return cos theta binning scheme.
Interface class for all GammaLib classes.
int m_num_phi
Number of bins in phi.
const int & nphi(void) const
Return number of phi bins.
Abstract interface for FITS table.
Interface for the Fermi/LAT effective area.
void copy_members(const GLATLtCubeMap &cube)
Copy class members.
void clear(void)
Clear livetime cube map.
double phi(const int &index) const
Return phi value (in radians) for an index.
GSkyMap m_map
Lifetime cube map.
double operator()(const GSkyDir &dir, _ltcube_ctheta fct) const
Sum function multiplied by livetime over zenith angle.
const int & ncostheta(void) const
Return number of cosine theta bins.
GLATLtCubeMap(void)
Void constructor.
double(* _ltcube_ctheta)(const double &costheta)
void init_members(void)
Initialise class members.
void read(const GFitsTable &table)
Load livetime cube from FITS file.
Fermi LAT livetime cube map class.
double costheta(const int &index) const
Return cos theta value for an index.
const std::string extname_lat_ltcubemap
std::string print(const GChatter &chatter=NORMAL) const
Print livetime cube map information.
Class that handles energies in a unit independent way.