27#ifndef GCTAEVENTATOM_HPP
28#define GCTAEVENTATOM_HPP
74 const int&
index(
void)
const;
75 const unsigned long&
event_id(
void)
const;
76 const int&
mc_id(
void)
const;
77 const float&
phase(
void)
const;
79 void event_id(
const unsigned long&
id);
80 void mc_id(
const int&
id);
108 return (
"GCTAEventAtom");
CTA instrument direction class interface definition.
Energy value class definition.
Abstract event atom base class definition.
Time class interface definition.
virtual ~GCTAEventAtom(void)
Destructor.
const int & mc_id(void) const
Return Monte Carlo identifier.
const float & phase(void) const
Return event phase.
const GEnergy & energy(void) const
Return energy.
int m_mc_id
Monte Carlo identifier.
std::string classname(void) const
Return class name.
GCTAInstDir m_dir
Event direction.
const int & index(void) const
Return event index in list.
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 unsigned long & event_id(void) const
Return event identifier.
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.
Class that handles energies in a unit independent way.
Abstract interface for the event atom class.