83 virtual int size(
void)
const = 0;
86 const bool& clobber =
false)
const = 0;
Definition of interface for all GammaLib classes.
Energy boundaries class interface definition.
Abstract event base class definition.
FITS file class interface definition.
Good time interval class interface definition.
Abstract Region of interest base class definition.
Interface class for all GammaLib classes.
Energy boundaries container class.
const GEnergy & emax(void) const
Return maximum energy of all intervals.
const GEnergy & emin(void) const
Return minimum energy of all intervals.
Class that handles energies in a unit independent way.
Abstract interface for the event classes.
Abstract event container class.
virtual void set_times(void)=0
virtual GEvents & operator=(const GEvents &events)
Assignment operator.
void copy_members(const GEvents &events)
Copy class members.
virtual const GEvent * operator[](const int &index) const =0
void free_members(void)
Delete class members.
GGti m_gti
Good time intervals covered by events.
virtual void write(GFits &file) const =0
virtual void read(const GFits &file)=0
virtual GEvent * operator[](const int &index)=0
const GTime & tstart(void) const
Return start time.
virtual void clear(void)=0
Clear object.
virtual std::string print(const GChatter &chatter=NORMAL) const =0
Print content of object.
GEvents(void)
Void constructor.
virtual void load(const GFilename &filename)=0
virtual void save(const GFilename &filename, const bool &clobber=false) const =0
GEbounds m_ebounds
Energy boundaries covered by events.
virtual int size(void) const =0
const GGti & gti(void) const
Return Good Time Intervals.
void init_members(void)
Initialise class members.
virtual ~GEvents(void)
Destructor.
const GTime & tstop(void) const
Return stop time.
const GEbounds & ebounds(void) const
Return energy boundaries.
virtual std::string classname(void) const =0
Return class name.
virtual void set_energies(void)=0
virtual int number(void) const =0
const GEnergy & emax(void) const
Return maximum energy.
virtual GEvents * clone(void) const =0
Clones object.
const GEnergy & emin(void) const
Return minimum energy.
Good Time Interval class.
const GTime & tstop(void) const
Returns latest stop time in Good Time Intervals.
const GTime & tstart(void) const
Returns earliest start time in Good Time Intervals.