X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=EVGEN%2FAliGenGeVSim.cxx;h=b3d5afb591ac28683140e3e0de81976b9a332ded;hp=689df6f5bf358c96a3138e1dc2e90b28634d9cd7;hb=642f15cfce9ebda2ff71a55c5edb8d9bc0c729c4;hpb=ce4e6d5801b3aa1747ba34fb16ff5ef9eeacc45e diff --git a/EVGEN/AliGenGeVSim.cxx b/EVGEN/AliGenGeVSim.cxx index 689df6f5bf3..b3d5afb591a 100644 --- a/EVGEN/AliGenGeVSim.cxx +++ b/EVGEN/AliGenGeVSim.cxx @@ -790,7 +790,7 @@ void AliGenGeVSim::Generate() { // putting particle on the stack - SetTrack(fTrackIt, kParent, pdg, p, orgin, polar, time, kPPrimary, id, fTrackIt); + PushTrack(fTrackIt, kParent, pdg, p, orgin, polar, time, kPPrimary, id, fTrackIt); if (isMultTotal) nParticle++; } }