18#include <TVirtualMCStack.h>
42 virtual void PushTrack(Int_t toBeDone, Int_t parent, Int_t pdg, Double_t px,
43 Double_t py, Double_t pz, Double_t e, Double_t vx, Double_t vy, Double_t vz,
44 Double_t tof, Double_t polx, Double_t poly, Double_t polz, TMCProcess mech,
45 Int_t& ntr, Double_t weight, Int_t is);
48 virtual void Print(Option_t* option =
"")
const;
64 std::stack<TParticle*>
fStack;
Implementation of the TVirtualMCStack interface.
virtual void PushTrack(Int_t toBeDone, Int_t parent, Int_t pdg, Double_t px, Double_t py, Double_t pz, Double_t e, Double_t vx, Double_t vy, Double_t vz, Double_t tof, Double_t polx, Double_t poly, Double_t polz, TMCProcess mech, Int_t &ntr, Double_t weight, Int_t is)
virtual void SetCurrentTrack(Int_t track)
virtual Int_t GetNprimary() const
virtual TParticle * PopPrimaryForTracking(Int_t i)
virtual TParticle * GetCurrentTrack() const
virtual TParticle * PopNextTrack(Int_t &track)
virtual Int_t GetCurrentParentTrackNumber() const
Int_t fCurrentTrack
The current track number.
std::stack< TParticle * > fStack
The stack of particles (transient)
virtual Int_t GetNtrack() const
TClonesArray * fParticles
The array of particle (persistent)
TParticle * GetParticle(Int_t id) const
virtual void Print(Option_t *option="") const
virtual Int_t GetCurrentTrackNumber() const
Int_t fNPrimary
The number of primaries.