+// Add the quarks in the stack
+
+ phiq[0] = Rndm()*k2PI;
+ phiq[1] = phiq[0] + dphi*kDegrad;
+ TVector3 qvect1 = TVector3();
+ TVector3 qvect2 = TVector3();
+ qvect1.SetPtEtaPhi(ptq[0],yq[0],phiq[0]);
+ qvect2.SetPtEtaPhi(ptq[1],yq[1],phiq[1]);
+ pq1[0] = qvect1.Px();
+ pq1[1] = qvect1.Py();
+ pq1[2] = qvect1.Pz();
+ pq2[0] = qvect2.Px();
+ pq2[1] = qvect2.Py();
+ pq2[2] = qvect2.Pz();
+
+ wgtp = fParentWeight;
+
+ PushTrack(0, -1, +fQuark, pq1, origin0, polar, 0,
+ kPPrimary, nt, wgtp);
+ KeepTrack(nt);
+ ntq1 = nt;
+
+ PushTrack(0, -1, -fQuark, pq2, origin0, polar, 0,
+ kPPrimary, nt, wgtp);
+ KeepTrack(nt);
+ ntq2 = nt;
+
+ nt = 2;
+