11 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
34 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
42 parameter(tiny= 1.
d-5)
45 COMMON /hkkevt/ nhkk,nevhkk,isthkk(
nmxhkk),idhkk(
nmxhkk), jmohkk
50 COMMON /wewevt/ iywew(
nmxhkk),irwew(
nmxhkk),iiywew(2600),
51 & iirwew(2600),wewew(2600),idwew1(2600),
52 & idwew2(2600),idwew(2600),iblock(
nmxhkk),
150 COMMON /dpar/ aname(210),aam(210),ga(210),
tau(210),iich(210),
151 +iibar(210),k1(210),k2(210)
154 COMMON /nucc/ it,itz,ip,ipz,ijproj,ibproj,ijtarg,ibtarg
156 COMMON /tnucfi/ amtfin,amfino,eexcta,ptfinx,ptfiny,ptfinz,ptfine,
157 + itfin,itzfin,nntar,nptar,nhtar,nqtar,nparf
159 COMMON /dprin/ ipri,ipev,ippa,ipco,
init,iphkk,itopd,ipaupr
163 COMMON /bufues/ bnnvv,bnnss,bnnsv,bnnvs,bnncc,
164 * bnndv,bnnvd,bnnds,bnnsd,
166 * bptvv,bptss,bptsv,bptvs,bptcc,bptdv,
169 * beevv,beess,beesv,beevs,beecc,beedv,
173 * ,bnnzd,bnndz,bptzd,bptdz,beezd,beedz
174 COMMON /ncoucs/ bcouvv,bcouss,bcousv,bcouvs,
175 * bcouzz,bcouhh,bcouds,bcousd,
176 * bcoudz,bcouzd,bcoudi,
177 * bcoudv,bcouvd,bcoucc
178 COMMON /bufueh/ annvv,annss,annsv,annvs,anncc,
179 * anndv,annvd,annds,annsd,
181 * ptvv,ptss,ptsv,ptvs,ptcc,ptdv,ptvd,ptds,ptsd,
183 * eevv,eess,eesv,eevs,eecc,eedv,eevd,eeds,eesd,
186 * ,annzd,anndz,ptzd,ptdz,eezd,eedz
187 COMMON /ncouch/ acouvv,acouss,acousv,acouvs,
188 * acouzz,acouhh,acouds,acousd,
189 * acoudz,acouzd,acoudi,
190 * acoudv,acouvd,acoucc
192 COMMON /eventa/idumtp
199 dimension yyltra(40,9,41),transa(40),dyylam(40),dyalam(40),
206 DATA indx/1,8,10,10,10,10,7,2,7,10,10,7,3,4,5,6,
207 * 7,7,7,7,7,7,7,7,7,7,7,7/
227 yyltra(j,jj,jjj)=1.
d-18
228 xyltra(j,jj,jjj)=-12.00+rdytra+j*dytra
232 transa(j)=3.14d0*(2.d0*aj-1.d0)*drtra**2
246 DO 1813 i=nhkkh1,nhkk
258 IF (isthkk(i).EQ.1)
THEN
260 ptt=phkk(1,i)**2+phkk(2,i)**2+0.00001
264 IF (nrhkk.LE.0.OR.nrhkk.GT.210)
THEN
269 IF (nre.GT.160) nre=28
270 IF (nre.LT. 1) nre=28
272 IF(nrex.GE.28)nrex=28
275 IF (nrhkk.EQ.9)nix=12
276 IF (nrhkk.EQ.17.OR.nrhkk.EQ.22)nix=13
277 IF (nrhkk.LE.22.AND.nrhkk.GE.20)nix=14
278 IF (nrhkk.EQ.18.OR.nrhkk.EQ.100)nix=15
279 IF (nrhkk.LE.101.AND.nrhkk.GE.99)nix=16
280 IF (nrhkk.EQ.98)nix=17
281 IF (nrhkk.EQ.103)nix=18
282 IF (nrhkk.EQ.12.OR.nrhkk.EQ.19)nix=19
283 IF (nrhkk.EQ.24.OR.nrhkk.EQ.25)nix=19
286 amt=
sqrt(ptt+phkk(5,i)**2)
287 yl=
log((abs(phkk(3,i)+
sqrt(phkk(3,i)**2+amt**2)))/amt+1.
e-18)
288 yllps=
log((abs(phkk(3,i)+
sqrt(phkk(3,i)**2+ptt)))/
pt
291 rtra=
sqrt(vhkk(1,i)**2+vhkk(2,i)**2)*1.d12
292 irtra=rtra/drtra+1.d0
293 IF(irtra.LT.1)irtra=1
294 IF(irtra.GT.40)irtra=40
295 iytra=(yl+12.00-rdytra)/dytra+1.d0
296 IF(iytra.LT.1)iytra=1
297 IF(iytra.GT.40)iytra=40
301 yyltra(iytra,2,irtra)=yyltra(iytra,2,irtra)+
304 yyltra(iytra,4,irtra)=yyltra(iytra,4,irtra)+
307 yyltra(iytra,1,irtra)=yyltra(iytra,1,irtra)+
310 yyltra(iytra,3,irtra)=yyltra(iytra,3,irtra)+
312 ELSEIF(nix.EQ.13)
THEN
313 yyltra(iytra,5,irtra)=yyltra(iytra,5,irtra)+
315 ELSEIF(nix.EQ.12)
THEN
316 yyltra(iytra,8,irtra)=yyltra(iytra,8,irtra)+
319 yyltra(iytra,7,irtra)=yyltra(iytra,7,irtra)+
321 ELSEIF(nix.EQ.15)
THEN
322 yyltra(iytra,6,irtra)=yyltra(iytra,6,irtra)+
324 ELSEIF(nix.EQ.23)
THEN
325 yyltra(iytra,9,irtra)=yyltra(iytra,9,irtra)+
342 yyltra(i,ii,iii)=yyltra(i,ii,iii)/(dytra)
343 yyltra(i,ii,41) =yyltra(i,ii,41) +
344 * yyltra(i,ii,iii)*transa(iii)
348 WRITE(6,
'(A)')
' Transverse Rapidity Density of proton '
349 WRITE(6,37)xyltra(1,1,1),(transa(i),i=1,10)
350 37
FORMAT(f10.2,10e11.3)
352 WRITE(6,37)xyltra(j,1,1),(yyltra(j,1,i),i=1,9),yyltra(j,1,41)
354 WRITE(6,
'(A)')
' Transverse Rapidity Density of pi- '
355 WRITE(6,37)xyltra(1,1,1),(transa(i),i=1,10)
357 WRITE(6,37)xyltra(j,1,1),(yyltra(j,2,i),i=1,9),yyltra(j,2,41)
359 WRITE(6,
'(A)')
' Transverse Rapidity Density of aproton '
360 WRITE(6,37)xyltra(1,1,1),(transa(i),i=1,10)
362 WRITE(6,37)xyltra(j,1,1),(yyltra(j,3,i),i=1,9),yyltra(j,3,41)
364 WRITE(6,
'(A)')
' Transverse Rapidity Density of pi+ '
365 WRITE(6,37)xyltra(1,1,1),(transa(i),i=1,10)
367 WRITE(6,37)xyltra(j,1,1),(yyltra(j,4,i),i=1,9),yyltra(j,4,41)
369 WRITE(6,
'(A)')
' Transverse Rapidity Density of pi0 '
370 WRITE(6,37)xyltra(1,1,1),(transa(i),i=1,10)
372 WRITE(6,37)xyltra(j,1,1),(yyltra(j,9,i),i=1,9),yyltra(j,9,41)
380 * (yyltra(i,1,iii)-yyltra(i,5,iii))*yyltra(i,2,iii)*
385 * (yyltra(i,7,iii)-yyltra(i,5,iii))*yyltra(i,4,iii)*
390 * (yyltra(i,7,iii)-yyltra(i,5,iii))*yyltra(i,9,iii)*
395 * (yyltra(i,1,iii)-yyltra(i,5,iii))*yyltra(i,9,iii)*
401 * (yyltra(i,1,iii)+yyltra(i,7,iii)-1.6*yyltra(i,5,iii))*
404 IF(dellla.GT.delllo)dellla=delllo
405 IF(delllb.GT.delllo)delllb=delllo
406 IF(delllc.GT.delllo)delllc=delllo
407 IF(dellld.GT.delllo)dellld=delllo
408 IF(delllo.LE.0.d0)dellla=0.d0
409 IF(delllo.LE.0.d0)delllb=0.d0
410 IF(delllo.LE.0.d0)delllc=0.d0
411 IF(delllo.LE.0.d0)dellld=0.d0
412 IF(dellla.LE.0.d0)dellla=0.d0
413 IF(delllb.LE.0.d0)delllb=0.d0
414 IF(delllc.LE.0.d0)delllc=0.d0
415 IF(dellld.LE.0.d0)dellld=0.d0
417 IF(dellla.GT.tiny)
THEN
420 IF(
rndm(v).LE.tellla)idelll=idelll+1
422 IF (dellla.LT.tiny)go to 2233
431 WRITE (6,
'(A,3F10.3,7I5)')
' LAMBDA ',
432 * dellla,yyltra(i,1,iii),yyltra(i,2,iii),i,iii,
433 * idwew(iwew),idweww(iwew),idwew1(iwew),idwew2(iwew),
436 dyylam(i)=dyylam(i)+ dellla/dytra
445 IF(delllb.GT.tiny)
THEN
448 IF(
rndm(v).LE.telllb)idelll=idelll+1
450 IF (delllb.LT.tiny)go to 2243
459 WRITE (6,
'(A,3F10.3,7I5)')
' LAMBDA ',
460 * delllb,yyltra(i,1,iii),yyltra(i,2,iii),i,iii,
461 * idwew(iwew),idweww(iwew),idwew1(iwew),idwew2(iwew),
464 dyylam(i)=dyylam(i)+ delllb/dytra
473 IF(delllc.GT.tiny)
THEN
476 IF(
rndm(v).LE.telllc)idelll=idelll+1
478 IF (delllc.LT.tiny)go to 2244
487 WRITE (6,
'(A,3F10.3,7I5)')
' LAMBDA ',
488 * delllc,yyltra(i,1,iii),yyltra(i,2,iii),i,iii,
489 * idwew(iwew),idweww(iwew),idwew1(iwew),idwew2(iwew),
492 dyylam(i)=dyylam(i)+ delllc/dytra
501 IF(dellld.GT.tiny)
THEN
504 IF(
rndm(v).LE.tellld)idelll=idelll+1
506 IF (dellld.LT.tiny)go to 2245
515 WRITE (6,
'(A,3F10.3,7I5)')
' LAMBDA ',
516 * dellld,yyltra(i,1,iii),yyltra(i,2,iii),i,iii,
517 * idwew(iwew),idweww(iwew),idwew1(iwew),idwew2(iwew),
520 dyylam(i)=dyylam(i)+ dellld/dytra
533 * (yyltra(i,3,iii)-yyltra(i,6,iii))*yyltra(i,4,iii)*
538 * (yyltra(i,8,iii)-yyltra(i,6,iii))*yyltra(i,2,iii)*
544 * (yyltra(i,3,iii)+yyltra(i,8,iii)-1.6*yyltra(i,6,iii))*
547 IF(delala.GT.delalo)delala=delalo
548 IF(delalb.GT.delalo)delalb=delalo
549 IF(delalo.LE.0.d0)delala=0.d0
550 IF(delalo.LE.0.d0)delalb=0.d0
551 IF(delala.LE.0.d0)delala=0.d0
552 IF(delalb.LE.0.d0)delalb=0.d0
554 IF(delala.GT.tiny)
THEN
557 IF(
rndm(v).LE.telala)idelal=idelal+1
559 IF (delala.LT.tiny)go to 2234
568 WRITE (6,
'(A,3F10.3,7I5)')
' ALAMBDA ',
569 * delala,yyltra(i,3,iii),yyltra(i,6,iii),i,iii,
570 * idwew(iwew),idweww(iwew),idwew1(iwew),idwew2(iwew),
573 dyalam(i)=dyalam(i)+ delala/dytra
582 IF(delalb.GT.tiny)
THEN
585 IF(
rndm(v).LE.telalb)idelal=idelal+1
587 IF (delalb.LT.tiny)go to 2247
596 WRITE (6,
'(A,3F10.3,7I5)')
' ALAMBDA ',
597 * delalb,yyltra(i,3,iii),yyltra(i,6,iii),i,iii,
598 * idwew(iwew),idweww(iwew),idwew1(iwew),idwew2(iwew),
601 dyalam(i)=dyalam(i)+ delalb/dytra
614 ddlamn=ddlamn+dyylam(j)*dytra
615 dalamn=dalamn+dyalam(j)*dytra
618 WRITE(6,
'(A,I10,F10.3)')
' IWEWMA,Extra Rap. Den. of Lam ,DLAM= '
620 WRITE(6,
'(A,I10,F10.3)')
' IWEWMA,Extra Rap. Den. ofALam ,DLAM= '
622 WRITE(6,37)xyltra(1,1,1),(transa(i),i=1,10)
624 WRITE(6,37)xyltra(j,1,1),dyylam(j),dyalam(j)
644 DO 211 jj=nhkkh1,nhkk
645 IF(iblock(jj).EQ.0)
THEN
646 IF((idhkk(jj).EQ.id1).AND.(iywew(jj).EQ.iiywew(ii))
647 * .AND.(irwew(jj).EQ.iirwew(ii)).AND.(kk1.EQ.0))
THEN
652 IF((idhkk(jj).EQ.id2).AND.(iywew(jj).EQ.iiywew(ii))
653 * .AND.(irwew(jj).EQ.iirwew(ii)).AND.(kk2.EQ.0))
THEN
658 IF(ihkk1.EQ.0)go to 211
659 IF(ihkk2.EQ.0)go to 211
660 IF(jmohkk(1,ihkk1).EQ.jmohkk(1,ihkk2))
THEN
666 CALL
pinkla(idwew1(ii),idwew2(ii),idwew(ii),idweww(ii),
667 & ihkk1,ihkk2,iloml,iloma,itoml,itoma,irej)
669 *
WRITE(6,
'(A,5I10)')
' IWEWMA,ILOML,ILOMA,ITOML,ITOMA '
670 * ,iwewma ,iloml,iloma,itoml,itoma
673 WRITE(6,
'(A,3I7)')
' Extra Positions ',ihkk1,ihkk2,ii
685 IF(jj1.GE.1)iblock(jj1)=1
689 IF(jj2.GE.1)iblock(jj2)=1
697 *
WRITE(6,
'(A,5I10)')
' IWEWMA,ILOML,ILOMA,ITOML,ITOMA '
698 * ,iwewma ,iloml,iloma,itoml,itoma
702 SUBROUTINE pinkla(I1,I2,I3,I4,IHKK1,IHKK2,ILOML,ILOMA,
705 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
714 parameter(tiny= 1.
d-5)
717 COMMON /hkkevt/ nhkk,nevhkk,isthkk(
nmxhkk),idhkk(
nmxhkk), jmohkk
722 COMMON /wewevt/ iywew(
nmxhkk),irwew(
nmxhkk),iiywew(2600),
723 & iirwew(2600),wewew(2600),idwew1(2600),
724 & idwew2(2600),idwew(2600),iblock(
nmxhkk),
822 COMMON /dpar/ aname(210),aam(210),ga(210),
tau(210),iich(210),
823 +iibar(210),k1(210),k2(210)
824 COMMON /dprin/ipri,ipev,ippa,ipco,
init,iphkk,itopd,ipaupr
826 IF(i3.EQ.17)itoml=itoml+1
827 IF(i3.EQ.18)itoma=itoma+1
829 ama12 =
sqrt((phkk(4,ihkk1)+phkk(4,ihkk2))**2
830 + -(phkk(1,ihkk1)+phkk(1,ihkk2))**2
831 + -(phkk(2,ihkk1)+phkk(2,ihkk2))**2
832 + -(phkk(3,ihkk1)+phkk(3,ihkk2))**2)
833 amamin = aam(i3)+aam(i4)
835 IF(ama12.GE.amamin+0.05d0)
THEN
837 WRITE(6,
'(A,2F10.3)')
' AMAMIN,AMA12 ',amamin,ama12
838 WRITE(6,
'(A,I5,A,I5,A,I5,A,I5)')
' Reaction ',
839 + i1,
' + ',i2,
' ---> ',i3,
' + ',i4
842 e12 = phkk(4,ihkk1)+phkk(4,ihkk2)
843 px12 = phkk(1,ihkk1)+phkk(1,ihkk2)
844 py12 = phkk(2,ihkk1)+phkk(2,ihkk2)
845 pz12 = phkk(3,ihkk1)+phkk(3,ihkk2)
851 +
WRITE(6,
'(A,4E12.3)')
' G12,BGX12,BGY12,BGZ12 ',
852 +g12,bgx12,bgy12,bgz12
854 e3 = (ama12**2-aam(i4)**2+aam(i3)**2)/(2.*ama12)
855 e4 = (ama12**2-aam(i3)**2+aam(i4)**2)/(2.*ama12)
856 p3 =
sqrt(e3**2-aam(i3)**2)
857 p4 =
sqrt(e4**2-aam(i4)**2)
859 +
WRITE(6,
'(A,4E12.3)')
' E3,E4,P3,P4 ',
862 CALL
dpoli(polc,pols)
864 IF(phkk(3,ihkk1).GE.0.d0)
THEN
867 ELSEIF(phkk(3,ihkk1).LE.0.d0)
THEN
884 +
WRITE(6,
'(A,4E12.3)')
' 4 mom cms 3 4 ',
887 CALL
daltra(g12,bgx12,bgy12,bgz12,px3,py3,pz3,e3,pc3,pcx3,
889 CALL
daltra(g12,bgx12,bgy12,bgz12,px4,py4,pz4,e4,pc4,pcx4,
895 +
WRITE(6,
'(A,4E12.3)')
' 4 mom 1 2 ',
896 +phkk(3,ihkk1),phkk(4,ihkk1),
897 +phkk(3,ihkk2),phkk(4,ihkk2)
901 +
WRITE(6,
'(A,4E12.3)')
' 4 mom 3 4 ',
911 IF((i3.EQ.24).OR.(i3.EQ.25))
THEN
913 IF(
rndm(vv).LE.0.5d0)i3=19
926 vhkk(iiii,nhkk)=vhkk(iiii,ihkk1)
927 whkk(iiii,nhkk)=whkk(iiii,ihkk1)
931 IF((i4.EQ.24).OR.(i4.EQ.25))
THEN
933 IF(
rndm(vv).LE.0.5d0)i4=19
946 vhkk(iiii,nhkk)=vhkk(iiii,ihkk2)
947 whkk(iiii,nhkk)=whkk(iiii,ihkk2)
950 IF(i3.EQ.17)iloml=iloml+1
951 IF(i3.EQ.18)iloma=iloma+1
958 SUBROUTINE hadjck(NHAD,AMCH,PPR,PTA,GAM,BGX,BGY,BGZ, IFB1,IFB2,
959 +ifb3,ifb4,i1,i2,nobam,nnch,norig,irej)
960 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
1018 CHARACTER*8 anf,anff
1019 parameter(nfimax=249)
1020 COMMON /dfinpa/ anf(nfimax),pxf(nfimax),pyf(nfimax),pzf(nfimax),
1021 +hef(nfimax),amf(nfimax), ichf(nfimax),ibarf(nfimax),nref(nfimax)
1022 COMMON /dfinpz/iormo(nfimax),idaug1(nfimax),idaug2(nfimax),
1024 dimension anff(nfimax),pxff(nfimax),pyff(nfimax),pzff(nfimax),
1025 +heff(nfimax),amff(nfimax),
1026 *ichff(nfimax),ibarff(nfimax),nreff(nfimax)
1028 CHARACTER*8 projty,targty
1031 COMMON /user1/
title,projty,targty
1032 COMMON /user2/cmener,sdfrac,ptlar,istruf,isingd,idubld
1034 COMMON /dprin/ ipri,ipev,ippa,ipco,
init,iphkk,itopd,ipaupr
1038 COMMON /jspart/pxp(1000),
pyp(1000),pzp(1000),hepp(1000),nnnp
1039 COMMON /jspar/pxj(1000),pyj(1000),pzj(1000),hej(1000),nnnpj
1043 dimension ppr(4),pta(4)
1045 COMMON /xseadi/ xseacu,unon,unom,unosea,cvq,cdq,csea,ssmima,
1047 dimension ppp1(4),ppp2(4),ppp3(4),ppp4(4)
1053 WRITE(6,
'(4E12.4)') gam,bgx,bgy,bgz,ppr
1054 WRITE(6,1000) nhad,amch,pta, ifb1,ifb2,ifb3,ifb4,i1,i2,nobam,
1056 1000
FORMAT(10
x,i10,5f10.3/10
x,9i10)
1058 IF(abs(nnch).EQ.99)
THEN
1070 xdiq=ppr(4)*2.d0/cmener
1071 xqua=pta(4)*2.d0/cmener
1087 CALL
xseapa(cmener,xqua/2.d0,isq,isaq,xsq,xsaq,irej)
1088 IF(xsaq.GE.xqua/2.d0)go to 1234
1096 WRITE(6,*)
' HADJSE 3465 reject IVTHR 50'
1100 xvthr=xvthro/(51-ivthr)
1103 IF(xvthr.GT.0.05)
THEN
1104 IF(xvthr.GT.0.66d0*xdiq)
THEN
1108 xpvqi=
betrej(0.5,unoprv,xvthr,0.66d0*xdiq)
1118 IF ((xpvqi.LT.xvthr).OR.(xpvqi.GT.0.66d0*xdiq))
1134 ppp1(i)=ppr(i)*(xdiq-xpvqi)/xdiq
1136 ppp3(i)=ppr(i)*(xpvqi)/xdiq
1137 ppp2(i)=pta(i)*xsaq/xqua
1138 ppp4(i)=pta(i)*(xqua-xsaq)/xqua
1140 2346
FORMAT(
a,4e12.4)
1149 amchor=
sqrt((ppr(4)+pta(4))**2-(ppr(3)+pta(3))**2
1150 * -(ppr(2)+pta(2))**2-(ppr(1)+pta(1))**2)
1151 amchn1=
sqrt((ppp1(4)+ppp2(4))**2-(ppp1(3)+ppp2(3))**2
1152 * -(ppp1(2)+ppp2(2))**2-(ppp1(1)+ppp2(1))**2)
1155 IF(ifb1.GE.3.OR.isaq.GE.9)chamal=1.5d0
1156 IF(amchn1.LE.chamal)
THEN
1161 amchn2=
sqrt((ppp3(4)+ppp4(4))**2-(ppp3(3)+ppp4(3))**2
1162 * -(ppp3(2)+ppp4(2))**2-(ppp3(1)+ppp4(1))**2)
1165 IF(ifb2.GE.3.OR.ifb3.GE.3.OR.isq.GE.3)chamal=2.5d0
1166 IF(amchn2.LE.chamal)
THEN
1171 pxchk=ppr(1)+pta(1)-ppp1(1)-ppp2(1)-ppp3(1)-ppp4(1)
1172 pychk=ppr(2)+pta(2)-ppp1(2)-ppp2(2)-ppp3(2)-ppp4(2)
1173 pzchk=ppr(3)+pta(3)-ppp1(3)-ppp2(3)-ppp3(3)-ppp4(3)
1174 pechk=ppr(4)+pta(4)-ppp1(4)-ppp2(4)-ppp3(4)-ppp4(4)
1176 WRITE(6,
'(A/8E12.4,I5)')
1177 *
' Chain masses AMCH,AMCHOR,AMCHN1,AMCHN2,PZCHK,PECHK,
1178 * PXCHK,PYCHK,NOBAM ',
1179 * amch,amchor,amchn1,amchn2,pzchk,pechk,pxchk,pychk,nobam
1182 gamor=(ppr(4)+pta(4))/amch
1183 bgxor=(ppr(1)+pta(1))/amch
1184 bgyor=(ppr(2)+pta(2))/amch
1185 bgzor=(ppr(3)+pta(3))/amch
1186 gamch1=(ppp1(4)+ppp2(4))/amchn1
1187 bgxch1=(ppp1(1)+ppp2(1))/amchn1
1188 bgych1=(ppp1(2)+ppp2(2))/amchn1
1189 bgzch1=(ppp1(3)+ppp2(3))/amchn1
1190 gamch2=(ppp3(4)+ppp4(4))/amchn2
1191 bgxch2=(ppp3(1)+ppp4(1))/amchn2
1192 bgych2=(ppp3(2)+ppp4(2))/amchn2
1193 bgzch2=(ppp3(3)+ppp4(3))/amchn2
1195 WRITE(6,2346)
' L.Parm in ',gam,bgx,bgy,bgz
1196 WRITE(6,2346)
' L.Parm OR ',gamor,bgxor,bgyor,bgzor
1197 WRITE(6,2346)
' L.Parm C1 ',gamch1,bgxch1,bgych1,bgzch1
1198 WRITE(6,2346)
' L.Parm C2 ',gamch2,bgxch2,bgych2,bgzch2
1207 WRITE(6,
'(A,6E12.4)')
' PEOR,PECH1,PECH2,PZOR,PZCH1,PZCH2',
1208 * peor,pech1,pech2,pzor,pzch1,pzch2
1213 CALL
hadjet(nhad1,amchn1,ppp1,ppp2,gamch1,bgxch1,bgych1,
1214 * bgzch1, ifb1,isaq,ifb3,ifb4,i1,i2,noba1,nnch,norig)
1235 CALL
hadjet(nhad2,amchn2,ppp3,ppp4,gamch2,bgxch2,bgych2,
1236 * bgzch2, ifb2,isq,ifb3,ifb4,i1,i2,noba2,nnch,norig)
1242 DO 2349 i=nhad2+1,nhad
1262 xdiq=pta(4)*2.d0/cmener
1263 xqua=ppr(4)*2.d0/cmener
1279 CALL
xseapa(cmener,xqua/2.d0,isq,isaq,xsq,xsaq,irej)
1280 IF(xsaq.GE.xqua/2.d0)go to 2234
1282 WRITE(6,
'(A,2E12.4)')
' HADJCK:XSQ,XSAQ ',xsq,xsaq
1290 WRITE(6,*)
' HADJSE 3466 reject IVTHR 50'
1294 xvthr=xvthro/(51-ivthr)
1297 IF(xvthr.GT.0.05)
THEN
1298 IF(xvthr.GT.0.66d0*xdiq)
THEN
1302 xtvqi=
betrej(0.5,unoprv,xvthr,0.66d0*xdiq)
1312 IF ((xtvqi.LT.xvthr).OR.(xtvqi.GT.0.66d0*xdiq))
1317 WRITE(6,
'(A,2E12.4)')
' HADJCK:XDIQQ,XTVQI ',xdiqq,xtvqi
1329 ppp1(i)=pta(i)*(xdiq-xtvqi)/xdiq
1331 ppp3(i)=pta(i)*(xtvqi)/xdiq
1332 ppp2(i)=ppr(i)*xsaq/xqua
1333 ppp4(i)=ppr(i)*(xqua-xsaq)/xqua
1335 3346
FORMAT(
a,4e12.4)
1337 WRITE(6,3346)
' PPR ',ppr
1338 WRITE(6,3346)
' PPP1 ',ppp1
1339 WRITE(6,3346)
' PPP3 ',ppp3
1340 WRITE(6,3346)
' PTA ',pta
1341 WRITE(6,3346)
' PPP2 ',ppp2
1342 WRITE(6,3346)
' PPP4 ',ppp4
1346 amchor=
sqrt((ppr(4)+pta(4))**2-(ppr(3)+pta(3))**2
1347 * -(ppr(2)+pta(2))**2-(ppr(1)+pta(1))**2)
1348 amchn1=
sqrt((ppp1(4)+ppp2(4))**2-(ppp1(3)+ppp2(3))**2
1349 * -(ppp1(2)+ppp2(2))**2-(ppp1(1)+ppp2(1))**2)
1352 IF(ifb3.GE.3.OR.isaq.GE.9)chamal=1.5d0
1353 IF(amchn1.LE.chamal)
THEN
1358 amchn2=
sqrt((ppp3(4)+ppp4(4))**2-(ppp3(3)+ppp4(3))**2
1359 * -(ppp3(2)+ppp4(2))**2-(ppp3(1)+ppp4(1))**2)
1362 IF(ifb2.GE.3.OR.ifb1.GE.3.OR.isq.GE.3)chamal=2.5d0
1363 IF(amchn2.LE.chamal)
THEN
1368 pxchk=ppr(1)+pta(1)-ppp1(1)-ppp2(1)-ppp3(1)-ppp4(1)
1369 pychk=ppr(2)+pta(2)-ppp1(2)-ppp2(2)-ppp3(2)-ppp4(2)
1370 pzchk=ppr(3)+pta(3)-ppp1(3)-ppp2(3)-ppp3(3)-ppp4(3)
1371 pechk=ppr(4)+pta(4)-ppp1(4)-ppp2(4)-ppp3(4)-ppp4(4)
1373 WRITE(6,
'(A/8E12.4,I5)')
1374 *
' Chain masses AMCH,AMCHOR,AMCHN1,AMCHN2,PZCHK,PECHK,
1375 * PXCHK,PYCHK,NOBAM ',
1376 * amch,amchor,amchn1,amchn2,pzchk,pechk,pxchk,pychk,nobam
1379 gamor=(ppr(4)+pta(4))/amch
1380 bgxor=(ppr(1)+pta(1))/amch
1381 bgyor=(ppr(2)+pta(2))/amch
1382 bgzor=(ppr(3)+pta(3))/amch
1383 gamch1=(ppp1(4)+ppp2(4))/amchn1
1384 bgxch1=(ppp1(1)+ppp2(1))/amchn1
1385 bgych1=(ppp1(2)+ppp2(2))/amchn1
1386 bgzch1=(ppp1(3)+ppp2(3))/amchn1
1387 gamch2=(ppp3(4)+ppp4(4))/amchn2
1388 bgxch2=(ppp3(1)+ppp4(1))/amchn2
1389 bgych2=(ppp3(2)+ppp4(2))/amchn2
1390 bgzch2=(ppp3(3)+ppp4(3))/amchn2
1392 WRITE(6,3346)
' L.Parm in ',gam,bgx,bgy,bgz
1393 WRITE(6,3346)
' L.Parm OR ',gamor,bgxor,bgyor,bgzor
1394 WRITE(6,3346)
' L.Parm C1 ',gamch1,bgxch1,bgych1,bgzch1
1395 WRITE(6,3346)
' L.Parm C2 ',gamch2,bgxch2,bgych2,bgzch2
1404 WRITE(6,
'(A,6E12.4)')
' PEOR,PECH1,PECH2,PZOR,PZCH1,PZCH2',
1405 * peor,pech1,pech2,pzor,pzch1,pzch2
1410 CALL
hadjet(nhad1,amchn1,ppp2,ppp1,gamch1,bgxch1,bgych1,
1411 * bgzch1, isaq,ifb3,ifb1,ifb4,i1,i2,noba1,nnch,norig)
1432 CALL
hadjet(nhad2,amchn2,ppp4,ppp3,gamch2,bgxch2,bgych2,
1433 * bgzch2, ifb1,isq,ifb2,ifb4,i1,i2,noba2,nnch,norig)
1439 DO 3349 i=nhad2+1,nhad
1456 IF(ibarf(i).EQ.500)go to 4040
1458 WRITE(6,4050)i,pxf(i),pyf(i),pzf(i),hef(i),amf(i), ichf(i),
1459 + ibarf(i),nref(i),anf(i)
1460 4050
FORMAT(
' JET ',i5,5f12.4,3i5,a10)
1466 WRITE(6,
'(A,I5,2E12.4)')
'1IREJ,HEFT,HEFFF ',
1479 SUBROUTINE hadjse(NHAD,AMCH,PPR,PTA,GAM,BGX,BGY,BGZ, IFB1,IFB2,
1480 +ifb3,ifb4,i1,i2,nobam,nnch,norig,irej,iissqq)
1481 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
1540 CHARACTER*8 anf,anff
1541 parameter(nfimax=249)
1542 COMMON /dfinpa/ anf(nfimax),pxf(nfimax),pyf(nfimax),pzf(nfimax),
1543 +hef(nfimax),amf(nfimax), ichf(nfimax),ibarf(nfimax),nref(nfimax)
1544 COMMON /dfinpz/iormo(nfimax),idaug1(nfimax),idaug2(nfimax),
1546 dimension anff(nfimax),pxff(nfimax),pyff(nfimax),pzff(nfimax),
1547 +heff(nfimax),amff(nfimax),
1548 *ichff(nfimax),ibarff(nfimax),nreff(nfimax),iormoo(nfimax)
1550 CHARACTER*8 projty,targty
1553 COMMON /user1/
title,projty,targty
1554 COMMON /user2/cmener,sdfrac,ptlar,istruf,isingd,idubld
1556 COMMON /dprin/ ipri,ipev,ippa,ipco,
init,iphkk,itopd,ipaupr
1560 COMMON /jspart/pxp(1000),
pyp(1000),pzp(1000),hepp(1000),nnnp
1561 COMMON /jspar/pxj(1000),pyj(1000),pzj(1000),hej(1000),nnnpj
1565 dimension ppr(4),pta(4)
1567 COMMON /xseadi/ xseacu,unon,unom,unosea,cvq,cdq,csea,ssmima,
1569 COMMON /hdjase/nhse1,nhse2,nhse3,nhase1,nhase2,nhase3
1570 dimension ppp1(4),ppp2(4),ppp3(4),ppp4(4)
1575 IF(ipco.GE.0)
WRITE(6,*)
1576 *
' HADJSE(NHAD,AMCH,PPR,PTA,GAM,BGX,BGY,BGZ, IFB1,IFB2,',
1577 +
'IFB3,IFB4,I1,I2,NOBAM,NNCH,NORIG,IREJ),IPCO',
1578 *nhad,amch,ppr,pta,gam,bgx,bgy,bgz, ifb1,ifb2,
1579 +ifb3,ifb4,i1,i2,nobam,nnch,norig,irej,ipco
1582 WRITE(6,
'(A,3I5)')
' HADJSE Jet0 IFB1,IFB2,IFB3',ifb1,ifb2,ifb3
1583 WRITE(6,
'(4E12.4)') gam,bgx,bgy,bgz,ppr
1584 WRITE(6,1000) nhad,amch,pta, ifb1,ifb2,ifb3,ifb4,i1,i2,nobam,
1586 1000
FORMAT(10
x,i10,5f10.3/10
x,9i10)
1588 IF(abs(nnch).EQ.99)
THEN
1600 IF(ipco.GE.0)
WRITE(6,*)
' DIQUARK-QUARK NOBAM=6'
1604 IF(cmener.LT.1.
d-3)
THEN
1605 WRITE(6,*)
' CMENER=0. HADJSE',cmener
1608 xdiq=ppr(4)*2.d0/cmener
1609 xqua=pta(4)*2.d0/cmener
1611 WRITE(6,
'(A,2E12.4)')
' HADJSE:XDIQ,XQUA ',xdiq,xqua
1620 IF(ipco.GE.0)
WRITE(6,*)
' HADJSE reject icou 100'
1623 CALL
xseapa(cmener,xqua/2.d0,isq,isaq,xsq,xsaq,irej)
1626 IF(ipco.GE.0)
WRITE(6,*)
' HADJSE reject XSEAPA'
1629 IF(xsaq.GE.2.d0*xqua/3.d0)go to 1234
1631 WRITE(6,*)
' HADJSE,XSEAPA:XSQ,XSAQ,ISQ,ISAQ ',
1639 IF(ivthr.EQ.100)
THEN
1642 IF(ipco.GE.0)
WRITE(6,*)
' HADJSE 3465 reject IVTHR 50'
1646 xvthr=xvthro/(101-ivthr)
1649 IF(xvthr.GT.0.66d0*xdiq)
THEN
1650 IF(ipco.GE.0)
WRITE(6,*)
' HADJSE 80 reject XVTHR too great',
1656 xpvqi=
sampey(xvthr,0.66d0*xdiq)
1659 WRITE(6,
'(A,2E12.4)')
' HADJSE:XDIQQ,XPVQI ',xdiqq,xpvqi
1671 IF(xdiq.LE.1.
d-15.OR.xqua.LT.1.
d-15)
THEN
1674 IF(ipco.GE.0)
WRITE(6,*)
' HADJSE reject 2345 XDIQ,',
1675 *
'XQUA too small ',
1680 ppp1(i)=ppr(i)*(xdiq-xpvqi)/xdiq
1682 ppp3(i)=ppr(i)*(xpvqi)/xdiq
1683 ppp2(i)=pta(i)*xsaq/xqua
1684 ppp4(i)=pta(i)*(xqua-xsaq)/xqua
1686 2346
FORMAT(
a,5e12.4)
1688 WRITE(6,2346)
' PPR ',ppr
1689 WRITE(6,2346)
' PPP1 ',ppp1
1690 WRITE(6,2346)
' PPP3 ',ppp3
1691 WRITE(6,2346)
' PTA ',pta
1692 WRITE(6,2346)
' PPP2 XSAQ',ppp2,xsaq
1693 WRITE(6,2346)
' PPP4 ',ppp4
1697 amchor=
sqrt((ppr(4)+pta(4))**2-(ppr(3)+pta(3))**2
1698 * -(ppr(2)+pta(2))**2-(ppr(1)+pta(1))**2)
1699 amchn1=
sqrt((ppp1(4)+ppp2(4))**2-(ppp1(3)+ppp2(3))**2
1700 * -(ppp1(2)+ppp2(2))**2-(ppp1(1)+ppp2(1))**2)
1701 IF(amchor.LE.tiny)
THEN
1702 WRITE(6,2346)
' PPR ',ppr
1703 WRITE(6,2346)
' PPP1 ',ppp1
1704 WRITE(6,2346)
' PPP3 ',ppp3
1705 WRITE(6,2346)
' PTA ',pta
1706 WRITE(6,2346)
' PPP2 ',ppp2
1707 WRITE(6,2346)
' PPP4 ',ppp4
1709 IF(amchn1.LE.tiny)
THEN
1710 WRITE(6,2346)
' PPR ',ppr
1711 WRITE(6,2346)
' PPP1 ',ppp1
1712 WRITE(6,2346)
' PPP3 ',ppp3
1713 WRITE(6,2346)
' PTA ',pta
1714 WRITE(6,2346)
' PPP2 ',ppp2
1715 WRITE(6,2346)
' PPP4 ',ppp4
1719 IF(ifb1.GE.3.OR.isaq.GE.9)chamal=1.2d0
1720 IF(amchn1.LE.chamal)
THEN
1721 IF(ipco.GE.0)
WRITE (6,*).LE.
'HADJSE jump1AMCHN1CHAMAL AMCHOR',
1722 * amchn1,chamal,amchor
1725 amchn2=
sqrt((ppp3(4)+ppp4(4))**2-(ppp3(3)+ppp4(3))**2
1726 * -(ppp3(2)+ppp4(2))**2-(ppp3(1)+ppp4(1))**2)
1729 IF(ifb2.GE.3.OR.ifb3.GE.3.OR.isq.GE.3)chamal=2.0d0
1730 IF(amchn2.LE.chamal)
THEN
1733 IF(ipco.GE.0)
WRITE (6,*).LE.
'HADJSE jump AMCHN2CHAMAL ',
1737 pxchk=ppr(1)+pta(1)-ppp1(1)-ppp2(1)-ppp3(1)-ppp4(1)
1738 pychk=ppr(2)+pta(2)-ppp1(2)-ppp2(2)-ppp3(2)-ppp4(2)
1739 pzchk=ppr(3)+pta(3)-ppp1(3)-ppp2(3)-ppp3(3)-ppp4(3)
1740 pechk=ppr(4)+pta(4)-ppp1(4)-ppp2(4)-ppp3(4)-ppp4(4)
1742 WRITE(6,
'(A/8E12.4,I5)')
1743 *
' Chain masses AMCH,AMCHOR,AMCHN1,AMCHN2,PZCHK,PECHK,
1744 * PXCHK,PYCHK,NOBAM ',
1745 * amch,amchor,amchn1,amchn2,pzchk,pechk,pxchk,pychk,nobam
1748 IF(amch.LE.1.
d-15)
THEN
1751 IF(ipco.GE.0)
WRITE(6,*)
' HADJSE rejection AMCH too small ',
1755 gamor=(ppr(4)+pta(4))/amch
1756 bgxor=(ppr(1)+pta(1))/amch
1757 bgyor=(ppr(2)+pta(2))/amch
1758 bgzor=(ppr(3)+pta(3))/amch
1759 IF(amchn1.LE.1.
d-15)
THEN
1760 IF(ipco.GE.0)
WRITE(6,*)
' HADJSE rejection AMCHN1 too small ',
1766 gamch1=(ppp1(4)+ppp2(4))/amchn1
1767 bgxch1=(ppp1(1)+ppp2(1))/amchn1
1768 bgych1=(ppp1(2)+ppp2(2))/amchn1
1769 bgzch1=(ppp1(3)+ppp2(3))/amchn1
1770 IF(amchn2.LE.1.
d-15)
THEN
1771 IF(ipco.GE.0)
WRITE(6,*)
' HADJSE rejection AMCHN2 too small ',
1777 gamch2=(ppp3(4)+ppp4(4))/amchn2
1778 bgxch2=(ppp3(1)+ppp4(1))/amchn2
1779 bgych2=(ppp3(2)+ppp4(2))/amchn2
1780 bgzch2=(ppp3(3)+ppp4(3))/amchn2
1782 WRITE(6,2346)
' L.Parm in ',gam,bgx,bgy,bgz
1783 WRITE(6,2346)
' L.Parm OR ',gamor,bgxor,bgyor,bgzor
1784 WRITE(6,2346)
' L.Parm C1 ',gamch1,bgxch1,bgych1,bgzch1
1785 WRITE(6,2346)
' L.Parm C2 ',gamch2,bgxch2,bgych2,bgzch2
1794 WRITE(6,
'(A,6E12.4)')
' PEOR,PECH1,PECH2,PZOR,PZCH1,PZCH2',
1795 * peor,pech1,pech2,pzor,pzch1,pzch2
1802 CALL
hadjet(nhad1,amchn1,ppp1,ppp2,gamch1,bgxch1,bgych1,
1803 * bgzch1, ifb1,isaq,ifb3,ifb4,i1,i2,noba1,nnch,norig)
1828 WRITE(6,
'(A,3I5)')
' Jet2 IFB2,ISQ,IFB3 ',ifb2,isq,ifb3
1830 CALL
hadjet(nhad2,amchn2,ppp3,ppp4,gamch2,bgxch2,bgych2,
1831 * bgzch2, ifb2,isq,ifb3,ifb4,i1,i2,noba2,nnch,norig)
1841 DO 2448 i=nhad1+1,nhad1+nhad2
1853 IF(iormoo(i).NE.999)iormoo(i)=iormoo(i)+nhad1
1877 IF(ipco.GE.0)
WRITE(6,*)
' QUARK-DIQUARK NOBAM=4'
1881 IF(cmener.LT.1.
d-3)
THEN
1882 IF(ipco.GE.0)
WRITE(6,*)
' CMENER=0. HADJSE',cmener
1885 xdiq=pta(4)*2.d0/cmener
1886 xqua=ppr(4)*2.d0/cmener
1888 WRITE(6,
'(A,2E12.4)')
' HADJSE:XDIQ,XQUA ',xdiq,xqua
1898 IF(ipco.GE.0)
WRITE(6,*)
' HADJSE Rejection 2234 ICOU. GT.100'
1901 IF(ipco.GE.0)
WRITE(6,*)
' XSEAPA: CMENER,XQUA ',cmener,xqua
1902 CALL
xseapa(cmener,xqua/2.d0,isq,isaq,xsq,xsaq,irej)
1905 IF(ipco.GE.0)
WRITE(6,*)
' HADJSE reject XSEAPA'
1908 IF(xsaq.GE.2.d0*xqua/3.d0)go to 2234
1910 WRITE(6,
'(A,2E12.4)')
' HADJSE:XSQ,XSAQ ',xsq,xsaq
1917 IF(ivthr.EQ.100)
THEN
1920 IF(ipco.GE.0)
WRITE(6,*)
' HADJSE 3466 reject IVTHR 50'
1924 xvthr=xvthro/(101-ivthr)
1927 IF(xvthr.GT.0.66d0*xdiq)
THEN
1930 IF(ipco.GE.0)
WRITE(6,*)
' HADJSE Rejection 380 XVTHR large ',
1934 xtvqi=
sampey(xvthr,0.66d0*xdiq)
1937 WRITE(6,
'(A,2E12.4)')
' HADJCK:XDIQQ,XTVQI ',xdiqq,xtvqi
1948 IF(xdiq.LE.1.
d-15.OR.xqua.LT.1.
d-15)
THEN
1951 IF(ipco.GE.0)
WRITE (6,*)
' HSDJSE Rejection 3345 XDIQ,XQUA ',
1956 ppp1(i)=pta(i)*(xdiq-xtvqi)/xdiq
1958 ppp3(i)=pta(i)*(xtvqi)/xdiq
1959 ppp2(i)=ppr(i)*xsaq/xqua
1960 ppp4(i)=ppr(i)*(xqua-xsaq)/xqua
1962 3346
FORMAT(
a,5e12.4)
1964 WRITE(6,3346)
' PPR ',ppr
1965 WRITE(6,3346)
' PPP1 ',ppp1
1966 WRITE(6,3346)
' PPP3 ',ppp3
1967 WRITE(6,3346)
' PTA ',pta
1968 WRITE(6,3346)
' PPP2 XSAQ',ppp2,xsaq
1969 WRITE(6,3346)
' PPP4 ',ppp4
1973 amchor=
sqrt((ppr(4)+pta(4))**2-(ppr(3)+pta(3))**2
1974 * -(ppr(2)+pta(2))**2-(ppr(1)+pta(1))**2)
1975 IF(ipco.GE.0)
WRITE(6,2346)
'AMCHOR ',amchor
1976 amchn1=
sqrt((ppp1(4)+ppp2(4))**2-(ppp1(3)+ppp2(3))**2
1977 * -(ppp1(2)+ppp2(2))**2-(ppp1(1)+ppp2(1))**2)
1978 IF(ipco.GE.0)
WRITE(6,2346)
'AMCHN1 ',amchn1
1980 IF(amchor.LE.tiny)
THEN
1981 IF(ipco.GE.0)
WRITE(6,2346)
' PPR ',ppr
1982 WRITE(6,2346)
' PPP1 ',ppp1
1983 WRITE(6,2346)
' PPP3 ',ppp3
1984 WRITE(6,2346)
' PTA ',pta
1985 WRITE(6,2346)
' PPP2 ',ppp2
1986 WRITE(6,2346)
' PPP4 ',ppp4
1987 WRITE(6,2346)
'AMCHOR ',amchor
1989 IF(amchn1.LE.tiny)
THEN
1990 WRITE(6,2346)
' PPR ',ppr
1991 WRITE(6,2346)
' PPP1 ',ppp1
1992 WRITE(6,2346)
' PPP3 ',ppp3
1993 WRITE(6,2346)
' PTA ',pta
1994 WRITE(6,2346)
' PPP2 ',ppp2
1995 WRITE(6,2346)
' PPP4 ',ppp4
1996 WRITE(6,2346)
'AMCHOR ',amchor
1999 IF(ifb3.GE.3.OR.isaq.GE.9)chamal=1.2d0
2000 IF(amchn1.LE.chamal)
THEN
2001 IF(ipco.GE.0)
WRITE(6 ,*).LE.
'HADJSE jump2AMCHN1CHAMAL AMCHOR',
2002 * amchn1,chamal,amchor
2005 amchn2=
sqrt((ppp3(4)+ppp4(4))**2-(ppp3(3)+ppp4(3))**2
2006 * -(ppp3(2)+ppp4(2))**2-(ppp3(1)+ppp4(1))**2)
2009 IF(ifb2.GE.3.OR.ifb1.GE.3.OR.isq.GE.3)chamal=2.0d0
2010 IF(amchn2.LE.chamal)
THEN
2013 IF(ipco.GE.0)
WRITE(6 ,*).LE.
' HADJSE jump AMCHN2CHAMAL',
2017 pxchk=ppr(1)+pta(1)-ppp1(1)-ppp2(1)-ppp3(1)-ppp4(1)
2018 pychk=ppr(2)+pta(2)-ppp1(2)-ppp2(2)-ppp3(2)-ppp4(2)
2019 pzchk=ppr(3)+pta(3)-ppp1(3)-ppp2(3)-ppp3(3)-ppp4(3)
2020 pechk=ppr(4)+pta(4)-ppp1(4)-ppp2(4)-ppp3(4)-ppp4(4)
2022 WRITE(6,
'(A/8E12.4,I5)')
2023 *
' Chain masses AMCH,AMCHOR,AMCHN1,AMCHN2,PZCHK,PECHK,
2024 * PXCHK,PYCHK,NOBAM ',
2025 * amch,amchor,amchn1,amchn2,pzchk,pechk,pxchk,pychk,nobam
2028 IF(amch.LE.1.
d-15)
THEN
2031 IF(ipco.GE.0)
WRITE(6,*)
' HSDJSE Rejection AMCH too small',amch
2034 gamor=(ppr(4)+pta(4))/amch
2035 bgxor=(ppr(1)+pta(1))/amch
2036 bgyor=(ppr(2)+pta(2))/amch
2037 bgzor=(ppr(3)+pta(3))/amch
2038 IF(amchn1.LE.1.
d-15)
THEN
2039 IF(ipco.GE.0)
WRITE(6,*)
' HSDJSE Rejection AMCHN1 too small',
2045 gamch1=(ppp1(4)+ppp2(4))/amchn1
2046 bgxch1=(ppp1(1)+ppp2(1))/amchn1
2047 bgych1=(ppp1(2)+ppp2(2))/amchn1
2048 bgzch1=(ppp1(3)+ppp2(3))/amchn1
2049 IF(amchn2.LE.1.
d-15)
THEN
2052 IF(ipco.GE.0)
WRITE(6,*)
' HSDJSE Rejection AMCHN2 too small',
2056 gamch2=(ppp3(4)+ppp4(4))/amchn2
2057 bgxch2=(ppp3(1)+ppp4(1))/amchn2
2058 bgych2=(ppp3(2)+ppp4(2))/amchn2
2059 bgzch2=(ppp3(3)+ppp4(3))/amchn2
2061 WRITE(6,3346)
' L.Parm in ',gam,bgx,bgy,bgz
2062 WRITE(6,3346)
' L.Parm OR ',gamor,bgxor,bgyor,bgzor
2063 WRITE(6,3346)
' L.Parm C1 ',gamch1,bgxch1,bgych1,bgzch1
2064 WRITE(6,3346)
' L.Parm C2 ',gamch2,bgxch2,bgych2,bgzch2
2073 WRITE(6,
'(A,6E12.4)')
' PEOR,PECH1,PECH2,PZOR,PZCH1,PZCH2',
2074 * peor,pech1,pech2,pzor,pzch1,pzch2
2079 WRITE(6,
'(A,2I5)')
' Jet1 ISAQ,IFB3 ',isaq,ifb3
2081 CALL
hadjet(nhad1,amchn1,ppp2,ppp1,gamch1,bgxch1,bgych1,
2082 * bgzch1, isaq,ifb3,ifb1,ifb4,i1,i2,noba1,nnch,norig)
2104 WRITE(6,
'(A,3I5)')
' Jet2 IFB1,ISQ,IFB2 ',ifb1,isq,ifb2
2106 CALL
hadjet(nhad2,amchn2,ppp4,ppp3,gamch2,bgxch2,bgych2,
2107 * bgzch2, ifb1,isq,ifb2,ifb4,i1,i2,noba2,nnch,norig)
2114 DO 3448 i=nhad1+1,nhad1+nhad2
2126 IF(iormoo(i).NE.999)iormoo(i)=iormoo(i)+nhad1
2147 IF(ibarf(i).EQ.500)go to 4040
2149 WRITE(6,4050)i,pxf(i),pyf(i),pzf(i),hef(i),amf(i), ichf(i),
2150 + ibarf(i),nref(i),anf(i)
2151 4050
FORMAT(
' JET ',i5,5f12.4,3i5,a10)
2157 WRITE(6,
'(A,I5,2E12.4)')
' HADJSE 2IREJ,HEFT,HEFFF ',
2164 IF(isq.EQ.1)nhse1=nhse1+1
2165 IF(isq.EQ.2)nhse2=nhse2+1
2166 IF(isq.EQ.3)nhse3=nhse3+1
2176 SUBROUTINE hadjase(NHAD,AMCH,PPR,PTA,GAM,BGX,BGY,BGZ, IFB1,IFB2,
2177 +ifb3,ifb4,i1,i2,nobam,nnch,norig,irej,iissqq)
2178 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
2238 CHARACTER*8 anf,anff
2239 parameter(nfimax=249)
2240 COMMON /dfinpa/ anf(nfimax),pxf(nfimax),pyf(nfimax),pzf(nfimax),
2241 +hef(nfimax),amf(nfimax), ichf(nfimax),ibarf(nfimax),nref(nfimax)
2242 COMMON /dfinpz/iormo(nfimax),idaug1(nfimax),idaug2(nfimax),
2244 dimension anff(nfimax),pxff(nfimax),pyff(nfimax),pzff(nfimax),
2245 +heff(nfimax),amff(nfimax),
2246 *ichff(nfimax),ibarff(nfimax),nreff(nfimax),iormoo(nfimax)
2248 CHARACTER*8 projty,targty
2251 COMMON /user1/
title,projty,targty
2252 COMMON /user2/cmener,sdfrac,ptlar,istruf,isingd,idubld
2254 COMMON /dprin/ ipri,ipev,ippa,ipco,
init,iphkk,itopd,ipaupr
2258 COMMON /jspart/pxp(1000),
pyp(1000),pzp(1000),hepp(1000),nnnp
2259 COMMON /jspar/pxj(1000),pyj(1000),pzj(1000),hej(1000),nnnpj
2263 dimension ppr(4),pta(4)
2265 COMMON /xseadi/ xseacu,unon,unom,unosea,cvq,cdq,csea,ssmima,
2267 COMMON /hdjase/nhse1,nhse2,nhse3,nhase1,nhase2,nhase3
2268 dimension ppp1(4),ppp2(4),ppp3(4),ppp4(4)
2273 IF(ipco.GE.0)
WRITE(6,*)
2274 *
' HADJASE(NHAD,AMCH,PPR,PTA,GAM,BGX,BGY,BGZ, IFB1,IFB2,',
2275 +
'IFB3,IFB4,I1,I2,NOBAM,NNCH,NORIG,IREJ),IPCO',
2276 *nhad,amch,ppr,pta,gam,bgx,bgy,bgz, ifb1,ifb2,
2277 +ifb3,ifb4,i1,i2,nobam,nnch,norig,irej,ipco
2280 WRITE(6,
'(A,3I5)')
' HADJASE Jet0 IFB1,IFB2,IFB3',ifb1,ifb2,ifb3
2281 WRITE(6,
'(4E12.4)') gam,bgx,bgy,bgz,ppr
2282 WRITE(6,1000) nhad,amch,pta, ifb1,ifb2,ifb3,ifb4,i1,i2,nobam,
2284 1000
FORMAT(10
x,i10,5f10.3/10
x,9i10)
2286 IF(abs(nnch).EQ.99)
THEN
2298 IF(ipco.GE.0)
WRITE(6,*)
' DIQUARK-QUARK NOBAM=6'
2302 IF(cmener.LT.1.
d-3)
THEN
2303 WRITE(6,*)
' CMENER=0. HADJASE',cmener
2306 xdiq=ppr(4)*2.d0/cmener
2307 xqua=pta(4)*2.d0/cmener
2309 WRITE(6,
'(A,2E12.4)')
' HADJASE:XDIQ,XQUA ',xdiq,xqua
2318 IF(ipco.GE.0)
WRITE(6,*)
' HADJASE reject icou 100'
2321 CALL
xseapa(cmener,xqua/2.d0,isq,isaq,xsq,xsaq,irej)
2324 IF(ipco.GE.0)
WRITE(6,*)
' HADJASE reject XSEAPA'
2327 IF(xsaq.GE.2.d0*xqua/3.d0)go to 1234
2329 WRITE(6,*)
' HADJASE,XSEAPA:XSQ,XSAQ,ISQ,ISAQ ',
2337 IF(ivthr.EQ.200)
THEN
2340 IF(ipco.GE.0)
WRITE(6,*)
' HADJASE 3465 reject IVTHR 50'
2344 xvthr=xvthro/(201-ivthr)
2347 IF(xvthr.GT.0.66d0*xdiq)
THEN
2348 IF(ipco.GE.0)
WRITE(6,*)
' HADJASE 80 reject XVTHR too great',
2354 xpvqi=
sampey(xvthr,0.66d0*xdiq)
2357 WRITE(6,
'(A,2E12.4)')
' HADJASE:XDIQQ,XPVQI ',xdiqq,xpvqi
2367 IF(xdiq.LE.1.
d-15.OR.xqua.LT.1.
d-15)
THEN
2370 IF(ipco.GE.0)
WRITE(6,*)
' HADJASE reject 2345 XDIQ,',
2371 *
'XQUA too small ',
2375 ppp1(i)=ppr(i)*(xdiq-xpvqi)/xdiq
2376 ppp3(i)=ppr(i)*(xpvqi)/xdiq
2377 ppp2(i)=pta(i)*xsaq/xqua
2378 ppp4(i)=pta(i)*(xqua-xsaq)/xqua
2380 2346
FORMAT(
a,5e12.4)
2382 WRITE(6,2346)
' PPR ',ppr
2383 WRITE(6,2346)
' PPP1 ',ppp1
2384 WRITE(6,2346)
' PPP3 ',ppp3
2385 WRITE(6,2346)
' PTA ',pta
2386 WRITE(6,2346)
' PPP2 XSAQ',ppp2,xsaq
2387 WRITE(6,2346)
' PPP4 ',ppp4
2391 amchor=
sqrt((ppr(4)+pta(4))**2-(ppr(3)+pta(3))**2
2392 * -(ppr(2)+pta(2))**2-(ppr(1)+pta(1))**2)
2393 amchn1=
sqrt((ppp1(4)+ppp2(4))**2-(ppp1(3)+ppp2(3))**2
2394 * -(ppp1(2)+ppp2(2))**2-(ppp1(1)+ppp2(1))**2)
2395 IF(amchor.LE.tiny)
THEN
2396 WRITE(6,2346)
' PPR ',ppr
2397 WRITE(6,2346)
' PPP1 ',ppp1
2398 WRITE(6,2346)
' PPP3 ',ppp3
2399 WRITE(6,2346)
' PTA ',pta
2400 WRITE(6,2346)
' PPP2 ',ppp2
2401 WRITE(6,2346)
' PPP4 ',ppp4
2403 IF(amchn1.LE.tiny)
THEN
2404 WRITE(6,2346)
' PPR ',ppr
2405 WRITE(6,2346)
' PPP1 ',ppp1
2406 WRITE(6,2346)
' PPP3 ',ppp3
2407 WRITE(6,2346)
' PTA ',pta
2408 WRITE(6,2346)
' PPP2 ',ppp2
2409 WRITE(6,2346)
' PPP4 ',ppp4
2413 IF(ifb1.GE.9.OR.isq.GE.3)chamal=1.1d0
2414 IF(amchn1.LE.chamal)
THEN
2415 IF(ipco.GE.0)
WRITE (6,*).LE.
'HADJASE jump1AMCHN1CHAMAL AMCHOR'
2416 * ,amchn1,chamal,amchor
2419 amchn2=
sqrt((ppp3(4)+ppp4(4))**2-(ppp3(3)+ppp4(3))**2
2420 * -(ppp3(2)+ppp4(2))**2-(ppp3(1)+ppp4(1))**2)
2423 IF(ifb2.GE.9.OR.ifb3.GE.9.OR.isaq.GE.9)chamal=1.80d0
2424 IF(amchn2.LE.chamal)
THEN
2427 IF(ipco.GE.0)
WRITE (6,*).LE.
'HADJASE jump AMCHN2CHAMAL ',
2431 pxchk=ppr(1)+pta(1)-ppp1(1)-ppp2(1)-ppp3(1)-ppp4(1)
2432 pychk=ppr(2)+pta(2)-ppp1(2)-ppp2(2)-ppp3(2)-ppp4(2)
2433 pzchk=ppr(3)+pta(3)-ppp1(3)-ppp2(3)-ppp3(3)-ppp4(3)
2434 pechk=ppr(4)+pta(4)-ppp1(4)-ppp2(4)-ppp3(4)-ppp4(4)
2436 WRITE(6,
'(A/8E12.4,I5)')
2437 *
' Chain masses AMCH,AMCHOR,AMCHN1,AMCHN2,PZCHK,PECHK,
2438 * PXCHK,PYCHK,NOBAM ',
2439 * amch,amchor,amchn1,amchn2,pzchk,pechk,pxchk,pychk,nobam
2442 IF(amch.LE.1.
d-15)
THEN
2445 IF(ipco.GE.0)
WRITE(6,*)
' HADJASE rejection AMCH too small ',
2449 gamor=(ppr(4)+pta(4))/amch
2450 bgxor=(ppr(1)+pta(1))/amch
2451 bgyor=(ppr(2)+pta(2))/amch
2452 bgzor=(ppr(3)+pta(3))/amch
2453 IF(amchn1.LE.1.
d-15)
THEN
2454 IF(ipco.GE.0)
WRITE(6,*)
' HADJASE rejection AMCHN1 too small ',
2460 gamch1=(ppp1(4)+ppp2(4))/amchn1
2461 bgxch1=(ppp1(1)+ppp2(1))/amchn1
2462 bgych1=(ppp1(2)+ppp2(2))/amchn1
2463 bgzch1=(ppp1(3)+ppp2(3))/amchn1
2464 IF(amchn2.LE.1.
d-15)
THEN
2465 IF(ipco.GE.0)
WRITE(6,*)
' HADJASE rejection AMCHN2 too small ',
2471 gamch2=(ppp3(4)+ppp4(4))/amchn2
2472 bgxch2=(ppp3(1)+ppp4(1))/amchn2
2473 bgych2=(ppp3(2)+ppp4(2))/amchn2
2474 bgzch2=(ppp3(3)+ppp4(3))/amchn2
2476 WRITE(6,2346)
' L.Parm in ',gam,bgx,bgy,bgz
2477 WRITE(6,2346)
' L.Parm OR ',gamor,bgxor,bgyor,bgzor
2478 WRITE(6,2346)
' L.Parm C1 ',gamch1,bgxch1,bgych1,bgzch1
2479 WRITE(6,2346)
' L.Parm C2 ',gamch2,bgxch2,bgych2,bgzch2
2488 WRITE(6,
'(A,6E12.4)')
' PEOR,PECH1,PECH2,PZOR,PZCH1,PZCH2',
2489 * peor,pech1,pech2,pzor,pzch1,pzch2
2496 CALL
hadjet(nhad1,amchn1,ppp1,ppp2,gamch1,bgxch1,bgych1,
2497 * bgzch1, ifb1,isq,ifb3,ifb4,i1,i2,noba1,nnch,norig)
2522 WRITE(6,
'(A,3I5)')
' Jet2 IFB2,ISAQ,IFB3 ',ifb2,isaq,ifb3
2524 CALL
hadjet(nhad2,amchn2,ppp3,ppp4,gamch2,bgxch2,bgych2,
2525 * bgzch2, ifb2,isaq,ifb3,ifb4,i1,i2,noba2,nnch,norig)
2535 DO 2448 i=nhad1+1,nhad1+nhad2
2547 IF(iormoo(i).NE.999)iormoo(i)=iormoo(i)+nhad1
2571 IF(ipco.GE.0)
WRITE(6,*)
' AQUARK-ADIQUARK NOBAM=4'
2575 IF(cmener.LT.1.
d-3)
THEN
2576 IF(ipco.GE.0)
WRITE(6,*)
' CMENER=0. HADJASE',cmener
2579 xdiq=pta(4)*2.d0/cmener
2580 xqua=ppr(4)*2.d0/cmener
2582 WRITE(6,
'(A,2E12.4)')
' HADJASE:XDIQ,XQUA ',xdiq,xqua
2592 IF(ipco.GE.0)
WRITE(6,*)
' HADJASE Rejection 2234 ICOU. GT.100'
2595 IF(ipco.GE.0)
WRITE(6,*)
' XSEAPA: CMENER,XQUA ',cmener,xqua
2596 CALL
xseapa(cmener,xqua/2.d0,isq,isaq,xsq,xsaq,irej)
2599 IF(ipco.GE.0)
WRITE(6,*)
' HADJASE reject XSEAPA'
2602 IF(xsaq.GE.2.d0*xqua/3.d0)go to 2234
2604 WRITE(6,
'(A,2E12.4)')
' HADJASE:XSQ,XSAQ ',xsq,xsaq
2611 IF(ivthr.EQ.200)
THEN
2614 IF(ipco.GE.0)
WRITE(6,*)
' HADJASE 3466 reject IVTHR 50'
2618 xvthr=xvthro/(201-ivthr)
2621 IF(xvthr.GT.0.66d0*xdiq)
THEN
2624 IF(ipco.GE.0)
WRITE(6,*)
' HADJASE Rejection 380 XVTHR large ',
2628 xtvqi=
sampey(xvthr,0.66d0*xdiq)
2631 WRITE(6,
'(A,2E12.4)')
' HADJCK:XDIQQ,XTVQI ',xdiqq,xtvqi
2640 IF(xdiq.LE.1.
d-15.OR.xqua.LT.1.
d-15)
THEN
2643 IF(ipco.GE.0)
WRITE (6,*)
' HSDJSE Rejection 3345 XDIQ,XQUA ',
2647 ppp1(i)=pta(i)*(xdiq-xtvqi)/xdiq
2648 ppp3(i)=pta(i)*(xtvqi)/xdiq
2649 ppp2(i)=ppr(i)*xsaq/xqua
2650 ppp4(i)=ppr(i)*(xqua-xsaq)/xqua
2652 3346
FORMAT(
a,5e12.4)
2654 WRITE(6,3346)
' PPR ',ppr
2655 WRITE(6,3346)
' PPP1 ',ppp1
2656 WRITE(6,3346)
' PPP3 ',ppp3
2657 WRITE(6,3346)
' PTA ',pta
2658 WRITE(6,3346)
' PPP2 XSAQ',ppp2,xsaq
2659 WRITE(6,3346)
' PPP4 ',ppp4
2663 amchor=
sqrt((ppr(4)+pta(4))**2-(ppr(3)+pta(3))**2
2664 * -(ppr(2)+pta(2))**2-(ppr(1)+pta(1))**2)
2665 IF(ipco.GE.0)
WRITE(6,2346)
'AMCHOR ',amchor
2666 amchn1=
sqrt((ppp1(4)+ppp2(4))**2-(ppp1(3)+ppp2(3))**2
2667 * -(ppp1(2)+ppp2(2))**2-(ppp1(1)+ppp2(1))**2)
2668 IF(ipco.GE.0)
WRITE(6,2346)
'AMCHN1 ',amchn1
2670 IF(amchor.LE.tiny)
THEN
2671 IF(ipco.GE.0)
WRITE(6,2346)
' PPR ',ppr
2672 WRITE(6,2346)
' PPP1 ',ppp1
2673 WRITE(6,2346)
' PPP3 ',ppp3
2674 WRITE(6,2346)
' PTA ',pta
2675 WRITE(6,2346)
' PPP2 ',ppp2
2676 WRITE(6,2346)
' PPP4 ',ppp4
2677 WRITE(6,2346)
'AMCHOR ',amchor
2679 IF(amchn1.LE.tiny)
THEN
2680 WRITE(6,2346)
' PPR ',ppr
2681 WRITE(6,2346)
' PPP1 ',ppp1
2682 WRITE(6,2346)
' PPP3 ',ppp3
2683 WRITE(6,2346)
' PTA ',pta
2684 WRITE(6,2346)
' PPP2 ',ppp2
2685 WRITE(6,2346)
' PPP4 ',ppp4
2686 WRITE(6,2346)
'AMCHOR ',amchor
2689 IF(ifb3.GE.9.OR.isq.GE.3)chamal=1.2d0
2690 IF(amchn1.LE.chamal)
THEN
2691 IF(ipco.GE.0)
WRITE(6 ,*).LE.
'HADJASE jump2AMCHN1CHAMAL AMCHOR'
2692 * ,amchn1,chamal,amchor
2695 amchn2=
sqrt((ppp3(4)+ppp4(4))**2-(ppp3(3)+ppp4(3))**2
2696 * -(ppp3(2)+ppp4(2))**2-(ppp3(1)+ppp4(1))**2)
2699 IF(ifb2.GE.9.OR.ifb1.GE.9.OR.isaq.GE.9)chamal=1.8d0
2700 IF(amchn2.LE.chamal)
THEN
2703 IF(ipco.GE.0)
WRITE(6 ,*).LE.
' HADJASE jump AMCHN2CHAMAL',
2707 pxchk=ppr(1)+pta(1)-ppp1(1)-ppp2(1)-ppp3(1)-ppp4(1)
2708 pychk=ppr(2)+pta(2)-ppp1(2)-ppp2(2)-ppp3(2)-ppp4(2)
2709 pzchk=ppr(3)+pta(3)-ppp1(3)-ppp2(3)-ppp3(3)-ppp4(3)
2710 pechk=ppr(4)+pta(4)-ppp1(4)-ppp2(4)-ppp3(4)-ppp4(4)
2712 WRITE(6,
'(A/8E12.4,I5)')
2713 *
' Chain masses AMCH,AMCHOR,AMCHN1,AMCHN2,PZCHK,PECHK,
2714 * PXCHK,PYCHK,NOBAM ',
2715 * amch,amchor,amchn1,amchn2,pzchk,pechk,pxchk,pychk,nobam
2718 IF(amch.LE.1.
d-15)
THEN
2721 IF(ipco.GE.0)
WRITE(6,*)
' HSDJSE Rejection AMCH too small',amch
2724 gamor=(ppr(4)+pta(4))/amch
2725 bgxor=(ppr(1)+pta(1))/amch
2726 bgyor=(ppr(2)+pta(2))/amch
2727 bgzor=(ppr(3)+pta(3))/amch
2728 IF(amchn1.LE.1.
d-15)
THEN
2729 IF(ipco.GE.0)
WRITE(6,*)
' HSDJSE Rejection AMCHN1 too small',
2735 gamch1=(ppp1(4)+ppp2(4))/amchn1
2736 bgxch1=(ppp1(1)+ppp2(1))/amchn1
2737 bgych1=(ppp1(2)+ppp2(2))/amchn1
2738 bgzch1=(ppp1(3)+ppp2(3))/amchn1
2739 IF(amchn2.LE.1.
d-15)
THEN
2742 IF(ipco.GE.0)
WRITE(6,*)
' HSDJSE Rejection AMCHN2 too small',
2746 gamch2=(ppp3(4)+ppp4(4))/amchn2
2747 bgxch2=(ppp3(1)+ppp4(1))/amchn2
2748 bgych2=(ppp3(2)+ppp4(2))/amchn2
2749 bgzch2=(ppp3(3)+ppp4(3))/amchn2
2751 WRITE(6,3346)
' L.Parm in ',gam,bgx,bgy,bgz
2752 WRITE(6,3346)
' L.Parm OR ',gamor,bgxor,bgyor,bgzor
2753 WRITE(6,3346)
' L.Parm C1 ',gamch1,bgxch1,bgych1,bgzch1
2754 WRITE(6,3346)
' L.Parm C2 ',gamch2,bgxch2,bgych2,bgzch2
2763 WRITE(6,
'(A,6E12.4)')
' PEOR,PECH1,PECH2,PZOR,PZCH1,PZCH2',
2764 * peor,pech1,pech2,pzor,pzch1,pzch2
2769 WRITE(6,
'(A,2I5)')
' Jet1 ISQ,IFB3 ',isq,ifb3
2771 CALL
hadjet(nhad1,amchn1,ppp2,ppp1,gamch1,bgxch1,bgych1,
2772 * bgzch1, isq,ifb3,ifb1,ifb4,i1,i2,noba1,nnch,norig)
2794 WRITE(6,
'(A,3I5)')
' Jet2 IFB1,ISAQ,IFB2 ',ifb1,isaq,ifb2
2796 CALL
hadjet(nhad2,amchn2,ppp4,ppp3,gamch2,bgxch2,bgych2,
2797 * bgzch2, ifb1,isaq,ifb2,ifb4,i1,i2,noba2,nnch,norig)
2804 DO 3448 i=nhad1+1,nhad1+nhad2
2816 IF(iormoo(i).NE.999)iormoo(i)=iormoo(i)+nhad1
2837 IF(ibarf(i).EQ.500)go to 4040
2839 WRITE(6,4050)i,pxf(i),pyf(i),pzf(i),hef(i),amf(i), ichf(i),
2840 + ibarf(i),nref(i),anf(i)
2841 4050
FORMAT(
' JET ',i5,5f12.4,3i5,a10)
2847 WRITE(6,
'(A,I5,2E12.4)')
'3IREJ,HEFT,HEFFF ',
2854 IF(isq.EQ.1)nhase1=nhase1+1
2855 IF(isq.EQ.2)nhase2=nhase2+1
2856 IF(isq.EQ.3)nhase3=nhase3+1
subroutine hadjse(NHAD, AMCH, PPR, PTA, GAM, BGX, BGY, BGZ, IFB1, IFB2, IFB3, IFB4, I1, I2, NOBAM, NNCH, NORIG, IREJ, IISSQQ)
DOUBLE PRECISION function rndm(RDUMMY)
subroutine pinkla(I1, I2, I3, I4, IHKK1, IHKK2, ILOML, ILOMA, ITOML, ITOMA, IREJ)
DOUBLE PRECISION function dbetar(GAM, ETA)
subroutine sewew(IOP, NHKKH1)
subroutine daltra(GA, BGX, BGY, BGZ, PCX, PCY, PCZ, EC, P, PX, PY, PZ, E)
subroutine hadjck(NHAD, AMCH, PPR, PTA, GAM, BGX, BGY, BGZ, IFB1, IFB2, IFB3, IFB4, I1, I2, NOBAM, NNCH, NORIG, IREJ)
DOUBLE PRECISION function sampey(X1, X2)
subroutine dsfecf(SFE, CFE)
subroutine title(NA, NB, NCA, NCB)
static c2_log_p< float_type > & log()
make a *new object
G4double tau(G4double bet, G4double homega, G4double ef, G4double t)
static c2_sqrt_p< float_type > & sqrt()
make a *new object
subroutine xseapa(ECM, XXXX, IPSQ1, IPSAQ1, XPSQ1, XPSAQ1, IREJ)
DOUBLE PRECISION function betrej(GAM, ETA, XMIN, XMAX)
subroutine hadjase(NHAD, AMCH, PPR, PTA, GAM, BGX, BGY, BGZ, IFB1, IFB2, IFB3, IFB4, I1, I2, NOBAM, NNCH, NORIG, IREJ, IISSQQ)
subroutine hadjet(NHAD, AMCH, PPR, PTA, GAM, BGX, BGY, BGZ, IFB1, IFB2, IFB3, IFB4, I1, I2, NOBAM, NNCH, NORIG)
static c2_exp_p< float_type > & exp()
make a *new object