27#ifndef GCOSEVENTATOM_HPP
28#define GCOSEVENTATOM_HPP
97 return (
"GCOSEventAtom");
bool operator<(const GCOSEventAtom &a, const GCOSEventAtom &b)
Check if time of one event atom is smaller than time of another event atom.
COSI instrument direction class definition.
Energy value class definition.
Abstract event atom base class definition.
Time class interface definition.
void free_members(void)
Delete class members.
void copy_members(const GCOSEventAtom &atom)
Copy class members.
GCOSEventAtom & operator=(const GCOSEventAtom &atom)
Assignment operator.
GCOSInstDir m_dir
Event direction.
void init_members(void)
Initialise class members.
const GEnergy & energy(void) const
Return event energy.
friend bool operator<(const GCOSEventAtom &a, const GCOSEventAtom &b)
Check if time of one event atom is smaller than time of another event atom.
GCOSEventAtom(void)
Void constructor.
void clear(void)
Clear event atom.
const GTime & time(void) const
Return event time.
std::string classname(void) const
Return class name.
const GCOSInstDir & dir(void) const
Return event instrument direction.
GEnergy m_energy
Event energy.
virtual ~GCOSEventAtom(void)
Destructor.
GCOSEventAtom * clone(void) const
Clone event atom.
std::string print(const GChatter &chatter=NORMAL) const
Print event information.
COSI instrument direction class.
Class that handles energies in a unit independent way.
Abstract interface for the event atom class.