EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <eic-smear/blob/master/include/eicsmear/hadronic/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 *="") |
Public Member Functions inherited from erhic::VirtualEvent | |
virtual | ~VirtualEvent () |
virtual void | HadronicFinalState (ParticlePtrList &) const |
Protected Attributes | |
TClonesArray | mTracks |
Additional Inherited Members | |
Public Types inherited from erhic::VirtualEvent | |
typedef std::vector< const erhic::VirtualParticle * > | ParticlePtrList |
A realisation of erhic::VirtualEvent for a hadron-hadron Monte Carlo event.
Definition at line 29 of file EventMC.h.
View newest version in sPHENIX GitHub at line 29 of file EventMC.h
|
virtual |
Destructor.
Definition at line 17 of file EventMC.cxx.
View newest version in sPHENIX GitHub at line 17 of file EventMC.cxx
References Clear().
erhic::hadronic::EventMC::EventMC | ( | ) |
Constructor.
Definition at line 21 of file EventMC.cxx.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 41 of file EventMC.cxx
References GetNTracks(), and mTracks.
|
virtual |
Clear the track list.
Definition at line 25 of file EventMC.cxx.
View newest version in sPHENIX GitHub at line 25 of file EventMC.cxx
References mTracks.
Referenced by ~EventMC().
|
virtual |
Returns the centre-of-mass energy of the event (GeV)
Definition at line 46 of file EventMC.cxx.
View newest version in sPHENIX GitHub at line 46 of file EventMC.cxx
References erhic::hadronic::ParticleMC::Get4Vector(), GetTrack(), and M.
|
virtual |
Returns the number of tracks in the event.
Implements erhic::VirtualEvent.
Definition at line 37 of file EventMC.cxx.
View newest version in sPHENIX GitHub at line 37 of file EventMC.cxx
References mTracks.
Referenced by Add(), and Smear::HadronicEventBuilder::Create().
|
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.
View newest version in sPHENIX GitHub at line 29 of file EventMC.cxx
References mTracks.
Referenced by Smear::HadronicEventBuilder::Create(), and GetCentreOfMassEnergy().
|
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.
View newest version in sPHENIX GitHub at line 33 of file EventMC.cxx
References mTracks.
|
protected |
Definition at line 76 of file EventMC.h.
View newest version in sPHENIX GitHub at line 76 of file EventMC.h
Referenced by Add(), Clear(), GetNTracks(), and GetTrack().