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