CTA event atom class definition.
virtual ~GCTAEventAtom(void)
Destructor.
const GEnergy & energy(void) const
Return energy.
int m_mc_id
Monte Carlo identifier.
GCTAInstDir m_dir
Event direction.
float m_phase
Optional phase.
GEnergy m_energy
Event energy.
unsigned long m_event_id
Event identifier.
void copy_members(const GCTAEventAtom &atom)
Copy class members.
const GCTAInstDir & dir(void) const
Return instrument direction.
int m_index
Index in list.
void clear(void)
Clear event atom.
void init_members(void)
Initialise class members.
std::string print(const GChatter &chatter=NORMAL) const
Print event information.
GCTAEventAtom * clone(void) const
Clone event atom.
const GTime & time(void) const
Return time.
GCTAEventAtom & operator=(const GCTAEventAtom &atom)
Assignment operator.
GCTAEventAtom(void)
Void constructor.
void free_members(void)
Delete class members.
CTA instrument direction class.
virtual void clear(void)
Clear CTA instrument direction.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print instrument direction information.
Class that handles energies in a unit independent way.
std::string print(const GChatter &chatter=NORMAL) const
Print energy.
void clear(void)
Clear instance.
Abstract interface for the event atom class.
virtual GEventAtom & operator=(const GEventAtom &atom)
Assignment operator.
void init_members(void)
Initialise class members.
void free_members(void)
Delete class members.
void free_members(void)
Delete class members.
void init_members(void)
Initialise class members.
void clear(void)
Clear time.
std::string print(const GChatter &chatter=NORMAL) const
Print time.