![]() |
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
|
#include <EventMC.h>
Public Member Functions | |
virtual | ~EventMC () |
EventMC () | |
virtual const ParticleMC * | GetTrack (UInt_t) const |
virtual ParticleMC * | GetTrack (UInt_t) |
virtual UInt_t | GetNTracks () const |
virtual UInt_t | Add (ParticleMC *particle) |
virtual Double_t | GetCentreOfMassEnergy () const |
virtual void | Clear (Option_t *="") |
![]() | |
virtual | ~VirtualEvent () |
virtual void | HadronicFinalState (ParticlePtrList &) const |
Protected Attributes | |
TClonesArray | mTracks |
Additional Inherited Members | |
![]() | |
typedef std::vector< const erhic::VirtualParticle * > | ParticlePtrList |
A realisation of erhic::VirtualEvent for a hadron-hadron Monte Carlo event.
|
virtual |
Destructor.
Definition at line 17 of file EventMC.cxx.
erhic::hadronic::EventMC::EventMC | ( | ) |
Constructor.
Definition at line 21 of file 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 EventMC.cxx.
|
virtual |
Clear the track list.
Definition at line 25 of file EventMC.cxx.
|
virtual |
Returns the centre-of-mass energy of the event (GeV)
Definition at line 46 of file EventMC.cxx.
|
virtual |
Returns the number of tracks in the event.
Implements erhic::VirtualEvent.
Definition at line 37 of file 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 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 EventMC.cxx.