27 #ifndef GLATOBSERVATION_HPP
28 #define GLATOBSERVATION_HPP
62 virtual void clear(
void);
64 virtual std::string
classname(
void)
const;
68 virtual double ontime(
void)
const;
77 const std::string& ft2name,
78 const std::string& ltcube_name);
80 const std::string& expmap_name,
81 const std::string& ltcube_name);
82 void response(
const std::string& irfname);
110 return (
"GLATObservation");
std::string m_ltfile
Lifetime cube filename.
void init_members(void)
Initialise class members.
Fermi/LAT observation class.
std::string m_ft2file
FT2 filename.
virtual void read(const GXmlElement &xml)
Read observation from XML element.
void copy_members(const GLATObservation &obs)
Copy class members.
GLATObservation(void)
Void constructor.
Fermi/LAT Response class.
void free_members(void)
Delete class members.
virtual GLATObservation * clone(void) const
Clone Fermi/LAT observation.
GLATObservation & operator=(const GLATObservation &obs)
Assignment operator.
std::string m_ft1file
FT1 filename.
virtual ~GLATObservation(void)
Destructor.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print LAT observation information.
virtual void clear(void)
Clear Fermi/LAT observation.
virtual double livetime(void) const
Return livetime.
const GLATLtCube * ltcube(void) const
Return Fermi/LAT livetime cube.
GLATLtCube * m_ltcube
Pointer to livetime cube.
Fermi/LAT livetime cube class definition.
virtual double ontime(void) const
Return ontime.
void load_binned(const std::string &cntmap_name, const std::string &expmap_name, const std::string <cube_name)
Load data for binned analysis.
virtual std::string classname(void) const
Return class name.
virtual void write(GXmlElement &xml) const
Write observation into XML element.
Abstract observation base class.
Abstract observation base class interface definition.
std::string m_expfile
Exposure map filename.
virtual const GLATResponse * response(void) const
Return Fermi/LAT response function.
virtual double deadc(const GTime &time=GTime()) const
Return deadtime correction factor.
std::string m_cntfile
Counts map filename.
Fermi LAT Response class definition.
virtual std::string instrument(void) const
Return instrument name.
Abstract instrument response base class.
GLATResponse m_response
Instrument response functions.
Time class interface definition.
Interface for the Fermi LAT livetime cube.
void load_unbinned(const std::string &ft1name, const std::string &ft2name, const std::string <cube_name)
Load data for unbinned analysis.