27 #ifndef GSPIOBSERVATION_HPP
28 #define GSPIOBSERVATION_HPP
68 virtual void clear(
void);
70 virtual std::string
classname(
void)
const;
74 virtual double ontime(
void)
const;
84 void ontime(
const double& ontime);
85 void livetime(
const double& livetime);
86 void deadc(
const double& deadc);
114 return (
"GSPIObservation");
virtual double ontime(void) const
Return ontime.
virtual std::string classname(void) const
Return class name.
virtual GSPIObservation * clone(void) const
Clone INTEGRAL/SPI observation.
virtual void clear(void)
Clear INTEGRAL/SPI observation.
virtual ~GSPIObservation(void)
Destructor.
GFilename m_filename
OG FITS filename.
double m_ontime
Ontime (sec)
virtual std::string print(const GChatter &chatter=NORMAL) const
Print observation information.
GSPIObservation(void)
Void constructor.
void free_members(void)
Delete class members.
virtual void write(GXmlElement &xml) const
Write INTEGRAL/SPI observation into XML element.
GFilename m_rsp_filename
Response FITS filename (optional)
double m_livetime
Livetime (sec)
GSPIResponse m_response
Response functions.
void copy_members(const GSPIObservation &obs)
Copy class members.
virtual std::string instrument(void) const
Return instrument.
void init_members(void)
Initialise class members.
Abstract observation base class.
virtual const GSPIResponse * response(void) const
Return pointer to response function.
INTEGRAL/SPI instrument response function class definition.
Abstract observation base class interface definition.
void load(const GFilename &filename)
Load Observation Group.
virtual GSPIObservation & operator=(const GSPIObservation &obs)
Assignment operator.
INTEGRAL/SPI observation class.
double m_deadc
Deadtime correction.
virtual double deadc(const GTime &time=GTime()) const
Return deadtime correction factor.
GFilename m_rsp_grpname
Response group FITS filename (optional)
std::string m_instrument
Instrument name.
INTEGRAL/SPI instrument response function class.
virtual void read(const GXmlElement &xml)
Read INTEGRAL/SPI observation from XML element.
Abstract instrument response base class.
virtual double livetime(void) const
Return livetime.
Filename class interface definition.