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");
virtual ~GCTAEventAtom(void)
Destructor.
GCTAInstDir m_dir
Event direction.
Energy value class definition.
const int & index(void) const
Return event index in list.
GEnergy m_energy
Event energy.
const int & mc_id(void) const
Return Monte Carlo identifier.
void free_members(void)
Delete class members.
const float & phase(void) const
Return event phase.
void init_members(void)
Initialise class members.
GCTAEventAtom(void)
Void constructor.
float m_phase
Optional phase.
GCTAEventAtom * clone(void) const
Clone event atom.
const unsigned long & event_id(void) const
Return event identifier.
void clear(void)
Clear event atom.
std::string classname(void) const
Return class name.
const GTime & time(void) const
Return time.
CTA instrument direction class interface definition.
Abstract event atom base class definition.
GCTAEventAtom & operator=(const GCTAEventAtom &atom)
Assignment operator.
void copy_members(const GCTAEventAtom &atom)
Copy class members.
int m_mc_id
Monte Carlo identifier.
CTA instrument direction class.
int m_index
Index in list.
unsigned long m_event_id
Event identifier.
std::string print(const GChatter &chatter=NORMAL) const
Print event information.
Time class interface definition.
const GEnergy & energy(void) const
Return energy.
const GCTAInstDir & dir(void) const
Return instrument direction.
Class that handles energies in a unit independent way.
Abstract interface for the event atom class.