27 #ifndef GEVENTCUBE_HPP
28 #define GEVENTCUBE_HPP
60 virtual void clear(
void) = 0;
62 virtual std::string
classname(
void)
const = 0;
63 virtual int size(
void)
const = 0;
64 virtual int dim(
void)
const = 0;
65 virtual int naxis(
const int& axis)
const = 0;
68 const bool& clobber =
false)
const = 0;
71 virtual int number(
void)
const = 0;
void init_members(void)
Initialise class members.
virtual int number(void) const =0
void free_members(void)
Delete class members.
Abstract interface for the event bin class.
virtual GEventCube & operator=(const GEventCube &cube)
Assignment operator.
Abstract event bin base class definition.
virtual void read(const GFits &file)=0
virtual GEventCube * clone(void) const =0
Clones object.
virtual std::string classname(void) const =0
Return class name.
virtual int dim(void) const =0
virtual void clear(void)=0
Clear object.
virtual void save(const GFilename &filename, const bool &clobber=false) const =0
virtual int size(void) const =0
virtual void set_energies(void)
Set energies (dummy method)
virtual ~GEventCube(void)
Destructor.
virtual int naxis(const int &axis) const =0
virtual GEventBin * operator[](const int &index)=0
Abstract event container class.
virtual void set_times(void)
Set times (dummy method)
GEventCube(void)
Void constructor.
virtual void load(const GFilename &filename)=0
virtual void write(GFits &file) const =0
virtual std::string print(const GChatter &chatter=NORMAL) const =0
Print content of object.
Abstract event container class interface definition.
Abstract event bin container class.
void copy_members(const GEventCube &cube)
Copy class members.