9 IMPLICIT DOUBLE PRECISION (a-h,o-
z)
12 REAL ne,etest,prob,slump
20 COMMON /dtiont/ linp,lout,ldat
22 COMMON /dtevt1/ nhkk,nevhkk,isthkk(nmxhkk),idhkk(nmxhkk),
23 & jmohkk(2,nmxhkk),jdahkk(2,nmxhkk),
24 & phkk(5,nmxhkk),vhkk(4,nmxhkk),whkk(4,nmxhkk)
27 COMMON /dtevno/ nevent, icasca
30 OPEN (
unit = 50, file =
"my.input")
32 CALL dt_dtuini(nevts,epn,npmass,npchar,ntmass,ntchar,idp,iemu)
54 CALL dt_kkinc(npmass,npchar,ntmass,ntchar,idp,elab,kkmat,irej)
68 IMPLICIT DOUBLE PRECISION (a-h,o-
z)
69 INTEGER pid,qch,q_sum,ntpc,nfinal,naccept,ipart,res
70 DOUBLE PRECISION yrap,
pt,
mass,mt,etot
71 DOUBLE PRECISION pt_cut_tpc
99 COMMON /dtevt1/ nhkk,nevhkk,isthkk(nmxhkk),idhkk(nmxhkk),
100 & jmohkk(2,nmxhkk),jdahkk(2,nmxhkk),
101 & phkk(5,nmxhkk),vhkk(4,nmxhkk),whkk(4,nmxhkk)
104 COMMON /dtevt2/ idres(nmxhkk),idxres(nmxhkk),nobam(nmxhkk),
105 & idbam(nmxhkk),idch(nmxhkk),npoint(10),
108 DOUBLE PRECISION slpx, slpy, slpz, sle, slm
109 INTEGER slpid, slcharge
110 COMMON /dpmjetparticle/ slpx(nmxhkk), slpy(nmxhkk), slpz(nmxhkk),
111 & sle(nmxhkk), slm(nmxhkk), slpid(nmxhkk), slcharge(nmxhkk)
122 IF(.not.(isthkk(i).eq.1.or.isthkk(i).eq.-1.or.
123 $isthkk(i).eq.1001)) goto 42
126 IF((abs(isthkk(i)).eq.1).and.(idhkk(i).ne.80000))
THEN
129 qch=ipho_chr3(idhkk(i),1)/3
130 ELSEIF(idhkk(i).eq.80000)
THEN
139 slpx(nfinal) = phkk(1,i)
140 slpy(nfinal) = phkk(2,i)
141 slpz(nfinal) = phkk(3,i)
142 sle(nfinal) = phkk(4,i)
143 slm(nfinal) = phkk(5,i)
144 slpid(nfinal) = idhkk(i)
145 slcharge(nfinal) = qch