22#include <TVirtualMCStack.h>
40 virtual void PushTrack(Int_t toBeDone, Int_t parent, Int_t pdg, Double_t px,
41 Double_t py, Double_t pz, Double_t e, Double_t vx, Double_t vy, Double_t vz,
42 Double_t tof, Double_t polx, Double_t poly, Double_t polz, TMCProcess mech,
43 Int_t& ntr, Double_t weight, Int_t is);
46 virtual void Print(Option_t* option =
"")
const;
Definition of the Ex02Particle class.
Implementation of the TVirtualMCStack interface.
virtual void Print(Option_t *option="") const
virtual TParticle * GetCurrentTrack() const
virtual void SetCurrentTrack(Int_t track)
Int_t fCurrentTrack
The current track number.
virtual TParticle * PopPrimaryForTracking(Int_t i)
virtual Int_t GetNtrack() const
virtual TParticle * PopNextTrack(Int_t &track)
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)
Ex02Particle * GetParticle(Int_t id) const
virtual Int_t GetCurrentTrackNumber() const
Int_t fObjectNumber
The Root object number counter.
virtual Int_t GetCurrentParentTrackNumber() const
virtual Int_t GetNprimary() const
std::stack< Ex02Particle * > fStack
The stack of particles (transient)
Int_t fNPrimary
The number of primaries.
TObjArray * fParticles
The array of particle (persistent)
Extended TParticle with pointers to mother and daughter particles.