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