27 #ifndef GEVENTATOM_HPP
28 #define GEVENTATOM_HPP
77 virtual void clear(
void) = 0;
79 virtual std::string
classname(
void)
const = 0;
80 virtual double size(
void)
const;
83 virtual const GTime&
time(
void)
const = 0;
84 virtual double counts(
void)
const;
85 virtual double error(
void)
const;
virtual std::string print(const GChatter &chatter=NORMAL) const =0
Print content of object.
virtual const GEnergy & energy(void) const =0
Abstract instrument direction base class definition.
virtual double size(void) const
Return size of an event atom.
Energy value class definition.
Abstract interface for the event classes.
virtual double error(void) const
Return error in number of counts in event atom.
void init_members(void)
Initialise class members.
Abstract instrument direction base class.
virtual void clear(void)=0
Clear object.
virtual GEventAtom & operator=(const GEventAtom &atom)
Assignment operator.
bool is_atom(void) const
Signal if event is an atom.
Abstract event base class definition.
void copy_members(const GEventAtom &atom)
Copy class members.
virtual const GTime & time(void) const =0
GEventAtom(void)
Void constructor.
Abstract event container class.
void free_members(void)
Delete class members.
virtual GEvent * clone(void) const =0
Clones object.
virtual ~GEventAtom(void)
Destructor.
bool is_bin(void) const
Signal if event is a bin.
Time class interface definition.
virtual double counts(void) const
Return number of counts in event atom.
virtual const GInstDir & dir(void) const =0
Class that handles energies in a unit independent way.
Abstract interface for the event atom class.
virtual std::string classname(void) const =0
Return class name.