eic-smear
1.0.3
A collection of ROOT classes for Monte Carlo events and a fast-smearing code simulating detector effects for the Electron-Ion Collider task force
|
A realisation of erhic::VirtualEvent for a hadron-hadron Monte Carlo event. More...
#include <EventMC.h>
Public Member Functions | |
virtual | ~EventMC () |
Destructor. More... | |
EventMC () | |
Constructor. More... | |
virtual const ParticleMC * | GetTrack (UInt_t) const |
Returns the nth track from the event. More... | |
virtual ParticleMC * | GetTrack (UInt_t) |
Returns the nth track from the event. More... | |
virtual UInt_t | GetNTracks () const |
Returns the number of tracks in the event. More... | |
virtual UInt_t | Add (ParticleMC *particle) |
Add a track to the list. More... | |
virtual Double_t | GetCentreOfMassEnergy () const |
Returns the centre-of-mass energy of the event (GeV) More... | |
virtual void | Clear (Option_t *="") |
Clear the track list. More... | |
![]() | |
virtual | ~VirtualEvent () |
Destructor. More... | |
virtual void | HadronicFinalState (ParticlePtrList &) const |
Populate a track list with the hadronic final-state. More... | |
Protected Attributes | |
TClonesArray | mTracks |
Additional Inherited Members | |
![]() | |
typedef std::vector< const erhic::VirtualParticle * > | ParticlePtrList |
typedef for a track pointer collection. More... | |
A realisation of erhic::VirtualEvent for a hadron-hadron Monte Carlo event.
Definition at line 29 of file hadronic/EventMC.h.
|
virtual |
Destructor.
Definition at line 17 of file hadronic/EventMC.cxx.
erhic::hadronic::EventMC::EventMC | ( | ) |
Constructor.
Definition at line 21 of file hadronic/EventMC.cxx.
|
virtual |
Add a track to the list.
The track must be dynamically allocated and is owned by the event. Returns the new list size.
Definition at line 41 of file hadronic/EventMC.cxx.
|
virtual |
Clear the track list.
Definition at line 25 of file hadronic/EventMC.cxx.
|
virtual |
Returns the centre-of-mass energy of the event (GeV)
Definition at line 46 of file hadronic/EventMC.cxx.
|
virtual |
Returns the number of tracks in the event.
Implements erhic::VirtualEvent.
Definition at line 37 of file hadronic/EventMC.cxx.
|
virtual |
Returns the nth track from the event.
Indices run from 0 to (n-1).
Implements erhic::VirtualEvent.
Definition at line 33 of file hadronic/EventMC.cxx.
|
virtual |
Returns the nth track from the event.
Indices run from 0 to (n-1).
Implements erhic::VirtualEvent.
Definition at line 29 of file hadronic/EventMC.cxx.
|
protected |
Definition at line 76 of file hadronic/EventMC.h.