Moving to the new VMC naming convention
[u/mrichter/AliRoot.git] / PYTHIA6 / AliGenPythiaJets.cxx
index 275b4ba..ead7d30 100644 (file)
@@ -164,7 +164,7 @@ void AliGenPythiaJets::Generate()
                origin[1] = fOrigin[1]+iparticle->Vy()/10.;
                origin[2] = fOrigin[2]+iparticle->Vz()/10.;
                Float_t tof=kconv*iparticle->T();
-               SetTrack(fTrackIt*trackIt, iparent, kf, p, origin, polar,
+               PushTrack(fTrackIt*trackIt, iparent, kf, p, origin, polar,
                         tof, kPPrimary, nt, 1., ks);
                KeepTrack(nt);
                pParent[i] = nt;