11 IMPLICIT DOUBLE PRECISION(
a-h,o-
z)
14 COMMON /abrhrd/xh1(msh),xh2(msh),ijhi1(msh),ijhi2(msh),
15 *ijhf1(msh),ijhf2(msh),phard1(msh,4),phard2(msh,4)
16 COMMON /outlev/ioutpo,ioutpa,iouxev,ioucol
17 b33=4.0+3.0/log10(ecm+10.d0)
20 hps=
sqrt(es*es+2.*es*0.94)
26 IF (iouxev.GE.6)
WRITE(6,115)ptxsq1,ptysq1,ptxsa1,ptysa1
27 115
FORMAT (
' PT S ',8f12.6)
28 phard1(i,1)=phard1(i,1)+ptxsq1
29 phard1(i,2)=phard1(i,2)+ptysq1
30 phard2(i,1)=phard2(i,1)+ptxsa1
31 phard2(i,2)=phard2(i,2)+ptysa1
32 de1=
sqrt(phard1(i,1)**2+phard1(i,2)**2+phard1(i,3)**2)
34 de2=
sqrt(phard2(i,1)**2+phard2(i,2)**2+phard2(i,3)**2)
36 phard1(i,4)=phard1(i,4)+de1
37 phard2(i,4)=phard2(i,4)+de2
49 SUBROUTINE selpth(PQUAR,PAQUAR,TQUAR,TAQUAR,ECM,
50 * ptxsq1,ptysq1,plq1,eq1,ptxsa1,ptysa1,plaq1,eaq1,
51 * ptxsq2,ptysq2,plq2,eq2,ptxsa2,ptysa2,plaq2,eaq2,
52 * amch1,amch2,irej,ikvala,pttq1,ptta1,pttq2,ptta2)
55 IMPLICIT DOUBLE PRECISION(
a-h,o-
z)
57 dimension pquar(4),tquar(4),paquar(4),taquar(4)
58 COMMON /outlev/ioutpo,ioutpa,iouxev,ioucol
60 b33=4.0+3.0/log10(ecm+10.d0)
61 IF (ikvala.EQ.1)b33=8.0
73 hps=
sqrt(es*es+2.*es*0.94)
75 ptxsq1=hps*cfe+pquar(1)
76 ptysq1=hps*sfe+pquar(2)
77 ptxsa1=-ptxsq1+paquar(1)
78 ptysa1=-ptysq1+paquar(2)
80 hps=
sqrt(es*es+2.*es*0.94)
82 ptxsq2=hps*cfe+tquar(1)
83 ptysq2=hps*sfe+tquar(2)
84 ptxsa2=-ptxsq2+taquar(1)
85 ptysa2=-ptysq2+taquar(2)
86 IF (iouxev.GE.6)
WRITE(6,115)ptxsq1,ptysq1,ptxsa1,ptysa1
87 * ,ptxsq2,ptysq2,ptxsa2,ptysa2
88 115
FORMAT (
' PT S ',8f12.6)
90 pttq1=ptxsq1**2+ptysq1**2
91 ptta1=ptxsa1**2+ptysa1**2
92 pttq2=ptxsq2**2+ptysq2**2
93 ptta2=ptxsa2**2+ptysa2**2
98 IF((eq1**2.LE.pttq1).OR.(eq2**2.LE.pttq2)
99 * .OR.(eaq1**2.LE.ptta1).OR.(eaq2**2.LE.ptta2))
THEN
102 plq1=
sqrt(eq1**2-pttq1+1.
e-6)*pquar(3)/abs(pquar(3))
103 plq2=
sqrt(eq2**2-pttq2+1.
e-6)*tquar(3)/abs(tquar(3))
104 plaq1=
sqrt(eaq1**2-ptta1+1.
e-6)*paquar(3)/abs(paquar(3))
105 plaq2=
sqrt(eaq2**2-ptta2+1.
e-6)*taquar(3)/abs(taquar(3))
107 amch1=
sqrt((eq1+eaq2)**2-(ptxsq1+ptxsa2)**2
108 * -(ptysq1+ptysa2)**2-(plq1+plaq2)**2)
109 amch2=
sqrt((eq2+eaq1)**2-(ptxsq2+ptxsa1)**2
110 * -(ptysq2+ptysa1)**2-(plq2+plaq1)**2)
115 SUBROUTINE xptfl(NHARD,NSEA,IREG,XMAX1,XMAX2)
147 IMPLICIT DOUBLE PRECISION(
a-h,o-
z)
149 parameter(
one=1.d0,oneh=.5d0,
zero=0.d0)
150 parameter(ummm=0.3d0)
151 parameter(smmm=0.5d0)
152 parameter(cmmm=1.3d0)
154 COMMON /abrhrd/xh1(msh),xh2(msh),ijhi1(msh),ijhi2(msh),
155 *ijhf1(msh),ijhf2(msh),phard1(msh,4),phard2(msh,4)
156 COMMON /outlev/ioutpo,ioutpa,iouxev,ioucol
157 COMMON /dprin/ ipri,ipev,ippa,ipco,
init,iphkk,itopd,ipaupr
159 COMMON /singdi/silmsd,sigdi
163 common/collis/
s,ijproj,ijtar,ptthr,ptthr2,iophrd,ijprlu,ijtalu
165 CHARACTER*8 projty,targty
168 COMMON /user1/
title,projty,targty
169 COMMON /user2/cmener,sdfrac,ptlar,istruf,isingd,idubld
171 COMMON /colle/ nevhad,nvers,ihadrz,nfile
172 COMMON /pomtyp/ipim,icon,isig,lmax,mmax,
nmax,defel,difnu
176 parameter(
intmx=2488)
194 COMMON /nucjtn/nonuj1,nonujt,nonus1,nonust
197 COMMON /valhvg/phpval(4),phtval(4),ijvgp,ijvgt,ivalhp,ivalht
198 COMMON /ptlarg/ xsmax
199 COMMON /gluspl/nugluu,nsgluu
201 common/vvdiff/nvalch,nvaldi,nsofvd,idiftp,amchdd,nvadud
202 common/intnez/ndz,nzd
217 COMMON /dpar/ aname(210),aam(210),ga(210),
tau(210),iich(210),
218 +iibar(210),k1(210),k2(210)
223 COMMON /dinpda/ imps(6,6),imve(6,6),ib08(6,21),ib10(6,21), ia08
224 +(6,21),ia10(6,21), a1,b1,b2,b3,lt,le,bet,as,b8,ame,diq,isu
225 COMMON /lmmaxi/ lmmax
227 common/skine1/ngluef,nnn,gl(nstrmx),gr(nstrmx),vl,vr,wl,wr,
228 * ptgl(2,nstrmx),ptvl(2),ptwl(2),
229 * ptgr(2,nstrmx),ptvr(2),ptwr(2)
230 COMMON /dropjj/dropjt,dropva
235 IF(xmax1.LE.0.d0.OR.xmax2.LE.0.d0)
THEN
236 WRITE(6,
'(A,3I5,2F10.4)')
' XPTFL(',nhard,nsea,ireg,xmax1,xmax2
262 pccc=0.333*(ummm/(cmmm*
log(cmmm/0.2)))**2
264 4567
FORMAT(
' Charm at hard chain ends XPTFL: PCCC ',1f10.5)
274 IF (iouxev.GE.6)
WRITE (6,107)iouxev,nhard,nsea,nval,nvers
275 107
FORMAT (
' XPTFL IOUXEV,NHARD,NSEA,NVAL,NVERS = ',6i10)
280 IF (iouxev.GE.1.AND.
mod(nc1000,20).EQ.0)
WRITE(6,1100)nc1000
281 1100
FORMAT(
' REJECTION IN XPTFL ',i10)
287 ELSEIF(ipim.EQ.2)
THEN
288 IF (iouxev.GE.6)
WRITE(6,
'(A)')
' XPTFL call SAMPLX'
290 CALL
samplx(lpo,mpo,npo,npodd,npolo)
296 IF (iouxev.GE.6)
WRITE(6,107)iouxev,nhard,nsea,nval,nvers
298 IF (iouxev.GE.1)
WRITE(6,101)lpo,mpo,npo ,nnpo
299 101
FORMAT (
' XPTFL SAMPLM-LPO,MPO,NPO,NNPO= ',4i10
300 * /
' NEXT CALL SELHRD')
310 IF (iouxev.GE.6)
WRITE(6,
'(A)')
' XPTFL call SELHRD'
311 CALL
selhrd(mpo,ijpval,ijtval,ptthr2)
314 IF (iouxev.GE.6)
WRITE (6,107)iouxev,nhard,nsea,nval,nvers
318 IF(iouxev.GE.1.AND.xh1(i).LT.0 )
WRITE(6,7788) i,xh1(i)
319 IF(iouxev.GE.1.AND.xh2(i).LT.0 )
WRITE(6,7787) i,xh2(i)
320 7788
FORMAT(
' XPTFL: XH1(',i5,
') =',e12.5)
321 7787
FORMAT(
' XPTFL: XH2(',i5,
') =',e12.5)
327 IF (sox1.LT.soxm .OR. sox2.LT.soxm)
THEN
328 IF (ioutpa.GE.1)
WRITE (6,2510)hax1,hax2,xmax1,xmax2,mpo
329 2510
FORMAT(.GT.
' REJECT HAX1,HAX21 HAX1,HAX2,XMAX1,XMAX2MPO='
332 IF(
mod(nax12,2).EQ.0)
THEN
344 IF(
mod(nc1002,6).EQ.0)
THEN
346 ELSEIF( nc1002.GT.50 )
THEN
347 IF(iouxev.GE.3)
WRITE(6,9874) mpo
348 9874
FORMAT(
' XPTFL: 1001 SOFT X REJECTION TO 1000, MPO=',i5)
356 IF (iouxev.GE.3)
WRITE (6,105)soxus1,soxus2,sox1,sox2,hax1,hax2
357 105
FORMAT(
'XPTFL SOXUS1,SOXUS2,SOX1,SOX2,HAX1,HAX2 ',6f10.6)
364 IF (iouxev.GE.6)
WRITE(6,*)
' XPTFL call XPTFL1,NSEA,NVAL',nsea,nval
365 CALL
xptfl1(nhard,nsea,nval,soxus1,soxus2,sox1,sox2,hax1,hax2,
366 * lpo,mpo,npo,lpasof,ijpval,ijtval,rj1000,xmax1,xmax2)
367 IF (rj1000.EQ.1.d0)
THEN
368 IF (iouxev.GE.6)
THEN
369 WRITE(6,*)
'REJECTION TO 1001 AFTER XPTFL1 RJ1000=',rj1000
382 1303
FORMAT (
' XPTFL (after xptfl1/2): NSEA=',i10,
383 *
'ii,ijsq1,ijsaq1,ijsq2,ijsaq2,amcch1,amcch2,...')
386 * ijsq1(ii),ijsaq1(ii),ijsq2(ii),ijsaq2(ii),
387 * amcch1(ii),amcch2(ii),gamch1(ii),gamch2(ii),
388 * bgxch1(ii),bgych1(ii),bgzch1(ii),
389 * bgxch2(ii),bgych2(ii),bgzch2(ii),
390 * nch1(ii),nch2(ii),ijch1(ii),ijch2(ii),
391 * (psofa1(ii,ju),psofa2(ii,ju),psofb1(ii,ju),
392 * psofb2(ii,ju),ju=1,4)
393 304
FORMAT(5i4,6e18.8/4e18.8,4i4,2e18.8/7e18.8/7e18.8)
403 IF(soxva1.LT.0.0d0.OR.soxva2.LT.0.0d0)
THEN
405 WRITE(6,*)
' XPTFL: REJECTION TO 1001 DUE TO SOXVA1/2 < 0.1'
413 IF ((nvers.EQ.1.OR.nvers.EQ.2).AND.mpo.GE.1)
THEN
431 IF (iouxev.GE.3.AND.
mod(ic302,12).EQ.0)
WRITE(6,1302)ic302
432 1302
FORMAT(
' REJECTION IN XPTFL 302 HARD GLUON SPLIT ',i10)
434 IF (ic302.EQ.12) go to 1001
435 xxxg1=(
rndm(v))**0.50
436 xxxg2=(
rndm(u))**0.50
437 IF (nugluu.EQ.1)
THEN
438 xxxg1=0.999999999999d0
439 xxxg2=0.000000000001d0
444 pjeta1(nonujt,j)=phard1(i,j)*xxxg1
445 pjetb1(nonujt,j)=phard2(i,j)*xxxg2
446 pjeta2(nonujt,j)=phard2(i,j)*(1.-xxxg2)
447 pjetb2(nonujt,j)=phard1(i,j)*(1.-xxxg1)
449 pjeta1(nonujt,4)=
sqrt(pjeta1(nonujt,1)**2+
450 * pjeta1(nonujt,2)**2
451 * +pjeta1(nonujt,3)**2)
452 pjetb1(nonujt,4)=
sqrt(pjetb1(nonujt,1)**2+
453 * pjetb1(nonujt,2)**2
454 * +pjetb1(nonujt,3)**2)
455 pjeta2(nonujt,4)=
sqrt(pjeta2(nonujt,1)**2+
456 * pjeta2(nonujt,2)**2
457 * +pjeta2(nonujt,3)**2)
458 pjetb2(nonujt,4)=
sqrt(pjetb2(nonujt,1)**2+
459 * pjetb2(nonujt,2)**2
460 * +pjetb2(nonujt,3)**2)
462 amjch1(nonujt)=
sqrt((pjeta1(nonujt,4)+
463 * pjeta2(nonujt,4))**2
464 * -(pjeta1(nonujt,1)+
465 * pjeta2(nonujt,1))**2
466 * -(pjeta1(nonujt,2)+
467 * pjeta2(nonujt,2))**2
468 * -(pjeta1(nonujt,3)+
469 * pjeta2(nonujt,3))**2)
470 amjch2(nonujt)=
sqrt((pjetb1(nonujt,4)+
471 * pjetb2(nonujt,4))**2
472 * -(pjetb1(nonujt,1)+
473 * pjetb2(nonujt,1))**2
474 * -(pjetb1(nonujt,2)+
475 * pjetb2(nonujt,2))**2
476 * -(pjetb1(nonujt,3)+
477 * pjetb2(nonujt,3))**2)
481 ipjq1=1.d0+
rndm(qa1)*(2.d0+seasq)
482 IF(
rndm(v3).LT.pccc)ipjq1=4
484 ipjq2=1.d0+
rndm(qb1)*(2.d0+seasq)
485 IF(
rndm(v4).LT.pccc)ipjq2=4
487 IF (iouxev.GE.6)
WRITE (6,113)ipjq1,ipjq2
488 113
FORMAT(
' IPJQ1,IPJQ2 ',2i10)
490 ifps1=imps(ipjq2,ipjq1)
491 ifv1=imve(ipjq2,ipjq1)
496 ifps2=imps(ipjq1,ipjq2)
497 ifv2=imve(ipjq1,ipjq2)
503 * ((amjch1(nonujt).LE.amff1).OR.
504 * (amjch2(nonujt).LE.amff2))) go to 302
506 gamjh1(nonujt)=(pjeta1(nonujt,4)+
507 * pjeta2(nonujt,4))/amjch1(nonujt)
508 bgxjh1(nonujt)=(pjeta1(nonujt,1)+
509 * pjeta2(nonujt,1))/amjch1(nonujt)
510 bgyjh1(nonujt)=(pjeta1(nonujt,2)+
511 * pjeta2(nonujt,2))/amjch1(nonujt)
512 bgzjh1(nonujt)=(pjeta1(nonujt,3)+
513 * pjeta2(nonujt,3))/amjch1(nonujt)
514 gamjh2(nonujt)=(pjetb1(nonujt,4)+
515 * pjetb2(nonujt,4))/amjch2(nonujt)
516 bgxjh2(nonujt)=(pjetb1(nonujt,1)+
517 * pjetb2(nonujt,1))/amjch2(nonujt)
518 bgyjh2(nonujt)=(pjetb1(nonujt,2)+
519 * pjetb2(nonujt,2))/amjch2(nonujt)
520 bgzjh2(nonujt)=(pjetb1(nonujt,3)+
521 * pjetb2(nonujt,3))/amjch2(nonujt)
523 ijjaq1(nonujt)=ipjaq1
527 ijjaq2(nonujt)=-ipjq1
530 DO 405 ii=nonujy,nonujt
533 * ijjq1(ii),ijjaq1(ii),ijjq2(ii),ijjaq2(ii),
534 * amjch1(ii),amjch2(ii),gamjh1(ii),gamjh2(ii),
535 * bgxjh1(ii),bgyjh1(ii),bgzjh1(ii),
536 * bgxjh2(ii),bgyjh2(ii),bgzjh2(ii),
537 * (pjeta1(ii,ju),pjeta2(ii,ju),pjetb1(ii,ju),
538 * pjetb2(ii,ju),ju=1,4)
539 404
FORMAT(5i4,6e18.8/4e18.8,2e18.8/7e18.8/7e18.8)
542 IF (iouxev.GE.6)
WRITE (6,107)iouxev,nhard,nsea,nval,nvers
548 SUBROUTINE xptfl1(NHARD,NSEA,NVAL,SOXUS1,SOXUS2,SOX1,SOX2,HAX1,
549 * hax2,lpo,mpo,npo,lpasof,ijpval,ijtval,rj1000,xmax1,xmax2)
579 IMPLICIT DOUBLE PRECISION(
a-h,o-
z)
581 parameter(
one=1.d0,oneh=.5d0,
zero=0.d0)
582 parameter(ummm=0.3d0)
583 parameter(smmm=0.5d0)
584 parameter(cmmm=1.3d0)
588 COMMON /nucc/ it,itz,ip,ipz,mjproj,ibproj,ijtarg,ibtarg
589 COMMON /abrhrd/xh1(msh),xh2(msh),ijhi1(msh),ijhi2(msh),
590 *ijhf1(msh),ijhf2(msh),phard1(msh,4),phard2(msh,4)
591 COMMON /outlev/ioutpo,ioutpa,iouxev,ioucol
592 common/intnez/ndz,nzd
595 common/collis/
s,ijproj,ijtar,ptthr,ptthr2,iophrd,ijprlu,ijtalu
597 CHARACTER*8 projty,targty
600 COMMON /user1/
title,projty,targty
601 COMMON /user2/cmener,sdfrac,ptlar,istruf,isingd,idubld
603 COMMON /colle/ nevhad,nvers,ihadrz,nfile
606 COMMON /pomtyp/ ipom2,ipom1,iposom(4),aposom(2)
607 COMMON /diquax/amedd,idiqua,idiquu
610 parameter(
intmx=2488)
653 COMMON /nucjtn/nonuj1,nonujt,nonus1,nonust
656 COMMON /valhvg/phpval(4),phtval(4),ijvgp,ijvgt,ivalhp,ivalht
658 COMMON /gluspl/nugluu,nsgluu
673 COMMON /dpar/ aname(210),aam(210),ga(210),
tau(210),iich(210),
674 +iibar(210),k1(210),k2(210)
680 COMMON /dinpda/ imps(6,6),imve(6,6),ib08(6,21),ib10(6,21), ia08
681 +(6,21),ia10(6,21), a1,b1,b2,b3,lt,le,bet,as,b8,ame,diq,isu
682 COMMON /lmmaxi/ lmmax
684 common/skine1/ngluef,nnn,gl(nstrmx),gr(nstrmx),vl,vr,wl,wr,
685 * ptgl(2,nstrmx),ptvl(2),ptwl(2),
686 * ptgr(2,nstrmx),ptvr(2),ptwr(2)
688 COMMON /seaqxx/ seaqx,seaqxn
695 IF(iouxev.GE.4)
WRITE(6,*)
'XPTFL1:entry:NDZ,NZD,NNDZ,NNZD,NHARD,',
697 *,ndz,nzd,nndz,nnzd,nhard,nsea,nval
706 IF (iouxev.GE.6)
WRITE (6,*)
'XPTFL1: 1199 ndz nzd nndz nnzd'
708 IF (iouxev.GE.6)
WRITE (6,107)iouxev,nhard,lpo,nzd,ndz,lpasof
725 IF (llppoo.LE.0) go to 2020
729 IF(ipom1.EQ.48.AND.ipom2.EQ.2.AND.ecm.LT.20.d0)
THEN
730 xpthro=1.5*log10(ecm/2000.)+5.
731 xpthro=1.5*log10(ecm/200.)+3.5
732 ELSEIF(ipom1.EQ.48.AND.ipom2.EQ.2.AND.ecm.GE.20.d0)
THEN
735 IF(ipom1.EQ.11.AND.ipom2.EQ.5)xpthro=15.
736 IF(ipom1.EQ.5.AND.ipom2.EQ.5)xpthro=20.
737 IF (ipim.EQ.2)xpthro=2.
739 IF(istruf.EQ.15) xpthro=5.
740 IF(istruf.EQ.22) xpthro=8.
742 WRITE(6,*)
' XPTFL1: XPTHRO=',xpthro
747 xpthr=1.5*xpthro/(ecm**1.5*14.)
751 IF(ip.EQ.1)xpthr=1.5*xpthro/(ecm**1.5*14.)
754 IF (xpthr2.GT.xpthro)xpthr2=xpthro
757 xsthr2=1.5*xpthr2/(ecm**1.5*14.)
761 IF(ip.EQ.1)xsthr2=1.5*xpthr2/(ecm**1.5*14.)
765 alox1=
log(sox1/xpthr)
766 alox2=
log(sox2/xpthr)
772 WRITE(6,9753)xpthro,xpthr,xsthr2
773 9753
FORMAT(
' XPTFL1: XPTHRO,XPTHR,XSTHR2= ',3e15.5)
790 betcha=betoo+1.3-log10(ecm)
804 WRITE(6,4567)pc,betcha,pu1,ps1
805 4567
FORMAT(
' Charm at chain ends XPTFL1: PC,BETCHA,PU,PS ',4f10.5)
814 xpthrx=xpthr-0.5*ai/ecm**2
817 IF(ip.EQ.1)xpthrx=xpthr-0.5*ai/ecm**2
820 IF (xpthrx.LT.4.d0/ecm**2)xpthrx=4./ecm**2
823 IF(ip.EQ.1.AND.xpthrx.LT.4.d0/ecm**2)xpthrx=4./ecm**2
839 IF (iouxev.GE.6)
WRITE (6,*)
' REJECT EVENT XGLU-VALUES'
845 IF (
rndm(v1).LT.alooo1)
THEN
846 xglu1=
rndm(a2)*(xpthrx-xsthr2)+xsthr2
850 IF(seaqx.LE.0.75d0)
THEN
852 ELSEIF(seaqx.GT.0.75d0)
THEN
857 IF (
rndm(v3).LT.alooo2)
THEN
858 xglu2=
rndm(a4)*(xpthrx-xsthr2)+xsthr2
862 IF(seaqx.LE.0.75d0)
THEN
864 ELSEIF(seaqx.GT.0.75d0)
THEN
873 IF(iouxev.GE.6)
WRITE (6,109) xglu1,xglu2
875 IF(xglu1+soxus1.GT.sox1.OR.xglu2+soxus2.GT.sox2)go to 5577
876 109
FORMAT (
' XPTFL1 XGLU1,XGLU2 ',2f10.6)
879 ipsq1=1.d0+
rndm(qa1)*(2.d0+seasq)
880 IF(
rndm(w1).LT.pc)ipsq1=4
882 ipsq2=1.d0+
rndm(qb1)*(2.d0+seasq)
883 IF(
rndm(w2).LT.pc)ipsq2=4
885 IF (iouxev.GE.6)
WRITE (6,113)ipsq1,ipsq2
886 113
FORMAT(
' XPTFL1 IPSQ1,IPSQ2 ',2i10)
890 xpsq1=(0.2+(0.36*
rndm(a1))**0.50)*xglu1
892 ELSEIF(ipsq1.EQ.3)
THEN
901 IF (iouxev.GE.6)
WRITE (6,*)
' REJECT EVENT XPSQ1-VALUES'
905 IF(iouxev.GE.4)
WRITE(6,*)
' xptfl1 LPO,SOXUS1,SOXUS2 reject ',
909 xpsq1=
sampxb(xsthr+bsq,0.9d0,bsq)
910 IF(xpsq1.GE.xglu1)go to 5588
913 ELSEIF(ipsq1.EQ.4)
THEN
916 xpsq1=
sampxb(xsthr+bcq,0.9d0,bcq)
917 xpsaq1=
sampxb(xsthr+bcq,0.9d0,bcq)
920 xpsq2=(0.2+(0.36*
rndm(b1))**0.50)*xglu2
922 ELSEIF(ipsq2.EQ.3)
THEN
931 IF (iouxev.GE.6)
WRITE (6,*)
' REJECT EVENT XPSQ2-VALUES'
937 xpsq2=
sampxb(xsthr+bsq,0.9d0,bsq)
938 IF(xpsq2.GE.xglu2)go to 5599
941 ELSEIF(ipsq2.EQ.4)
THEN
944 xpsq2=
sampxb(xsthr+bcq,0.9d0,bcq)
945 xpsaq2=
sampxb(xsthr+bcq,0.9d0,bcq)
948 IF (iouxev.GE.6)
WRITE (6,107)iouxev,nhard,lpo,nzd,ndz,lpasof
949 107
FORMAT (
' XPTFL1 IOUXEV,NHARD,LPO,NZD,NDZ,LPASOF = ',6i10)
950 IF(iouxev.GE.6)
WRITE(6,114) xpsq1,xpsaq1,xpsq2,xpsaq2
951 114
FORMAT(
' XPSQ1,XPSAQ1,XPSQ2,XPSAQ2 ',4f12.6)
960 IF(
rndm(v).GT.2.d0*amedd-1.d0)
THEN
962 IF(iouxev.GE.3)
WRITE(6,*)
' XPTFL1 call DIQDZZ ',
963 *
'LPO,AMEDD',lpo,amedd
964 CALL
diqdzz(ecm,xpsq1,xpsaq1,xpsq2,xpsaq2,ipsq1,ipsaq1,
965 * ipsq2,ipsaq2,irejdz)
967 IF (iouxev.GE.4)
WRITE (6,
'(2A,4I5)')
'DIQDZZ1 ndz nzd nndz '
968 * ,
'nnzd XPTFL1',ndz,nzd,nndz,nnzd
972 IF (iouxev.GE.3)
WRITE (6,
'(2A,4I5)')
' DIQDZZ0 ndz nzd nndz'
973 * ,
' nnzd XPTFL1',ndz,nzd,nndz,nnzd
976 soxus1=soxus1+xpsq1+xpsaq1
977 soxus2=soxus2+xpsq2+xpsaq2
978 IF(iouxev.GE.3)
WRITE (6,*)
' SOXUS1,SOXUS2,SOX1,SOX2 ',
979 *
'HAX1,HAX2 after call diqdzz ',
980 * soxus1,soxus2,sox1,sox2,
982 IF ((soxus1.GT.sox1).OR.(soxus2.GT.sox2))
THEN
984 IF (iouxev.GE.3)
WRITE (6,106)
997 IF (iouxev.GE.3)
WRITE (6,*)
' RETURN ndz nzd '
998 * ,.GT.
'nndz,nnzd,LPO soxussox DIQDZZ0',
999 * ndz,nzd,nndz,nnzd,lpo
1006 IF(
rndm(v).GT.2.d0*amedd-1.d0.AND.ndiqdz.EQ.0)
THEN
1008 IF(iouxev.GE.3)
WRITE(6,*)
' XPTFL1 call DIQZZD ',
1009 *
'LPO,AMEDD',lpo,amedd
1010 CALL
diqzzd(ecm,xpsq1,xpsaq1,xpsq2,xpsaq2,ipsq1,ipsaq1,
1011 * ipsq2,ipsaq2,irejzd)
1013 IF (iouxev.GE.3)
WRITE (6,
'(2A,4I5)')
' DIQZZD1 ndz nzd nndz'
1014 * ,
' nnzd XPTFL1',ndz,nzd,nndz,nnzd
1017 IF(irejzd.EQ.0)
THEN
1019 IF (iouxev.GE.3)
WRITE (6,
'(2A,4I5)')
' DIQZZD0 ndz nzd '
1020 * ,
'nndz,nnzd XPTFL1',ndz,nzd,nndz,nnzd
1023 soxus1=soxus1+xpsq1+xpsaq1
1024 soxus2=soxus2+xpsq2+xpsaq2
1025 IF(iouxev.GE.3)
WRITE (6,*)
' SOXUS1,SOXUS2,SOX1,SOX2 ,',
1026 *
'HAX1,HAX2 after call diqzzd0',
1027 * soxus1,soxus2,sox1,sox2,
1029 IF ((soxus1.GT.sox1).OR.(soxus2.GT.sox2))
THEN
1031 IF (iouxev.GE.3)
WRITE (6,106)
1046 IF (iouxev.GE.3)
WRITE (6,*)
' RETURN2 ndz nzd '
1047 * ,.GT.
'nndz,nnzd,LPO SOXUSSOX',
1048 *
'diqzzd0',ndz,nzd,nndz,nnzd,lpo
1064 plq1 = xpsq1 *ecm/2.
1066 plaq1= xpsaq1*ecm/2.
1067 eaq1 = xpsaq1*ecm/2.
1068 plq2 =-xpsq2 *ecm/2.
1070 plaq2=-xpsaq2*ecm/2.
1071 eaq2 = xpsaq2*ecm/2.
1078 IF(iouxev.GE.6)
WRITE(6,
'(A)')
' XPTFL1 call SELPT'
1080 * ptxsq1,ptysq1,plq1,eq1,ptxsa1,ptysa1,plaq1,eaq1,
1081 * ptxsq2,ptysq2,plq2,eq2,ptxsa2,ptysa2,plaq2,eaq2,
1082 * amch1,amch2,irej,ikvala,pttq1,ptta1,pttq2,ptta2,
1086 IF(iouxev.GE.6)
WRITE(6,*)
' XPTFL1: --> 9922 IREJ=',irej
1087 IF(iouxev.GE.6)
WRITE(6,
'(A,6I5)')
1088 *
' XPTFL1:NDZ,NNDZ,NDIQDZ,NZD,NNZD,NDIQZD ',
1089 *ndz,nndz,ndiqdz,nzd,nnzd,ndiqzd
1102 IF (iouxev.GE.6)
WRITE (6,*)
'IOUXEV,NHARD,LPO,NZD,NDZ,LPASOF',
1103 *iouxev,nhard,lpo,nzd,ndz,lpasof
1108 ifps1=imps(ipsq2,ipsq1)
1109 ifv1=imve(ipsq2,ipsq1)
1114 IF(iouxev.GE.3)
WRITE(6,102)amch1,amps1,amv1,ifps1,ifv1
1115 102
FORMAT(
' AMCH1,AMPS1,AMV1,IFPS1,IFV1 ',3f12.4,2i10)
1116 IF(amch1.LT.amff1)
THEN
1117 IF(iouxev.GE.6)
WRITE(6,*)
' XPTFL1: --> 9922 AMCH1 < AMFF1'
1118 IF(iouxev.GE.6)
WRITE(6,
'(A,6I5)')
1119 *
' XPTFL1:NDZ,NNDZ,NDIQDZ,NZD,NNZD,NDIQZD ',
1120 *ndz,nndz,ndiqdz,nzd,nnzd,ndiqzd
1133 IF (amch1.LT.amv1)
THEN
1138 xpsq1=xpsq1*amps1/amch1
1139 xpsaq2=xpsaq2*amps1/amch1
1142 ELSEIF(amch1.LT.amff1)
THEN
1147 xpsq1=xpsq1*amv1/amch1
1148 xpsaq2=xpsaq2*amv1/amch1
1159 IF( (eq1**2.LT.pttq1)
1160 * .OR.(eaq2**2.LT.ptta2))
THEN
1161 IF(iouxev.GE.6)
WRITE(6,*)
' XPTFL1: --> 9922 EQ^2 < PT'
1162 * ,
'EQ1 PTTQ1 EAQ2 PTTA2',eq1,pttq1,eaq2,ptta2
1163 IF(iouxev.GE.6)
WRITE(6,
'(A,6I5)')
1164 *
' XPTFL1:NDZ,NNDZ,NDIQDZ,NZD,NNZD,NDIQZD ',
1165 *ndz,nndz,ndiqdz,nzd,nnzd,ndiqzd
1178 plq1=
sqrt(eq1**2-pttq1)
1179 plaq2=-
sqrt(eaq2**2-ptta2)
1181 IF (iouxev.GE.6)
WRITE (6,107)iouxev,nhard,lpo,nzd,ndz,lpasof
1186 ifps2=imps(ipsq1,ipsq2)
1187 ifv2=imve(ipsq1,ipsq2)
1192 IF(iouxev.GE.3)
WRITE(6,103)amch2,amps2,amv2,ifps2,ifv2
1193 103
FORMAT(
' AMCH2,AMPS2,AMV2,IFPS2,IFV2 ',3f12.4,2i10)
1194 IF(amch2.LT.amff2)
THEN
1195 IF(iouxev.GE.6)
WRITE(6,*)
' XPTFL1: --> 9922 AMCH2 < AMFF2'
1196 IF(iouxev.GE.6)
WRITE(6,
'(A,6I5)')
1197 *
' XPTFL1:NDZ,NNDZ,NDIQDZ,NZD,NNZD,NDIQZD ',
1198 *ndz,nndz,ndiqdz,nzd,nnzd,ndiqzd
1211 IF (amch2.LT.amv2)
THEN
1216 xpsq2=xpsq2*amps2/amch2
1217 xpsaq1=xpsaq1*amps2/amch2
1220 ELSEIF(amch2.LT.amff2)
THEN
1225 xpsq2=xpsq2*amv2/amch2
1226 xpsaq1=xpsaq1*amv2/amch2
1237 IF( (eq2**2.LT.pttq2)
1238 * .OR.(eaq1**2.LT.ptta1))
THEN
1239 IF(iouxev.GE.6)
WRITE(6,*)
' XPTFL1: --> 9922 EQ^2 < PT'
1240 * ,
'EQ2 PTTQ2 EAQ1 PTTA1',eq2,pttq2,eaq1,ptta1
1241 IF(iouxev.GE.6)
WRITE(6,
'(A,6I5)')
1242 *
' XPTFL1:NDZ,NNDZ,NDIQDZ,NZD,NNZD,NDIQZD ',
1243 *ndz,nndz,ndiqdz,nzd,nnzd,ndiqzd
1256 plq2=-
sqrt(eq2**2-pttq2)
1257 plaq1=
sqrt(eaq1**2-ptta1)
1260 IF(ndiqdz.EQ.0.AND.ndiqzd.EQ.0)
THEN
1261 soxus1=soxus1+xpsq1+xpsaq1
1262 soxus2=soxus2+xpsq2+xpsaq2
1264 IF(iouxev.GE.3)
WRITE (6,105)soxus1,soxus2,sox1,sox2,hax1,hax2
1265 105
FORMAT(
'XPTFL1 SOXUS1,SOXUS2,SOX1,SOX2,HAX1,HAX2 ',6f10.6)
1266 IF ((soxus1.GT.sox1).OR.(soxus2.GT.sox2))
THEN
1268 IF (iouxev.GE.6)
WRITE (6,106)
1269 106
FORMAT(
' REJECT THE EVENT SEA X-VALUES')
1290 IF (iouxev.GE.6)
WRITE (6,107)iouxev,nhard,lpo,nzd,ndz,lpasof
1305 gamch1(ii)=(eq1+eaq2)/amch1
1306 bgxch1(ii)=(ptxsq1+ptxsa2)/amch1
1307 bgych1(ii)=(ptysq1+ptysa2)/amch1
1308 bgzch1(ii)=(plq1+plaq2)/amch1
1309 gamch2(ii)=(eq2+eaq1)/amch2
1310 bgxch2(ii)=(ptxsq2+ptxsa1)/amch2
1311 bgych2(ii)=(ptysq2+ptysa1)/amch2
1312 bgzch2(ii)=(plaq1+plq2)/amch2
1315 IF (irejdz.EQ.0.AND.ndiqdz.EQ.1)
THEN
1319 IF (irejzd.EQ.0.AND.ndiqzd.EQ.1)
THEN
1323 IF(ndiqdz.EQ.1.AND.ndz.GT.0)idzss(ndz)=ii
1324 IF(ndiqzd.EQ.1.AND.nzd.GT.0)izdss(nzd)=ii
1343 IF (iouxev.GE.3)
WRITE(6,104)ii,
1344 * xsq1(ii),xsaq1(ii),xsq2(ii),xsaq2(ii),
1345 * ijsq1(ii),ijsaq1(ii),ijsq2(ii),ijsaq2(ii),
1346 * amcch1(ii),amcch2(ii),gamch1(ii),gamch2(ii),
1347 * bgch1(ii),bgch2(ii),thech1(ii),thech2(ii),
1348 * bgxch1(ii),bgych1(ii),bgzch1(ii),
1349 * bgxch2(ii),bgych2(ii),bgzch2(ii),
1350 * nch1(ii),nch2(ii),ijch1(ii),ijch2(ii),
1351 * (psofa1(ii,ju),psofa2(ii,ju),psofb1(ii,ju),
1352 * psofb2(ii,ju),ju=1,4)
1353 104
FORMAT(i10,4f12.7,4i5/10
x,8f12.6/10
x,6f12.6,4i5/8f15.5/8f15.5)
1356 IF (iouxev.GE.6)
WRITE(6,*)
' LPASOF =',lpasof
1358 IF (iouxev.GE.4)
WRITE (6,*)
'END XPTFL1',
1359 *
' IOUXEV,NHARD,LPO,NZD,NDZ,LPASOF,IREJ',
1360 * iouxev,nhard,lpo,nzd,ndz,lpasof,irej
1365 * ptxvq1,ptyvq1,plq1,eq1,ptxva1,ptyva1,plaq1,eaq1,
1366 * ptxvq2,ptyvq2,plq2,eq2,ptxva2,ptyva2,plaq2,eaq2,
1367 * amch1,amch2,irej,ikvala)
1368 IMPLICIT DOUBLE PRECISION(
a-h,o-
z)
1370 COMMON /colle/ nevhad,nvers,ihadrz,nfile
1371 parameter(nstrmx=50)
1372 common/skine1/ngluef,nnn,gl(nstrmx),gr(nstrmx),vl,vr,wl,wr,
1373 * ptgl(2,nstrmx),ptvl(2),ptwl(2),
1374 * ptgr(2,nstrmx),ptvr(2),ptwr(2)
1395 amch1=
sqrt(xp*xxt*ecm*ecm-(ptxvq1+ptxva2)**2
1396 * -(ptyvq1+ptyva2)**2)
1399 amch2=
sqrt(
xt*xxp*ecm*ecm-(ptxvq2+ptxva1)**2
1400 * -(ptyvq2+ptyva1)**2)
1405 SUBROUTINE kkevt(NHKKH1,EPN,PPN,KKMAT,IREJ)
1407 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
1409 common/intnez/ndz,nzd
1414 COMMON /hkkevt/ nhkk,nevhkk,isthkk(
nmxhkk),idhkk(
nmxhkk), jmohkk
1506 COMMON /dxqx/ xpvq(248),xpvd(248),xtvq(248),xtvd(248), xpsq
1508 * ,xpsu(248),xtsu(248)
1509 * ,xpsut(248),xtsut(248)
1511 COMMON /intnew/ nvv,nsv,nvs,nss,ndv,nvd,nds,nsd,
1512 +ixpv,ixps,ixtv,ixts, intvv1(248),
1513 +intvv2(248),intsv1(248),intsv2(248), intvs1(248),intvs2(248),
1515 +intdv1(248),intdv2(248),intvd1(248),intvd2(248),
1529 COMMON /ifroto/ ifrovp(248),itovp(248),ifrosp(
intmx), ifrovt(248),
1535 +mhkkdv(248),mhkkvd(248), mhkkds(
intmd),mhkksd(
intmd)
1537 LOGICAL zuovp,zuosp,zuovt,zuost,intlo,inloss
1538 COMMON /lozuo/ zuovp(248),zuosp(
intmx),zuovt(248),zuost(
intmx),
1546 COMMON /diqi/ ipvq(248),ippv1(248),ippv2(248), itvq(248),ittv1
1549 +itsaq(
intmx),itsaq2(
intmx),kkproj(248),kktarg(248)
1555 COMMON /nucc/ it,itz,ip,ipz,ijproj,ibproj,ijtarg,ibtarg
1557 COMMON /rptshm/ rproj,rtarg,bimpac
1559 COMMON /nshmak/ nnshma,npshma,ntshma,nshmac,nshma2
1561 COMMON /zentra/ icentr
1563 COMMON /nucimp/ prmom(5,248),tamom(5,248), prmfep,prmfen,tamfep,
1564 +tamfen, prefep,prefen,taefep,taefen, prepot(210),taepot(210),
1565 +prebin,taebin,fermod,etacou
1567 LOGICAL intpt,fermp,ihadss,ihadsv,ihadvs,ihadvv,ihada, ipadis,
1569 COMMON /droppt/ intpt,fermp,ihadss,ihadsv,ihadvs,ihadvv,ihada,
1570 +ipadis,ishmal,lpauli
1572 COMMON /nncms/ gamcm,bgcm,umo,pcm,eproj,pproj
1574 COMMON /nucpos/invvp(248),invvt(248),invsp(248),invst(248), nuvv,
1575 +nuvs,nusv,nuss,insvp(248),insvt(248),inssp(248),insst(248), isveap
1576 +(248),isveat(248),isseap(248),isseat(248), ivseap(248),ivseat
1577 +(248), islosp(248),islost(248),inoop(248),inoot(248),nuoo
1579 COMMON /taufo/ taufor,ktauge,itauve,incmod
1580 COMMON /evappp/ievap
1582 COMMON /rtar/ rtarnu
1586 COMMON /hadthr/ ehadth,inthad
1588 COMMON /dinpda/ imps(6,6),imve(6,6),ib08(6,21),ib10(6,21), ia08
1589 +(6,21),ia10(6,21), a1,b1,b2,b3,lt,le,bet,as,b8,ame,diq,isu
1591 COMMON /fermi/ pquar(4,248),paquar(4,248), tquar(4,248),taquar
1594 COMMON /ketmas/ am8(2),am10(2),ib88(2),ib1010(2),amch1n,amch2n
1606 COMMON /dpar/ aname(210),aam(210),ga(210),
tau(210),iich(210),
1607 +iibar(210),k1(210),k2(210)
1610 COMMON /dprin/ ipri,ipev,ippa,ipco,
init,iphkk,itopd,ipaupr
1615 COMMON /rejec/ irco1,irco2,irco3,irco4,irco5, irss11,irss12,
1616 +irss13,irss14, irsv11,irsv12,irsv13,irsv14, irvs11,irvs12,irvs13,
1617 +irvs14, irvv11,irvv12,irvv13,irvv14
1619 COMMON /projk/ iprojk
1621 COMMON /tanuin/ tasuma,tasubi,tabi,tamasu,tama,taimma
1623 COMMON /diffra/ isingd,idiftp,ioudif,iflagd
1626 COMMON /seadiq/ lseadi
1627 COMMON /evflag/numev
1628 COMMON /diquax/amedd,idiqua,idiquu
1656 COMMON /nucjtn/nonuj1,nonujt,nonus1,nonust
1657 COMMON /xsvthr/ xsthr,xvthr,xdthr,xssthr
1658 COMMON /minij/iminij,nomje,nomjer,nrejev,nomjt,nomjtr
1659 COMMON /ncshxx/ncouxh,ncouxt
1660 common/intneu/ndzsu,nzdsu
1661 COMMON /vxsvd/vxsp(50),vxst(50),vxsap(50),vxsat(50),
1662 * vxvp(50),vxvt(50),vxdp(50),vxdt(50),
1663 * nxsp,nxst,nxsap,nxsat,nxvp,nxvt,nxdp,nxdt
1664 COMMON /npartt/
npart
1665 COMMON /zsea/zseaav,zseasu,anzsea
1679 ehadtw=ehadth-
rndm(v)*2.d0
1691 IF(ijproj.NE.0) kproj=ijproj
1702 pproj =
sqrt((epn-amproj)*(epn+amproj))
1703 umo =
sqrt(amproj**2 + amtar**2 + 2.*amtar*eproj)
1704 gamcm = (eproj+amtar)/umo
1707 pcm=gamcm*pproj - bgcm*eproj
1709 IF(ipev.GE.1)
print 1000,ip,ipz,it,itz,ijproj,ibproj, eproj,pproj,
1710 +amproj,amtar,umo,gamcm,bgcm
1711 1000
FORMAT(
' ENTRY KKEVT'/
' IP,IPZ,IT,ITZ,IJPROJ,IBPROJ',6i5/
1712 +
' EPROJ,PPROJ,AMPROJ,AMTAR,UMO,GAMCM,BGCM'/10e12.3)
1726 IF (
mod(n9483,125000).EQ.0)
THEN
1727 WRITE(6,
'(A,I5,A,I5,A)')
' KKEVT: Glauber event',numev,
1728 +
' rejected after', n9483,
' trials'
1729 WRITE(6, 1010) nn,np,
nt
1730 WRITE(6,1020) irco1,irco2,irco3,irco4,irco5, irss11,irss12,
1731 + irss13,irss14, irsv11,irsv12,irsv13,irsv14, irvs11,irvs12,
1732 + irvs13,irvs14, irvv11,irvv12,irvv13,irvv14
1735 ELSEIF(n9483.GT.1)
THEN
1738 1010
FORMAT (5
x,
' N9483 LOOP - NN, NP, NT',5i10)
1739 1020
FORMAT (5
x,
' N9483 LOOP - REJECTION COUNTERS ',/,5i8/2(8i8/))
1758 CALL
shmako(ip,it,bimp,nn,np,
nt,jssh,jtsh,pproj,kkmat)
1762 CALL
shmak(2,nn,np,
nt,ip,it,ecm,bimp)
1764 IF ((isingd.GE.2).AND.((
nt.NE.1).OR.(nn.NE.1))) goto 22
1766 IF (nn.GT.
intmx)
THEN
1767 WRITE (6,1030)nn,np,
nt
1768 1030
FORMAT (.GT.
' NNINTMX SHMAKO SET TO INTMX ',3i10)
1775 IF (ip.LT.it.AND.it.LE.150)
THEN
1777 IF ((icentr.EQ.1.OR.icentr.EQ.2).AND.np.LT.ip-1)go to 20
1778 ELSEIF(ip.LE.16)
THEN
1779 IF ((icentr.EQ.1.OR.icentr.EQ.2).AND.np.LT.ip-2)go to 20
1780 ELSEIF(ip.LT.32)
THEN
1781 IF ((icentr.EQ.1.OR.icentr.EQ.2).AND.np.LT.ip-3)go to 20
1782 ELSEIF(ip.GE.32)
THEN
1784 IF ((icentr.EQ.1.OR.icentr.EQ.2).AND.np.LT.ip-1)go to 20
1786 ELSEIF (ip.LT.it.AND.it.GT.150)
THEN
1788 IF ((icentr.EQ.1.OR.icentr.EQ.2).AND.np.LT.ip-1)go to 20
1789 ELSEIF(ip.LE.16)
THEN
1790 IF ((icentr.EQ.1.OR.icentr.EQ.2).AND.np.LT.ip-2)go to 20
1791 ELSEIF(ip.LT.32)
THEN
1792 IF ((icentr.EQ.1.OR.icentr.EQ.2).AND.np.LT.ip-3)go to 20
1793 ELSEIF(ip.GE.32)
THEN
1795 IF ((icentr.EQ.1.OR.icentr.EQ.2).AND.np.LT.ip)go to 20
1797 ELSEIF(ip.EQ.it)
THEN
1798 IF ((icentr.EQ.1.OR.icentr.EQ.2).AND.ip.EQ.32)
THEN
1800 IF(np.LT.22.OR.
nt.LT.22) go to 20
1801 ELSEIF ((icentr.EQ.1.OR.icentr.EQ.2).
1802 *and.(umo.GT.100.).AND.(np.LT.ip-ip/10))
THEN
1805 ELSEIF ((icentr.EQ.1.OR.icentr.EQ.2).
1806 *and.(umo.LT.100.).AND.(np.LT.ip-ip/4))
THEN
1809 ELSEIF ((icentr.EQ.3).AND.np.LT.ip-2*ip/3)
THEN
1813 ELSEIF(abs(ip-it).LT.3)
THEN
1814 IF ((icentr.EQ.1.OR.icentr.EQ.2).AND.np.LT.ip-ip/8)go to 20
1818 IF (icentr.EQ.10.AND.np.GT.6) go to 20
1822 IF((isingd.LE.1).AND.(nn.GE.2).AND.(ip.GE.2).AND.(it.GE.2).AND.
1826 WRITE(6, 1040) ip,ipz,it,itz,eproj,pproj,nn,np,
nt
1827 WRITE (6,
'(/A,2I5,1PE10.2,3I5)')
' KKEVT: IP,IT,BIMP,NN,NP,NT ',
1828 + ip,it,bimp,nn,np,
nt
1830 +
' KKEVT: JSSH(KKK),JTSH(KKK),INTER1(KKK),INTER2(KKK),',
1831 +
' PKOO(3,KKK),TKOO(3,KKK)'
1834 WRITE (6,
'(4I5,6(1PE11.3))') jssh(kkk),jtsh(kkk),inter1(kkk),
1835 + inter2(kkk), pkoo(1,kkk),pkoo(2,kkk),pkoo(3,kkk), tkoo(1,kkk),
1836 + tkoo(2,kkk),tkoo(3,kkk)
1841 CALL
shmak1(2,nn,np,
nt,ip,it,ecm,bimp)
1848 WRITE(6, 1040) ip,ipz,it,itz,eproj,pproj,nn,np,
nt
1849 1040
FORMAT (
' 752 FORM ',4i10,2f10.3,5i10)
1850 WRITE (6,
'(/A,2I5,1PE10.2,3I5)')
' KKEVT: IP,IT,BIMP,NN,NP,NT ',
1851 + ip,it,bimp,nn,np,
nt
1853 +
' KKEVT: JSSH(KKK),JTSH(KKK),INTER1(KKK),INTER2(KKK),',
1854 +
' PKOO(3,KKK),TKOO(3,KKK)'
1857 WRITE (6,
'(4I5,6(1PE11.3))') jssh(kkk),jtsh(kkk),inter1(kkk),
1858 + inter2(kkk), pkoo(1,kkk),pkoo(2,kkk),pkoo(3,kkk), tkoo(1,kkk),
1859 + tkoo(2,kkk),tkoo(3,kkk)
1889 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
1892 IF (jssh(kkk).GT.0)
THEN
1902 frpneu=float(ipn)/apnuc
1904 IF(samtes.LT.frpneu.AND.ncpn.LT.ipn)
THEN
1907 ELSEIF(samtes.GE.frpneu.AND.ncpp.LT.ipz)
THEN
1910 ELSEIF(ncpn.LT.ipn)
THEN
1913 ELSEIF(ncpp.LT.ipz)
THEN
1924 CALL
fer4mp(ip,pferm,fpx,fpy,fpz,
fe,kproj)
1932 phkk(5,nhkk)=aam(kproj)
1939 phkk(4,nhkk)=aam(kproj)
1940 phkk(5,nhkk)=aam(kproj)
1944 idhkk(nhkk)=
mpdgha(kproj)
1950 phkk(5,nhkk)=aam(kproj)
1951 vhkk(1,nhkk)=pkoo(1,kkk)*1.
e-12
1952 vhkk(2,nhkk)=pkoo(2,kkk)*1.
e-12
1953 vhkk(3,nhkk)=pkoo(3,kkk)*1.
e-12
1955 whkk(1,nhkk)=pkoo(1,kkk)*1.
e-12
1956 whkk(2,nhkk)=pkoo(2,kkk)*1.
e-12
1957 whkk(3,nhkk)=pkoo(3,kkk)*1.
e-12
1961 IF (iphkk.GE.2)
WRITE(6,1050) nhkk,isthkk(nhkk),idhkk(nhkk),
1962 + jmohkk(1,nhkk),jmohkk(2,nhkk), jdahkk(1,nhkk),jdahkk(2,nhkk),
1963 + (phkk(khkk,nhkk),khkk=1,5), (vhkk(khkk,nhkk),khkk=1,4)
1965 1050
FORMAT (i6,i4,5i6,9e10.2)
1975 phkk(1,ihkk)=phkk(1,ihkk) - pxfe
1976 phkk(2,ihkk)=phkk(2,ihkk) - pyfe
1977 phkk(3,ihkk)=phkk(3,ihkk) - pzfe
1978 phkk(4,ihkk)=
sqrt(phkk(5,ihkk)** 2+ phkk(1,ihkk)** 2+ phkk
1979 + (2,ihkk)** 2+ phkk(3,ihkk)**2)
1980 IF (iphkk.GE.2)
WRITE(6,1050) ihkk,isthkk(ihkk),idhkk(ihkk),
1981 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
1982 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
2009 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
2012 IF (jtsh(kkk).GT.0)
THEN
2015 IF (nhadri.EQ.1) ihtaww=nhkk
2016 IF (epn.LE.ehadtw)
THEN
2017 IF (nhadri.GT.1) isthkk(nhkk)=14
2023 frtneu=float(itn)/atnuc
2025 IF(samtes.LT.frtneu.AND.nctn.LT.itn)
THEN
2028 ELSEIF(samtes.GE.frtneu.AND.nctp.LT.itz)
THEN
2031 ELSEIF(nctn.LT.itn)
THEN
2034 ELSEIF(nctp.LT.itz)
THEN
2045 CALL
fer4mt(it,pferm,fpx,fpy,fpz,
fe,ktarg)
2053 phkk(5,nhkk)=aam(ktarg)
2058 phkk(4,nhkk)=aam(ktarg)
2059 phkk(5,nhkk)=aam(ktarg)
2063 idhkk(nhkk)=
mpdgha(ktarg)
2068 vhkk(1,nhkk)=(tkoo(1,kkk)+bimp)*1.
e-12
2069 vhkk(2,nhkk)=tkoo(2,kkk)*1.
e-12
2070 vhkk(3,nhkk)=tkoo(3,kkk)*1.
e-12
2072 whkk(1,nhkk)=(tkoo(1,kkk)+bimp)*1.
e-12
2073 whkk(2,nhkk)=tkoo(2,kkk)*1.
e-12
2074 whkk(3,nhkk)=tkoo(3,kkk)*1.
e-12
2078 IF (iphkk.GE.2)
WRITE(6,1050) nhkk,isthkk(nhkk),idhkk(nhkk),
2079 + jmohkk(1,nhkk),jmohkk(2,nhkk), jdahkk(1,nhkk),jdahkk(2,nhkk),
2080 + (phkk(khkk,nhkk),khkk=1,5), (vhkk(khkk,nhkk),khkk=1,4)
2086 tasuma=itz*aam(1) + (it-itz)*aam(8)
2094 phkk(1,ihkk)=phkk(1,ihkk) - txfe
2095 phkk(2,ihkk)=phkk(2,ihkk) - tyfe
2096 phkk(3,ihkk)=phkk(3,ihkk) - tzfe
2097 phkk(4,ihkk)=
sqrt(phkk(5,ihkk)** 2+ phkk(1,ihkk)** 2+ phkk
2098 + (2,ihkk)** 2+ phkk(3,ihkk)**2)
2099 itsec=
mcihad(idhkk(ihkk))
2100 tasubi=tasubi + phkk(4,ihkk) - phkk(5,ihkk) - taepot(itsec)
2101 tamasu=tamasu + phkk(4,ihkk) - taepot(itsec)
2102 IF (iphkk.GE.2)
WRITE(6,1050) ihkk,isthkk(ihkk),idhkk(ihkk),
2103 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
2104 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
2108 tama=(it-itz)*aam(8) + itz*aam(1) + tabi
2109 taimma=tama - tamasu
2113 WRITE(6,
'(/A/5X,A/5X,4(1PE11.3))')
' KKEVT: FERMI MOMENTA',
2114 +
'PRMFEP,PRMFEN, TAMFEP,TAMFEN', prmfep,prmfen, tamfep,tamfen
2126 WRITE(6,
'(A,4I5)')
' KKEVT before SDIFF',np,
nt,nn,isingd
2128 IF ((np.EQ.1).AND.(
nt.EQ.1).AND.(nn.EQ.1)
2131 &.AND.(epn.GT.ehadtw))
2132 & CALL
sdiff(eproj,pproj,kproj,nhkkh1,iqqdd)
2134 IF (iflagd.EQ.1)
RETURN
2141 IF (epn.LE.ehadtw)
THEN
2143 itta=
mcihad(idhkk(ihtaww))
2145 WRITE(6,
'(A,I5,2F10.3)')
' HADRIN CALL, IREJFO=',irejfo, ehadtw
2148 CALL
hadhad(epn,ppn,nhkkh1,ihtaww,itta,irejfo)
2149 IF(irejfo.EQ.1) go to 7107
2151 DO 111 i=nhkkh1+1,nhkk
2154 phkk(3,i)=gamcm*pznn-bgcm*enn
2155 phkk(4,i)=gamcm*enn-bgcm*pznn
2171 IF(ipev.GE.6)
WRITE(6,*)
' KKEVT ,NSS,NVS,NSV,NVV,NDS,NSD,NDV,NVD ',
2173 *nss,nvs,nsv,nvv,nds,nsd,ndv,nvd
2177 WRITE(6,
'(A,I10)')
' KKEVT ITUM loop limit',itum
2178 WRITE(6,
'(A,2A)')
' KKEVT (AFTER XKSAMP):',
2179 +
' JSSH, JSSHS, JTSH, JTSHS, INTER1, INTER2',
2180 +
' PKOO(1),PKOO(2),PKOO(3), TKOO(1),TKOO(2),TKOO(3)'
2182 WRITE (6,
'(6I5,6(1PE11.3))') jssh(kkk),jsshs(kkk),jtsh(kkk),
2183 + jtshs(kkk), inter1(kkk),inter2(kkk), pkoo(1,kkk),pkoo(2,kkk),
2184 + pkoo(3,kkk), tkoo(1,kkk),tkoo(2,kkk),tkoo(3,kkk)
2194 IF(ipev.GE.6)
WRITE(6,*)
' KKEVT ,NSS,NVS,NSV,NVV,NDS,NSD,NDV,NVD ',
2195 *nss,nvs,nsv,nvv,nds,nsd,ndv,nvd
2196 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT before flksam'
2199 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT after flksam'
2201 1012
FORMAT(
' XKSAMP:',
2202 +
' I,XPVQ(I),XPVD(I),IFROVP(I),ITOVP(I),ZUOVP(I),KKPROJ(I)')
2203 1022
FORMAT(i5,2e15.5,2i5,l5,i5)
2204 1032
FORMAT(
' XKSAMP : I,XPSQ(I),XPSAQ(I),IFROSP(I),ZUOSP(I)')
2205 1042
FORMAT(i5,2e15.5,i5,l5)
2206 1060
FORMAT(
' XKSAMP : I,XTSQ(I),XTSAQ(I),IFROST(I),ZUOST(I)')
2207 1052
FORMAT(
' XKSAMP:',
2208 +
' I,XTVQ(I),XTVD(I),IFROVT(I),ITOVT(I),ZUOVT(I),KKTARG(I)')
2218 iipv=1+xpvq(i)/0.02d0
2219 vxvp(iipv)=vxvp(iipv)+1.d0
2220 iipd=1+xpvd(i)/0.02d0
2221 vxdp(iipd)=vxdp(iipd)+1.d0
2226 iips=1+xpsq(i)/0.02d0
2227 vxsp(iips)=vxsp(iips)+1.d0
2228 iipa=1+xpsaq(i)/0.02d0
2229 vxsap(iipa)=vxsap(iipa)+1.d0
2234 iitv=1+xtvq(i)/0.02d0
2235 vxvt(iitv)=vxvt(iitv)+1.d0
2236 iitd=1+xtvd(i)/0.02d0
2237 vxdt(iitd)=vxdt(iitd)+1.d0
2242 iits=1+xtsq(i)/0.02d0
2243 vxst(iits)=vxst(iits)+1.d0
2244 iita=1+xtsaq(i)/0.02d0
2245 vxsat(iita)=vxsat(iita)+1.d0
2251 +
' XKSAMP : FINAL X-VALUES AFTER POTENTIAL CORRECTION'
2254 WRITE(6,1022) i,xpvq(i),xpvd(i),ifrovp(i),itovp(i),zuovp(i)
2255 WRITE(6,*)
' I(1-IXPV),IPVQ(I),IPPV1(I),IPPV2(I)JHKKPV(I) ',
2256 * i,ipvq(i),ippv1(i),ippv2(i),jhkkpv(i)
2260 WRITE(6,1042) i,xpsq(i),xpsaq(i),ifrosp(i),zuosp(i)
2261 WRITE(6,*)
' I(1-IXPS),IPSQ(I),IPSAQ(I ),JHKKPS(I) ',
2262 * i,ipsq(i),ipsaq(i),jhkkps(i)
2266 WRITE(6,1022) i,xtvq(i),xtvd(i),ifrovt(i),itovt(i),zuovt(i)
2267 WRITE(6,*)
' I(1-IXTV),ITVQ(I),ITTV1(I),ITTV2(I),JHKKTV(I) ',
2268 * i,itvq(i),ittv1(i),ittv2(i),jhkktv(i)
2272 WRITE(6,1042) i,xtsq(i),xtsaq(i),ifrost(i),zuost(i)
2273 WRITE(6,*)
' I(1-IXTS),ITSQ(I),ITSAQ(I),JHKKTS(I) ',
2274 * i,itsq(i),itsaq(i),jhkkts(i)
2277 IF(ipev.GE.6)
WRITE(6,
'(A,6I5)')
2278 *
' XKSAMP NSV,NDV,NVS,NVD',
2286 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT before NUCMOM'
2288 IF (iphkk.GE.2)
WRITE(6,1050) ihkk,isthkk(ihkk),idhkk(ihkk),
2289 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
2290 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
2293 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT after NUCMOM'
2298 IF(ipev.GE.6)
WRITE(6,*)
' KKEVT ,NSS,NVS,NSV,NVV,NDS,NSD,NDV,NVD ',
2299 *nss,nvs,nsv,nvv,nds,nsd,ndv,nvd
2307 IF(ipev.GE.6)
WRITE(6,*)
' KKEVT before KKEVSS, NSS',nss
2309 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT after KKEVSS'
2312 IF(ipev.GE.6)
WRITE(6,*)
' KKEVT before KKEVDS, NDS',nds
2315 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT before KKEVDS'
2316 IF(idiqua.EQ.1) CALL
kkevds(irejds)
2317 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT after KKEVDS'
2319 IF (irejds.EQ.1) go to 10
2324 IF(ipev.GE.6)
WRITE(6,*)
' KKEVT before KKEVSD NSD',nsd
2327 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT before KKEVSD'
2328 IF(idiqua.EQ.1) CALL
kkevsd(irejsd)
2329 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT after KKEVSD'
2331 IF (irejsd.EQ.1) go to 10
2337 IF(ipev.GE.6)
WRITE(6,*)
' KKEVT before KKEVSV, NSV',nsv
2339 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT before KKEVSV'
2341 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT after KKEVSV'
2343 IF (irejsv.EQ.1) go to 10
2347 IF(ipev.GE.6)
WRITE(6,*)
' KKEVT before KKEVDV, NDV',ndv
2350 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT before KKEVDV'
2351 IF(idiqua.EQ.1) CALL
kkevdv(irejdv)
2352 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT after KKEVDV'
2354 IF (irejdv.EQ.1) go to 10
2359 IF(ipev.GE.6)
WRITE(6,*)
' KKEVT before KKEVVS, NVS',nvs
2361 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT before KKEVVS'
2363 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT after KKEVVS'
2365 IF (irejvs.EQ.1) go to 10
2369 IF(ipev.GE.6)
WRITE(6,*)
' KKEVT before KKEVVD,NVD',nvd
2372 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT before KKEVVD'
2373 IF(idiqua.EQ.1) CALL
kkevvd(irejvd)
2374 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT after KKEVVD'
2376 IF (irejvd.EQ.1) go to 10
2381 IF(ipev.GE.6)
WRITE(6,*)
' KKEVT before KKEVVV, NVV',nvv
2382 CALL
kkevvv(irejvv,ibproj)
2383 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT after KKEVVV'
2385 IF (irejvv.EQ.1) go to 10
2397 IF(ipev.GE.6)
WRITE(6,*)
' KKEVT before KKEVHH, NHH',nhh
2398 IF (iminij.EQ.1) CALL
kkevhh
2399 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT after KKEVHH'
2400 IF(ipev.GE.6)
WRITE(6,*)
' KKEVT before KKEVZZ, NZZ',nzz
2402 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT after KKEVZZ'
2404 nomjtr=nomjtr+nomjer
2408 DO 7787 iii=1,nonujt
2409 IF (ijjq1(iii).EQ.0.OR.ijjaq1(iii).EQ.0)
THEN
2410 WRITE (6,7786)iii,jhkkex(iii),ijjq1(iii),ijjaq1(iii),
2412 7786
FORMAT(
' KKEVHH: III,JHKKEX,IJJQ1,IJJAQ1,AMCH1 ',4i10,f10.3)
2427 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT before EVTEST'
2431 WRITE(6,
'(/A/)')
' KKEVT: FINAL LIST OF ENTRIES TO /HKKEVT/'
2433 WRITE(6,1050) ihkk,isthkk(ihkk),idhkk(ihkk),jmohkk(1,ihkk),
2434 + jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),(phkk
2435 + (khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
2440 IF(ipev.GE.1)
WRITE(6,
'(A)')
' EVTEST REJECTION would be '
2442 IF (irej.EQ.1)go to 10
2444 IF(ipev.GE.1)
WRITE(6,
'(A)')
' KKEVT after EVTEST'
2455 IF(ipev.GE.1)
WRITE(6,
'(A)')
' KKEVT long before HADRKK'
2456 IF(ihada.OR.ihadss.OR.ihadsv.OR.ihadvs.OR.ihadvv)
THEN
2457 IF(ipev.GE.1)
WRITE(6,
'(A)')
' KKEVT before HADRKK'
2459 IF(ipev.GE.1)
WRITE(6,
'(A)')
' KKEVT after HADRKK'
2468 IF (epn.GE.ehadtw)
THEN
2474 IF (icentr.EQ.8)
THEN
2476 IF(isthkk(ihkk).EQ.1)
THEN
2477 nrhkk=
mcihad(idhkk(ihkk))
2490 WRITE(6,*)
' reject ',iiich
2493 WRITE(6,*)
' no reject ',iiich
2497 WRITE(6,
'(/A/)')
' KKEVT: FINAL LIST OF ENTRIES TO /HKKEVT/'
2499 WRITE(6,1050) ihkk,isthkk(ihkk),idhkk(ihkk),jmohkk(1,ihkk),
2500 + jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),(phkk
2501 + (khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
2510 IF(ipev.GE.6)
WRITE(6,*)
' END KKEVT NZD,NZDSU,NDZ,NDZSU',
2511 * nzd,nzdsu,ndz,ndzsu
2519 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
2527 COMMON /nncms/ gamcm,bgcm,umo,pcm,eproj,pproj
2532 COMMON /hkkevt/ nhkk,nevhkk,isthkk(
nmxhkk),idhkk(
nmxhkk), jmohkk
2624 COMMON /dxqx/ xpvq(248),xpvd(248),xtvq(248),xtvd(248), xpsq
2626 * ,xpsu(248),xtsu(248)
2627 * ,xpsut(248),xtsut(248)
2629 COMMON /intnew/ nvv,nsv,nvs,nss,ndv,nvd,nds,nsd,
2630 +ixpv,ixps,ixtv,ixts, intvv1(248),
2631 +intvv2(248),intsv1(248),intsv2(248), intvs1(248),intvs2(248),
2633 +intdv1(248),intdv2(248),intvd1(248),intvd2(248),
2647 COMMON /ifroto/ ifrovp(248),itovp(248),ifrosp(
intmx), ifrovt(248),
2653 +mhkkdv(248),mhkkvd(248), mhkkds(
intmd),mhkksd(
intmd)
2655 LOGICAL zuovp,zuosp,zuovt,zuost,intlo,inloss
2656 COMMON /lozuo/ zuovp(248),zuosp(
intmx),zuovt(248),zuost(
intmx),
2663 COMMON /diqi/ ipvq(248),ippv1(248),ippv2(248), itvq(248),ittv1
2666 +itsaq(
intmx),itsaq2(
intmx),kkproj(248),kktarg(248)
2668 COMMON /trafop/ gamp,bgamp,betp
2670 COMMON /nucc/ it,itz,ip,ipz,ijproj,ibproj,ijtarg,ibtarg
2672 COMMON /nucimp/ prmom(5,248),tamom(5,248), prmfep,prmfen,tamfep,
2673 +tamfen, prefep,prefen,taefep,taefen, prepot(210),taepot(210),
2674 +prebin,taebin,fermod,etacou
2676 COMMON /abrvv/ amcvv1(248),amcvv2(248),gacvv1(248),gacvv2(248),
2677 +bgxvv1(248),bgyvv1(248),bgzvv1(248), bgxvv2(248),bgyvv2(248),
2678 +bgzvv2(248), nchvv1(248),nchvv2(248),ijcvv1(248),ijcvv2(248),
2679 +pqvva1(248,4),pqvva2(248,4), pqvvb1(248,4),pqvvb2(248,4)
2681 LOGICAL intpt,fermp,ihadss,ihadsv,ihadvs,ihadvv,ihada, ipadis,
2683 COMMON /droppt/ intpt,fermp,ihadss,ihadsv,ihadvs,ihadvv,ihada,
2684 +ipadis,ishmal,lpauli
2686 COMMON /nucpos/invvp(248),invvt(248),invsp(248),invst(248), nuvv,
2687 +nuvs,nusv,nuss,insvp(248),insvt(248),inssp(248),insst(248), isveap
2688 +(248),isveat(248),isseap(248),isseat(248), ivseap(248),ivseat
2689 +(248), islosp(248),islost(248),inoop(248),inoot(248),nuoo
2691 COMMON /taufo/ taufor,ktauge,itauve,incmod
2693 COMMON /rtar/ rtarnu
2697 COMMON /dinpda/ imps(6,6),imve(6,6),ib08(6,21),ib10(6,21), ia08
2698 +(6,21),ia10(6,21), a1,b1,b2,b3,lt,le,bet,as,b8,ame,diq,isu
2700 COMMON /fermi/ pquar(4,248),paquar(4,248), tquar(4,248),taquar
2703 COMMON /ketmas/ am8(2),am10(2),ib88(2),ib1010(2),amch1n,amch2n
2715 COMMON /dpar/ aname(210),aam(210),ga(210),
tau(210),iich(210),
2716 +iibar(210),k1(210),k2(210)
2719 COMMON /dprin/ ipri,ipev,ippa,ipco,
init,iphkk,itopd,ipaupr
2724 COMMON /rejec/ irco1,irco2,irco3,irco4,irco5, irss11,irss12,
2725 +irss13,irss14, irsv11,irsv12,irsv13,irsv14, irvs11,irvs12,irvs13,
2726 +irvs14, irvv11,irvv12,irvv13,irvv14
2728 COMMON /projk/ iprojk
2729 common/rptshm/rproj,rtarg,bimpac
2751 COMMON /nucjtn/nonuj1,nonujt,nonus1,nonust
2752 COMMON /xsvthr/ xsthr,xvthr,xdthr,xssthr
2753 COMMON /minij/iminij,nomje,nomjer,nrejev,nomjt,nomjtr
2756 COMMON /sincha/isicha
2757 COMMON /zsea/zseaav,zseasu,anzsea
2769 IF(nchvv1(
n).EQ.99.AND.nchvv2(
n).EQ.99)go to 20
2774 inucpr=ifrovp(ixvpr)
2777 inucta=ifrovt(ixvta)
2779 xmax1=xpvq(ixvpr)+xpvd(ixvpr)-xvthr-xdthr
2780 xmax2=xtvq(ixvta)+xtvd(ixvta)-xvthr-xdthr
2783 IF(ipev.GE.1)
WRITE(6,
'(A,2I5,3F9.3)')
' KKEVVV,bef xptfl:n,nvv'
2784 * ,
n,nvv,xmax1,xmax2
2785 IF (iminij.EQ.1)
THEN
2786 CALL
xptfl(nhard,nsea,ireg,xmax1,xmax2)
2791 zseaav=zseasu/anzsea
2793 IF(ipev.GE.1)
WRITE(6,
'(A,3I10)')
' VV,xptfl:nhard,nsea,ireg '
2795 IF(ireg.EQ.1)nhard=0
2801 IF (nhard.GE.1.AND.iminij.EQ.1)
THEN
2802 DO 71 ixx=nonuj1,nonujt
2806 IF (xpvq(ixvpr)-xjq1(ixx).GT.xvthr)
THEN
2807 xpvq(ixvpr)=xpvq(ixvpr)-xjq1(ixx)
2809 ELSEIF (xpvd(ixvpr)-xjq1(ixx).GT.xdthr)
THEN
2810 xpvd(ixvpr)=xpvd(ixvpr)-xjq1(ixx)
2817 pqp=gamcm*prmom(3,inucpr)+bgcm*prmom(4,inucpr)
2818 pqe=gamcm*prmom(4,inucpr)+bgcm*prmom(3,inucpr)
2819 pqpq=gamcm*pvqpz+bgcm*pvqe
2820 pqeq=gamcm*pvqe+bgcm*pvqpz
2821 pqpd=gamcm*pvdqpz+bgcm*pvdqe
2822 pqed=gamcm*pvdqe+bgcm*pvdqpz
2823 WRITE(6,1655)prmom(3,inucpr),prmom(4,inucpr),pqp,pqe,
2824 + xpvq(ixvpr),xpvd(ixvpr),ixvpr
2825 WRITE(6,1656)pvqpz,pvqe,pqpq,pqeq
2826 WRITE(6,1657)pvdqpz,pvdqe,pqpd,pqed
2832 IF (nhard.GE.1.AND.iminij.EQ.1)
THEN
2833 DO 771 ixx=nonuj1,nonujt
2835 IF (jhkke1(ixx).EQ.0)
THEN
2839 IF (xtvq(ixvta)-xjq2(ixx).GT. xvthr)
THEN
2840 xtvq(ixvta)=xtvq(ixvta)-xjq2(ixx)
2843 ELSEIF(xtvd(ixvta)-xjq2(ixx).GT.xdthr)
THEN
2844 xtvd(ixvta)=xtvd(ixvta)-xjq2(ixx)
2849 IF (jhkke1(ixx).EQ.1)
THEN
2850 xpvq(ixvpr)=xpvq(ixvpr)+xjq1(ixx)
2851 ELSEIF(jhkke1(ixx).EQ.2)
THEN
2852 xpvd(ixvpr)=xpvd(ixvpr)+xjq1(ixx)
2861 IF(ipev.GE.1)
WRITE(6,
'(A,3I10)')
' VV,NSEA:NONUS1,NONUST '
2862 * ,nsea,nonus1,nonust
2863 DO 271 ixx=nonus1,nonust
2867 IF (xpvq(ixvpr)-xsq1(ixx)-xsaq1(ixx).GT.xvthr)
THEN
2868 xpvq(ixvpr)=xpvq(ixvpr)-xsq1(ixx)-xsaq1(ixx)
2870 ELSEIF (xpvd(ixvpr)-xsq1(ixx)-xsaq1(ixx).GT.xdthr)
THEN
2871 xpvd(ixvpr)=xpvd(ixvpr)-xsq1(ixx)-xsaq1(ixx)
2878 inucta=ifrovt(ixvta)
2883 DO 2771 ixx=nonus1,nonust
2885 IF (jhkks1(ixx).EQ.0)
THEN
2889 IF (xtvq(ixvta)-xsq2(ixx)-xsaq2(ixx).GT. xvthr)
THEN
2890 xtvq(ixvta)=xtvq(ixvta)-xsq2(ixx)-xsaq2(ixx)
2893 ELSEIF(xtvd(ixvta)-xsq2(ixx)-xsaq2(ixx).GT.xdthr)
THEN
2894 xtvd(ixvta)=xtvd(ixvta)-xsq2(ixx)-xsaq2(ixx)
2899 IF (jhkks1(ixx).EQ.1)
THEN
2900 xpvq(ixvpr)=xpvq(ixvpr)+xsq1(ixx)+xsaq1(ixx)
2901 ELSEIF(jhkks1(ixx).EQ.2)
THEN
2902 xpvd(ixvpr)=xpvd(ixvpr)+xsq1(ixx)+xsaq1(ixx)
2906 IF(ipev.GE.1)
WRITE(6,
'(A,3I10)')
' VV,ixx:jhkksx,jhkks1, '
2907 * ,ixx,jhkksx(ixx),jhkks1(ixx)
2912 xmax1=xpvq(ixvpr)+xpvd(ixvpr)-xvthr-xdthr
2913 xmax2=xtvq(ixvta)+xtvd(ixvta)-xvthr-xdthr
2916 IF(ipev.GE.1)
WRITE(6,
'(A,2I5,3F9.3)')
' KKEVVV,aft xptfl:n,nvv'
2917 * ,
n,nvv,xmax1,xmax2
2922 IF(nchvv1(
n).EQ.99.AND.nchvv2(
n).EQ.99)go to 20
2926 inucpr=ifrovp(ixvpr)
2933 IF (isicha.EQ.1)
THEN
2934 IF (nbproj.LE.0)
THEN
2941 pqp=gamcm*prmom(3,inucpr)+bgcm*prmom(4,inucpr)
2951 iitsum=iiqt+iidt1+iidt2
2952 IF(iitsum.EQ.4)khtarg=1
2953 IF(iitsum.EQ.5)khtarg=8
2956 sichap=
phnsch(khproj,khtarg,phproj)
2957 IF (
rndm(v).LE.sichap)nsicha=1
2960 aaaaa=schqua(jqfsc1,jqfsc2,jqbsc1,jqbsc2)
2962 +
WRITE(6,
'(A,3I5,2F10.3,10I5)')
' KKEVVV Single chain ',
2963 + nsicha,khproj,khtarg,phproj,sichap,
2964 + iiqp,iidp1,iidp2,iiqt,iidt1,iidt2,
2965 + jqfsc1,jqfsc2,jqbsc1,jqbsc2
2966 IF(nbproj.EQ.0.AND.nsicha.EQ.1)
THEN
2969 xpvq(ixvpr)=xpvq(ixvpr)+xpvd(ixvpr)
2971 xtvd(ixvta)=xtvd(ixvta)+xtvq(ixvta)
2976 ELSEIF(nbproj.EQ.-1.AND.nsicha.EQ.1)
THEN
2979 xpvd(ixvpr)=xpvq(ixvpr)+xpvd(ixvpr)
2981 xtvd(ixvta)=xtvd(ixvta)+xtvq(ixvta)
2993 pvqpx=xpvq(ixvpr)*prmom(1,inucpr)
2994 pvqpy=xpvq(ixvpr)*prmom(2,inucpr)
2995 pvqpz=xpvq(ixvpr)*prmom(3,inucpr)
2996 pvqe =xpvq(ixvpr)*prmom(4,inucpr)
2998 pvdqpx=xpvd(ixvpr)*prmom(1,inucpr)
2999 pvdqpy=xpvd(ixvpr)*prmom(2,inucpr)
3000 pvdqpz=xpvd(ixvpr)*prmom(3,inucpr)
3001 pvdqe =xpvd(ixvpr)*prmom(4,inucpr)
3003 pqp=gamcm*prmom(3,inucpr)+bgcm*prmom(4,inucpr)
3004 pqe=gamcm*prmom(4,inucpr)+bgcm*prmom(3,inucpr)
3005 pqpq=gamcm*pvqpz+bgcm*pvqe
3006 pqeq=gamcm*pvqe+bgcm*pvqpz
3007 pqpd=gamcm*pvdqpz+bgcm*pvdqe
3008 pqed=gamcm*pvdqe+bgcm*pvdqpz
3009 WRITE(6,1655)prmom(3,inucpr),prmom(4,inucpr),pqp,pqe,
3010 + xpvq(ixvpr),xpvd(ixvpr),ixvpr
3011 1655
FORMAT(
' vv PQP,PQE ',6f12.5,i5)
3012 WRITE(6,1656)pvqpz,pvqe,pqpq,pqeq
3013 1656
FORMAT(
' vv PQPQ,PQEQ ',4f12.5)
3014 WRITE(6,1657)pvdqpz,pvdqe,pqpd,pqed
3015 1657
FORMAT(
' vv PQPD,PQED ',4f12.5)
3020 inucta=ifrovt(ixvta)
3022 tvqpx=xtvq(ixvta)*tamom(1,inucta)
3023 tvqpy=xtvq(ixvta)*tamom(2,inucta)
3024 tvqpz=xtvq(ixvta)*tamom(3,inucta)
3025 tvqe =xtvq(ixvta)*tamom(4,inucta)
3028 tvdqpx=xtvd(ixvta)*tamom(1,inucta)
3029 tvdqpy=xtvd(ixvta)*tamom(2,inucta)
3030 tvdqpz=xtvd(ixvta)*tamom(3,inucta)
3031 tvdqe =xtvd(ixvta)*tamom(4,inucta)
3033 tqp=gamcm*tamom(3,inucta)+bgcm*tamom(4,inucta)
3034 tqe=gamcm*tamom(4,inucta)+bgcm*tamom(3,inucta)
3035 tqpq=gamcm*tvqpz+bgcm*tvqe
3036 tqeq=gamcm*tvqe+bgcm*tvqpz
3037 tqpd=gamcm*tvdqpz+bgcm*tvdqe
3038 tqed=gamcm*tvdqe+bgcm*tvdqpz
3039 WRITE(6,1455)tamom(3,inucta),tamom(4,inucta),tqp,tqe
3040 1455
FORMAT(
' vv TQP,TQE ',4f12.5)
3041 WRITE(6,1456)tvqpz,tvqe,tqpq,tqeq
3042 1456
FORMAT(
' vv TQPQ,TQEQ ',4f12.5)
3043 WRITE(6,1457)tvdqpz,tvdqe,tqpd,tqed
3044 1457
FORMAT(
' vv TQPD,TQED ',4f12.5)
3045 WRITE(6,1355)xpvq(ixvpr),xpvd(ixvpr),xtvq(ixvta),
3046 * xtvd(ixvta),prmom(4,inucpr),tamom(4,inucta)
3047 1355
FORMAT(
' VV xpq.xpd,xtq,xtd,ep,et ',6f12.5)
3055 rtix=(vhkk(1,itnu))*1.e12-bimpac*0.1
3056 rtiy=vhkk(2,itnu)*1.e12
3057 rtiz=vhkk(3,itnu)*1.e12
3058 CALL
cromsc(pvqpx,pvqpy,pvqpz,pvqe,rtix,rtiy,rtiz,
3059 * pvqnx,pvqny,pvqnz,pvqne,1)
3064 CALL
cromsc(pvdqpx,pvdqpy,pvdqpz,pvdqe,rtix,rtiy,rtiz,
3065 * pvdqnx,pvdqny,pvdqnz,pvdqne,2)
3077 rtix=(vhkk(1,itnu))*1.e12-bimpac*0.1
3078 rtiy=vhkk(2,itnu)*1.e12
3079 rtiz=vhkk(3,itnu)*1.e12
3080 CALL
cromsc(tvqpx,tvqpy,tvqpz,tvqe,rtix,rtiy,rtiz,
3081 * tvqnx,tvqny,tvqnz,tvqne,3)
3086 CALL
cromsc(tvdqpx,tvdqpy,tvdqpz,tvdqe,rtix,rtiy,rtiz,
3087 * tvdqnx,tvdqny,tvdqnz,tvdqne,4)
3095 IF(ip.GE.1)go to 1779
3096 pvqpz2=pvqe**2-pvqpx**2-pvqpy**2
3097 IF(pvqpz2.GE.0.)
THEN
3105 pdqpz2=pvdqe**2-pvdqpx**2-pvdqpy**2
3106 IF(pdqpz2.GE.0.)
THEN
3114 tvqpz2=tvqe**2-tvqpx**2-tvqpy**2
3115 IF(tvqpz2.GE.0.)
THEN
3123 tdqpz2=tvdqe**2-tvdqpx**2-tvdqpy**2
3124 IF(tdqpz2.GE.0.)
THEN
3125 tvdqpz=-
sqrt(tdqpz2)
3164 WRITE(6,1050) ptxsq1,ptysq1,
3165 + plq1,eq1,ptxsa1,ptysa1,plaq1,eaq1, ptxsq2,ptysq2,plq2,eq2,
3166 + ptxsa2,ptysa2,plaq2,eaq2, amch1,amch2,irej,ikvala,pttq1,ptta1
3167 bplq1=gamcm*plq1+bgcm*eq1
3168 beq1=gamcm*eq1+bgcm*plq1
3169 bplaq1=gamcm*plaq1+bgcm*eaq1
3170 beaq1=gamcm*eaq1+bgcm*plaq1
3171 bplq2=gamcm*plq2+bgcm*eq2
3172 beq2=gamcm*eq2+bgcm*plq2
3173 bplaq2=gamcm*plaq2+bgcm*eaq2
3174 beaq2=gamcm*eaq2+bgcm*plaq2
3175 WRITE(6,1050) ptxsq1,ptysq1,
3176 + bplq1,beq1,ptxsa1,ptysa1,bplaq1,beaq1,
3177 + ptxsq2,ptysq2,bplq2,beq2,
3178 + ptxsa2,ptysa2,bplaq2,beaq2,
3179 + amch1,amch2,irej,ikvala,pttq1,ptta1
3185 IF(iouxev.GE.6)
WRITE(6,
'(A)')
' KKEVVV call SELPT'
3186 CALL
selpt( ptxsq1,ptysq1,plq1,eq1,
3187 + ptxsa1,ptysa1,plaq1,eaq1,
3188 + ptxsq2,ptysq2,plq2,eq2,
3189 + ptxsa2,ptysa2,plaq2,eaq2,
3191 + irej,ikvala,pttq1,ptta1,
3195 IF(nbproj.EQ.-1)
THEN
3196 IF(iouxev.GE.6)
WRITE(6,
'(A)')
' KKEVVV call SELPT'
3197 CALL
selpt( ptxsq1,ptysq1,plq1,eq1,
3198 + ptxsa1,ptysa1,plaq1,eaq1,
3199 + ptxsa2,ptysa2,plaq2,eaq2,
3200 + ptxsq2,ptysq2,plq2,eq2,
3202 + irej,ikvala,pttq1,ptta1,
3208 IF(nsicha.EQ.1.AND.nbproj.EQ.0)
THEN
3209 CALL
selpts( ptxsq1,ptysq1,
3211 + ptysa2,plaq2,eaq2, amch1,irej,ikvala,pttq1)
3213 IF(nsicha.EQ.1.AND.nbproj.EQ.-1)
THEN
3214 CALL
selpts( ptxsa1,ptysa1,
3215 + plaq1,eaq1,ptxsa2,
3216 + ptysa2,plaq2,eaq2, amch2,irej,ikvala,ptta1)
3220 WRITE(6,1050) ptxsq1,ptysq1,
3221 + plq1,eq1,ptxsa1,ptysa1,plaq1,eaq1, ptxsq2,ptysq2,plq2,eq2,
3222 + ptxsa2,ptysa2,plaq2,eaq2, amch1,amch2,irej,ikvala,pttq1,ptta1
3228 WRITE(6,1100) irvv13
3229 WRITE(6,1050) ptxsq1,
3230 + ptysq1,plq1,eq1,ptxsa1,ptysa1,plaq1,eaq1, ptxsq2,ptysq2,
3231 + plq2,eq2,ptxsa2,ptysa2,plaq2,eaq2, amch1,amch2,irej,ikvala,
3240 ptxch1=ptxsq1 + ptxsa2
3241 ptych1=ptysq1 + ptysa2
3244 ptxch2=ptxsq2 + ptxsa1
3245 ptych2=ptysq2 + ptysa1
3249 IF(nbproj.EQ.-1)
THEN
3250 ptxch1=ptxsq1 + ptxsq2
3251 ptych1=ptysq1 + ptysq2
3254 ptxch2=ptxsa2 + ptxsa1
3255 ptych2=ptysa2 + ptysa1
3256 ptzch2=plaq2 + plaq1
3259 ammm=
sqrt((ech1+ech2)**2-(ptxch1+ptxch2)**2
3260 + -(ptych1+ptych2)**2-(ptzch1+ptzch2)**2)
3262 IF (ipev.GE.6)
WRITE(6,1040) irej,
3263 + amch1,ptxch1,ptych1,ptzch1,ech1, amch2,ptxch2,ptych2,ptzch2,ech2
3273 IF(nbproj.GE.0)
THEN
3274 CALL
cobcma(ipvq(ixvpr),ittv1(ixvta),ittv2(ixvta), ijnch1,
3275 + nnch1,irej,amch1,amch1n,1)
3277 CALL
comcma(itvq(ixvta),ipvq(ixvpr), ijnch1,nnch1,irej,amch1,
3285 WRITE(6,1110) irvv11
3286 WRITE(6,1060) ipvq(ixvpr),ittv1(ixvta),ittv2(ixvta), ijnch1,
3287 + nnch1,irej, xpvq(ixvpr),xpvd(ixvpr),xpvqcm,xpvdcm, xtvq
3288 + (ixvta),xtvd(ixvta),amch1,amch1n
3296 IF(nbproj.GE.0)
THEN
3297 CALL
cormom(amch1,amch2,amch1n,amch2n,
3298 + ptxsq1,ptysq1,plq1,eq1,
3299 + ptxsa1,ptysa1,plaq1,eaq1,
3300 + ptxsq2,ptysq2,plq2,eq2,
3301 + ptxsa2,ptysa2,plaq2,eaq2,
3302 + ptxch1,ptych1,ptzch1,ech1,
3303 + ptxch2,ptych2,ptzch2,ech2,irej)
3306 CALL
cormom(amch1,amch2,amch1n,amch2n,
3307 + ptxsq1,ptysq1,plq1,eq1,
3308 + ptxsa1,ptysa1,plaq1,eaq1,
3309 + ptxsa2,ptysa2,plaq2,eaq2,
3310 + ptxsq2,ptysq2,plq2,eq2,
3311 + ptxch1,ptych1,ptzch1,ech1,
3312 + ptxch2,ptych2,ptzch2,ech2,irej)
3316 IF(ipev.GE.1)
WRITE(6,
'(A)')
' vv cormom rej'
3320 IF (ipev.GE.1)
WRITE(6,1040) irej,
3321 + amch1,ptxch1,ptych1,ptzch1,ech1, amch2,ptxch2,ptych2,ptzch2,
3331 IF(nbproj.GT.0)
THEN
3332 CALL
cobcma(itvq(ixvta),ippv1(ixvpr),ippv2(ixvpr), ijnch2,
3333 + nnch2,irej,amch2,amch2n,2)
3334 ELSEIF(nbproj.EQ.0)
THEN
3335 CALL
comcma(itvq(ixvta),ippv1(ixvpr), ijnch2,nnch2,irej,amch2,
3338 CALL
comcm2(ittv1(ixvta),ittv2(ixvta), ippv1(ixvpr),ippv2
3339 + (ixvpr), nnch2,irej,amch2)
3350 WRITE(6,1120) irvv12
3351 WRITE(6,1080) ippv1(ixvpr),ippv2(ixvpr),ittv1(ixvta), ittv2
3352 + (ixvta),ijnch2,nnch2,irej, xpvq(ixvpr),xpvd(ixvpr),xpvqcm,
3353 + xpvdcm, xtvq(ixvta),xtvd(ixvta),xtvqcm,xtvdcm, amch2,amch2n
3362 ammm=
sqrt((ech1+ech2)**2-(ptxch1+ptxch2)**2
3363 + -(ptych1+ptych2)**2-(ptzch1+ptzch2)**2)
3368 gammm=eee/(ammm+1.
e-4)
3369 bgggx=pxxx/(ammm+1.
e-4)
3370 bgggy=pyyy/(ammm+1.
e-4)
3371 bgggz=pzzz/(ammm+1.
e-4)
3375 CALL
daltra(gammm,-bgggx,-bgggy,-bgggz,
3376 + ptxch1,ptych1,ptzch1,ech1,
3377 + pppch1, qtxch1,qtych1,qtzch1,qech1)
3379 CALL
daltra(gammm,-bgggx,-bgggy,-bgggz,
3380 + ptxch2,ptych2,ptzch2,ech2,
3381 + pppch2, qtxch2,qtych2,qtzch2,qech2)
3387 CALL
corval(ammm,irej,amch1,amch2, qtxch1,qtych1,qtzch1,qech1,
3388 + qtxch2,qtych2,qtzch2,qech2,norig)
3393 CALL
daltra(gammm,bgggx,bgggy,bgggz, qtxch1,qtych1,qtzch1,qech1,
3394 + pppch1, ptxch1,ptych1,ptzch1,ech1)
3396 CALL
daltra(gammm,bgggx,bgggy,bgggz, qtxch2,qtych2,qtzch2,qech2,
3397 + pppch2, ptxch2,ptych2,ptzch2,ech2)
3401 WRITE(6,
'(A/3(1PE15.4),3I5)')
3402 +
' VV - CALL CORVAL: AMMM, AMCH1, AMCH2, NNCH1, NNCH2, IREJ',
3403 + ammm, amch1, amch2, nnch1, nnch2, irej
3406 IF(ipev.GE.1)
WRITE(6,
'(A)')
' vv14 rej.'
3448 ihkkpd=jhkkpv(ixvpr)
3451 IF(nbproj.GE.0)
THEN
3452 ihkktd=jhkktv(ixvta)
3455 ihkkto=jhkktv(ixvta)
3461 WRITE(6,1000) ixvpr,inucpr,ihkkpo,ihkkpd
3462 1000
FORMAT (
' IXVPR,INUCPR,IHKKPO,IHKKPD ',5i5)
3463 WRITE(6,1010) ixvta,inucta,ihkkto,ihkktd
3464 1010
FORMAT (
' IXVTA,INUCTA,IHKKTO,IHKKTD ',5i5)
3469 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
3473 idhkk(nhkk)=idhkk(ihkkpo)
3474 jmohkk(1,nhkk)=ihkkpo
3475 jmohkk(2,nhkk)=jmohkk(1,ihkkpo)
3476 jdahkk(1,nhkk)=nhkk+2
3477 jdahkk(2,nhkk)=nhkk+2
3478 phkk(1,nhkk)=pqvva1(
n,1)
3479 phkk(2,nhkk)=pqvva1(
n,2)
3480 phkk(3,nhkk)=pqvva1(
n,3)
3481 phkk(4,nhkk)=pqvva1(
n,4)
3484 vhkk(1,nhkk)=vhkk(1,ihkkpo)+xxpp
3485 vhkk(2,nhkk)=vhkk(2,ihkkpo)+yypp
3486 vhkk(3,nhkk)=vhkk(3,ihkkpo)
3487 vhkk(4,nhkk)=vhkk(4,ihkkpo)
3489 IF (iphkk.GE.2)
WRITE(6,1020) nhkk,isthkk(nhkk),idhkk(nhkk),
3490 + jmohkk(1,nhkk),jmohkk(2,nhkk), jdahkk(1,nhkk),jdahkk(2,nhkk),
3491 + (phkk(khkk,nhkk),khkk=1,5), (vhkk(khkk,nhkk),khkk=1,4)
3493 1020
FORMAT (i6,i4,5i6,9e10.2)
3497 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
3501 idhkk(nhkk)=idhkk(ihkktd)
3502 jmohkk(1,nhkk)=ihkktd
3503 jmohkk(2,nhkk)=jmohkk(1,ihkktd)
3504 jdahkk(1,nhkk)=nhkk+1
3505 jdahkk(2,nhkk)=nhkk+1
3506 phkk(1,nhkk)=pqvva2(
n,1)
3507 phkk(2,nhkk)=pqvva2(
n,2)
3508 phkk(3,nhkk)=pqvva2(
n,3)
3509 phkk(4,nhkk)=pqvva2(
n,4)
3512 vhkk(1,nhkk)=vhkk(1,ihkktd)+xxpp
3513 vhkk(2,nhkk)=vhkk(2,ihkktd)+yypp
3514 vhkk(3,nhkk)=vhkk(3,ihkktd)
3515 vhkk(4,nhkk)=vhkk(4,ihkktd)
3517 IF (iphkk.GE.2)
WRITE(6,1020) nhkk,isthkk(nhkk),idhkk(nhkk),
3518 + jmohkk(1,nhkk),jmohkk(2,nhkk), jdahkk(1,nhkk),jdahkk(2,nhkk),
3519 + (phkk(khkk,nhkk),khkk=1,5), (vhkk(khkk,nhkk),khkk=1,4)
3525 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
3529 idhkk(nhkk)=88888+nnch1
3530 IF(nchvv1(
n).EQ.99)idhkk(nhkk)=77777
3531 jmohkk(1,nhkk)=nhkk-2
3532 jmohkk(2,nhkk)=nhkk-1
3543 vhkk(1,nhkk)= vhkk(1,nhkk-1)
3544 vhkk(2,nhkk)= vhkk(2,nhkk-1)
3545 vhkk(3,nhkk)= vhkk(3,nhkk-1)
3546 vhkk(4,nhkk)=vhkk(3,nhkk)/betp-vhkk(3,nhkk-2)/bgamp
3548 IF (iprojk.EQ.1)
THEN
3549 whkk(1,nhkk)= vhkk(1,nhkk-2)
3550 whkk(2,nhkk)= vhkk(2,nhkk-2)
3551 whkk(3,nhkk)= vhkk(3,nhkk-2)
3552 whkk(4,nhkk)=vhkk(4,nhkk)*gamp-vhkk(3,nhkk)*bgamp
3553 IF (iphkk.GE.2)
WRITE(6,1020) nhkk,isthkk(nhkk),idhkk(nhkk),
3554 + jmohkk(1,nhkk),jmohkk(2,nhkk), jdahkk(1,nhkk),jdahkk(2,nhkk),
3555 + (phkk(khkk,nhkk),khkk=1,5), (whkk(khkk,nhkk),khkk=1,4)
3559 IF (iphkk.GE.1)
WRITE(6,1020) nhkk,isthkk(nhkk),idhkk(nhkk),
3560 + jmohkk(1,nhkk),jmohkk(2,nhkk), jdahkk(1,nhkk),jdahkk(2,nhkk),
3561 + (phkk(khkk,nhkk),khkk=1,5), (vhkk(khkk,nhkk),khkk=1,4)
3568 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
3572 idhkk(nhkk)=idhkk(ihkkpd)
3573 jmohkk(1,nhkk)=ihkkpd
3574 jmohkk(2,nhkk)=jmohkk(1,ihkkpd)
3575 jdahkk(1,nhkk)=nhkk+2
3576 jdahkk(2,nhkk)=nhkk+2
3577 phkk(1,nhkk)=pqvvb1(
n,1)
3578 phkk(2,nhkk)=pqvvb1(
n,2)
3579 phkk(3,nhkk)=pqvvb1(
n,3)
3580 phkk(4,nhkk)=pqvvb1(
n,4)
3583 vhkk(1,nhkk)=vhkk(1,ihkkpd)+xxpp
3584 vhkk(2,nhkk)=vhkk(2,ihkkpd)+yypp
3585 vhkk(3,nhkk)=vhkk(3,ihkkpd)
3586 vhkk(4,nhkk)=vhkk(4,ihkkpd)
3588 IF (iphkk.GE.2)
WRITE(6,1020) nhkk,isthkk(nhkk),idhkk(nhkk),
3589 + jmohkk(1,nhkk),jmohkk(2,nhkk), jdahkk(1,nhkk),jdahkk(2,nhkk),
3590 + (phkk(khkk,nhkk),khkk=1,5), (vhkk(khkk,nhkk),khkk=1,4)
3595 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
3599 idhkk(nhkk)=idhkk(ihkkto)
3600 jmohkk(1,nhkk)=ihkkto
3601 jmohkk(2,nhkk)=jmohkk(1,ihkkto)
3602 jdahkk(1,nhkk)=nhkk+1
3603 jdahkk(2,nhkk)=nhkk+1
3604 phkk(1,nhkk)=pqvvb2(
n,1)
3605 phkk(2,nhkk)=pqvvb2(
n,2)
3606 phkk(3,nhkk)=pqvvb2(
n,3)
3607 phkk(4,nhkk)=pqvvb2(
n,4)
3610 vhkk(1,nhkk)=vhkk(1,ihkkto)+xxpp
3611 vhkk(2,nhkk)=vhkk(2,ihkkto)+yypp
3612 vhkk(3,nhkk)=vhkk(3,ihkkto)
3613 vhkk(4,nhkk)=vhkk(4,ihkkto)
3615 IF (iphkk.GE.2)
WRITE(6,1020) nhkk,isthkk(nhkk),idhkk(nhkk),
3616 + jmohkk(1,nhkk),jmohkk(2,nhkk), jdahkk(1,nhkk),jdahkk(2,nhkk),
3617 + (phkk(khkk,nhkk),khkk=1,5), (vhkk(khkk,nhkk),khkk=1,4)
3623 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
3627 idhkk(nhkk)=88888+nnch2
3628 IF(nchvv2(
n).EQ.99)idhkk(nhkk)=77777
3629 jmohkk(1,nhkk)=nhkk-2
3630 jmohkk(2,nhkk)=nhkk-1
3641 vhkk(1,nhkk)= vhkk(1,nhkk-1)
3642 vhkk(2,nhkk)= vhkk(2,nhkk-1)
3643 vhkk(3,nhkk)= vhkk(3,nhkk-1)
3644 vhkk(4,nhkk)=vhkk(3,nhkk)/betp-vhkk(3,nhkk-2)/bgamp
3646 IF (iprojk.EQ.1)
THEN
3647 whkk(1,nhkk)= vhkk(1,nhkk-2)
3648 whkk(2,nhkk)= vhkk(2,nhkk-2)
3649 whkk(3,nhkk)= vhkk(3,nhkk-2)
3650 whkk(4,nhkk)=vhkk(4,nhkk)*gamp-vhkk(3,nhkk)*bgamp
3651 IF (iphkk.GE.1)
WRITE(6,1020) nhkk,isthkk(nhkk),idhkk(nhkk),
3652 + jmohkk(1,nhkk),jmohkk(2,nhkk), jdahkk(1,nhkk),jdahkk(2,nhkk),
3653 + (phkk(khkk,nhkk),khkk=1,5), (whkk(khkk,nhkk),khkk=1,4)
3657 IF (iphkk.GE.1)
WRITE(6,1020) nhkk,isthkk(nhkk),idhkk(nhkk),
3658 + jmohkk(1,nhkk),jmohkk(2,nhkk), jdahkk(1,nhkk),jdahkk(2,nhkk),
3659 + (phkk(khkk,nhkk),khkk=1,5), (vhkk(khkk,nhkk),khkk=1,4)
3668 IF(amch1.GT.0.d0)
THEN
3669 gacvv1(
n)=qech1/amch1
3670 bgxvv1(
n)=qtxch1/amch1
3671 bgyvv1(
n)=qtych1/amch1
3672 bgzvv1(
n)=qtzch1/amch1
3679 IF(amch2.GT.0.d0)
THEN
3680 gacvv2(
n)=qech2/amch2
3681 bgxvv2(
n)=qtxch2/amch2
3682 bgyvv2(
n)=qtych2/amch2
3683 bgzvv2(
n)=qtzch2/amch2
3695 IF(nsicha.EQ.1.AND.ibproj.EQ.0)
THEN
3699 IF(nsicha.EQ.1.AND.ibproj.EQ.-1)
THEN
3708 IF (ipev.GE.6)
WRITE(6,1030)
n, xpvq(ixvpr),xpvd(ixvpr),xtvq
3709 + (ixvta),xtvd(ixvta), ipvq(ixvpr),ippv1(ixvpr),ippv2(ixvpr), itvq
3710 + (ixvta),ittv1(ixvta),ittv2(ixvta), amcvv1(
n),amcvv2(
n),gacvv1
3711 + (
n),gacvv2(
n), bgxvv1(
n),bgyvv1(
n),bgzvv1(
n), bgxvv2(
n),bgyvv2
3712 + (
n),bgzvv2(
n), nchvv1(
n),nchvv2(
n),ijcvv1(
n),ijcvv2(
n), (pqvva1
3713 + (
n,ju),pqvva2(
n,ju),pqvvb1(
n,ju), pqvvb2(
n,ju),ju=1,4)
3727 1030
FORMAT(i10,4f12.7,6i5/10
x,4f12.6/10
x,6f12.6,4i5/8f15.5/8f15.5)
3728 1040
FORMAT (
' VV IREJ ',i10/
3729 +
' AMCH1,PTXCH1,PTYCH1,PTZCH1,ECH1 ',5f12.5/
3730 +
' AMCH2,PTXCH2,PTYCH2,PTZCH2,ECH2 ',5f12.5)
3731 1050
FORMAT(
' VV',4(4e12.4/),2e12.4/2i5/4e12.4)
3732 1060
FORMAT(
' VV',6i5/6e12.4/2e12.4)
3733 1070
FORMAT(
' VV',5i5/2(4e12.4/),2e12.4)
3734 1080
FORMAT(
' VV',7i5/2(4e12.4/),2e12.4)
3735 1090
FORMAT(
' VV',4i5/6e12.4/2e12.4)
3736 1100
FORMAT(
' KKEVT - IRVV13=',i5)
3737 1110
FORMAT(
' KKEVT - IRVV11=',i5)
3738 1120
FORMAT(
' KKEVT - IRVV12=',i5)
3746 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
3755 COMMON /hkkevt/ nhkk,nevhkk,isthkk(
nmxhkk),idhkk(
nmxhkk), jmohkk
3847 COMMON /dxqx/ xpvq(248),xpvd(248),xtvq(248),xtvd(248), xpsq
3849 * ,xpsu(248),xtsu(248)
3850 * ,xpsut(248),xtsut(248)
3852 COMMON /intnew/ nvv,nsv,nvs,nss,ndv,nvd,nds,nsd,
3853 +ixpv,ixps,ixtv,ixts, intvv1(248),
3854 +intvv2(248),intsv1(248),intsv2(248), intvs1(248),intvs2(248),
3856 +intdv1(248),intdv2(248),intvd1(248),intvd2(248),
3870 COMMON /ifroto/ ifrovp(248),itovp(248),ifrosp(
intmx), ifrovt(248),
3876 +mhkkdv(248),mhkkvd(248), mhkkds(
intmd),mhkksd(
intmd)
3878 LOGICAL zuovp,zuosp,zuovt,zuost,intlo,inloss
3879 COMMON /lozuo/ zuovp(248),zuosp(
intmx),zuovt(248),zuost(
intmx),
3886 COMMON /diqi/ ipvq(248),ippv1(248),ippv2(248), itvq(248),ittv1
3889 +itsaq(
intmx),itsaq2(
intmx),kkproj(248),kktarg(248)
3898 COMMON /trafop/ gamp,bgamp,betp
3900 COMMON /nucimp/ prmom(5,248),tamom(5,248), prmfep,prmfen,tamfep,
3901 +tamfen, prefep,prefen,taefep,taefen, prepot(210),taepot(210),
3902 +prebin,taebin,fermod,etacou
3904 LOGICAL intpt,fermp,ihadss,ihadsv,ihadvs,ihadvv,ihada, ipadis,
3906 COMMON /droppt/ intpt,fermp,ihadss,ihadsv,ihadvs,ihadvv,ihada,
3907 +ipadis,ishmal,lpauli
3909 COMMON /dprin/ ipri,ipev,ippa,ipco,
init,iphkk,itopd,ipaupr
3911 COMMON /rejec/ irco1,irco2,irco3,irco4,irco5, irss11,irss12,
3912 +irss13,irss14, irsv11,irsv12,irsv13,irsv14, irvs11,irvs12,irvs13,
3913 +irvs14, irvv11,irvv12,irvv13,irvv14
3915 COMMON /projk/ iprojk
3916 COMMON /nucc/ it,itz,ip,ipz,ijproj,ibproj,ijtarg,ibtarg
3917 common/rptshm/rproj,rtarg,bimpac
3929 COMMON /nucjtn/nonuj1,nonujt,nonus1,nonust
3930 COMMON /xsvthr/ xsthr,xvthr,xdthr,xssthr
3931 COMMON /minij/iminij,nomje,nomjer,nrejev,nomjt,nomjtr
3941 COMMON /zsea/zseaav,zseasu,anzsea
3944 IF(nrejev.GE.0)xsothr=0.
3947 IF(ipev.GE.4)
WRITE(6,*)
' KKEVSS:NSS ',nss
3951 IF(ipev.GE.4)
WRITE(6,*)
' KKEVSS:NCHSS1(N),NCHSS2(N)',
3952 * nchss1(
n),nchss2(
n)
3953 IF(nchss1(
n).EQ.99.AND.nchss2(
n).EQ.99)go to 20
3966 inucpr=ifrosp(ixspr)
3967 jnucpr=itovp(inucpr)
3971 iifrop=ifrosp(ixspr)
3975 iifrot=ifrost(ixsta)
3978 xmax1=xpsq(ixspr)+xpsaq(ixspr)+xpvq(ixvpr)+xpvd(ixvpr)
3979 * -2.d0*xsothr-xvthr-xdthr
3980 xmax2=xtsq(ixsta)+xtsaq(ixsta)+xtvq(ixvta)+xtvd(ixvta)
3981 * -2.d0*xsothr-xvthr-xdthr
3983 IF(ipev.GE.1)
WRITE(6,
'(A,2I5,4F9.3/A,2I5,4F9.3/A,3F9.3)')
3984 *
'IXSPR,IXVPR,XPSQ(IXSPR),XPSAQ(IXSPR),XPVQ(IXVPR),XPVD(IXVPR)'
3985 *,ixspr,ixvpr,xpsq(ixspr),xpsaq(ixspr),xpvq(ixvpr),xpvd(ixvpr),
3986 *
'IXSTA,IXVTA,XTSQ(IXSTA),XTSAQ(IXSTA),XTVQ(IXVTA),XTVD(IXVTA)'
3987 *,ixsta,ixvta,xtsq(ixsta),xtsaq(ixsta),xtvq(ixvta),xtvd(ixvta),
3988 *
'XSOTHR,XVTHR,XDTHR'
3989 *,xsothr,xvthr,xdthr
3990 IF(ipev.GE.1)
WRITE(6,
'(A,2I5,2F9.3)')
' KKEVSS,bef xptfl:n,nss'
3991 * ,
n,nss,xmax1,xmax2
3992 IF (iminij.EQ.1)
THEN
3993 CALL
xptfl(nhard,nsea,ireg,xmax1,xmax2)
3998 zseaav=zseasu/anzsea
4000 IF(ipev.GE.1)
WRITE(6,
'(A,3I10)')
' SS,xptfl:nhard,nsea,ireg '
4002 IF(ireg.EQ.1)nhard=0
4007 IF (nhard.GE.1.AND.iminij.EQ.1)
THEN
4008 DO 71 ixx=nonuj1,nonujt
4012 IF (xpsq(ixspr)-xjq1(ixx).GE.xsothr)
THEN
4013 xpsq(ixspr)=xpsq(ixspr)-xjq1(ixx)
4015 ELSEIF (xpsaq(ixspr)-xjq1(ixx).GE.xsothr)
THEN
4016 xpsaq(ixspr)=xpsaq(ixspr)-xjq1(ixx)
4018 ELSEIF (xpsaq(ixspr)-xjq1(ixx)/2..GE.xsothr.AND.
4019 * xpsq(ixspr)-xjq1(ixx)/2..GE.xsothr)
THEN
4020 xpsq(ixspr)=xpsq(ixspr)-xjq1(ixx)/2.
4021 xpsaq(ixspr)=xpsaq(ixspr)-xjq1(ixx)/2.
4023 ELSEIF (xpsq(ixspr1)-xjq1(ixx).GE.xsothr)
THEN
4024 xpsq(ixspr1)=xpsq(ixspr1)-xjq1(ixx)
4026 ELSEIF (xpsaq(ixspr1)-xjq1(ixx).GE.xsothr)
THEN
4027 xpsaq(ixspr1)=xpsaq(ixspr1)-xjq1(ixx)
4029 ELSEIF (xpsaq(ixspr1)-xjq1(ixx)/2..GE.xsothr.AND.
4030 * xpsq(ixspr1)-xjq1(ixx)/2..GE.xsothr)
THEN
4031 xpsq(ixspr1)=xpsq(ixspr1)-xjq1(ixx)/2.
4032 xpsaq(ixspr1)=xpsaq(ixspr1)-xjq1(ixx)/2.
4034 ELSEIF (xpvq(ixvpr)-xjq1(ixx).GE.xvthr)
THEN
4035 xpvq(ixvpr)=xpvq(ixvpr)-xjq1(ixx)
4037 ELSEIF(xpvd(ixvpr)-xjq1(ixx).GE.xdthr)
THEN
4038 xpvd(ixvpr)=xpvd(ixvpr)-xjq1(ixx)
4053 inucta=ifrost(ixsta)
4054 jnucta=itovt(inucta)
4059 iifrot=ifrost(ixsta)
4062 IF (nhard.GE.1.AND.iminij.EQ.1)
THEN
4063 DO 771 ixx=nonuj1,nonujt
4065 IF(jhkke1(ixx).EQ.0)
THEN
4069 IF (xtsq(ixsta)-xjq2(ixx).GE.xsothr)
THEN
4070 xtsq(ixsta)=xtsq(ixsta)-xjq2(ixx)
4073 ELSEIF (xtsaq(ixsta)-xjq2(ixx).GE.xsothr)
THEN
4074 xtsaq(ixsta)=xtsaq(ixsta)-xjq2(ixx)
4077 ELSEIF (xtsaq(ixsta)-xjq2(ixx)/2..GE.xsothr.AND.
4078 * xtsq(ixsta)-xjq2(ixx)/2..GE.xsothr)
THEN
4079 xtsaq(ixsta)=xtsaq(ixsta)-xjq2(ixx)/2.
4080 xtsq(ixsta)=xtsq(ixsta)-xjq2(ixx)/2.
4083 ELSEIF (xtsq(ixsta1)-xjq2(ixx).GE.xsothr)
THEN
4084 xtsq(ixsta1)=xtsq(ixsta1)-xjq2(ixx)
4087 ELSEIF (xtsaq(ixsta1)-xjq2(ixx).GE.xsothr)
THEN
4088 xtsaq(ixsta1)=xtsaq(ixsta1)-xjq2(ixx)
4091 ELSEIF (xtsaq(ixsta1)-xjq2(ixx)/2..GE.xsothr.AND.
4092 * xtsq(ixsta1)-xjq2(ixx)/2..GE.xsothr)
THEN
4093 xtsaq(ixsta1)=xtsaq(ixsta1)-xjq2(ixx)/2.
4094 xtsq(ixsta1)=xtsq(ixsta1)-xjq2(ixx)/2.
4097 ELSEIF (xtvq(ixvta)-xjq2(ixx).GE.xvthr)
THEN
4098 xtvq(ixvta)=xtvq(ixvta)-xjq2(ixx)
4101 ELSEIF(xtvd(ixvta)-xjq2(ixx).GE.xdthr)
THEN
4102 xtvd(ixvta)=xtvd(ixvta)-xjq2(ixx)
4107 IF (jhkke1(ixx).EQ.1)
THEN
4108 xpsq(ixspr)=xpsq(ixspr)+xjq1(ixx)
4109 ELSEIF (jhkke1(ixx).EQ.2)
THEN
4110 xpsaq(ixspr)=xpsaq(ixspr)+xjq1(ixx)
4111 ELSEIF (jhkke1(ixx).EQ.3)
THEN
4112 xpvq(ixvpr)=xpvq(ixvpr)+xjq1(ixx)
4113 ELSEIF (jhkke1(ixx).EQ.4)
THEN
4114 xpvd(ixvpr)=xpvd(ixvpr)+xjq1(ixx)
4115 ELSEIF (jhkke1(ixx).EQ.5)
THEN
4116 xpsq(ixspr)=xpsq(ixspr)+xjq1(ixx)/2.
4117 xpsaq(ixspr)=xpsaq(ixspr)+xjq1(ixx)/2.
4118 ELSEIF (jhkke1(ixx).EQ.6)
THEN
4119 xpsq(ixspr1)=xpsq(ixspr1)+xjq1(ixx)
4120 ELSEIF (jhkke1(ixx).EQ.7)
THEN
4121 xpsaq(ixspr1)=xpsaq(ixspr1)+xjq1(ixx)
4122 ELSEIF (jhkke1(ixx).EQ.8)
THEN
4123 xpsq(ixspr1)=xpsq(ixspr1)+xjq1(ixx)/2.
4124 xpsaq(ixspr1)=xpsaq(ixspr1)+xjq1(ixx)/2.
4133 DO 271 ixx=nonus1,nonust
4137 IF (xpsq(ixspr)-xsq1(ixx)-xsaq1(ixx).GT.xvthr)
THEN
4138 xpsq(ixspr)=xpsq(ixspr)-xsq1(ixx)-xsaq1(ixx)
4140 ELSEIF (xpsaq(ixspr)-xsq1(ixx)-xsaq1(ixx).GT.xvthr)
THEN
4141 xpsaq(ixspr)=xpsaq(ixspr)-xsq1(ixx)-xsaq1(ixx)
4143 ELSEIF (xpvq(ixvpr)-xsq1(ixx)-xsaq1(ixx).GT.xvthr)
THEN
4144 xpvq(ixvpr)=xpvq(ixvpr)-xsq1(ixx)-xsaq1(ixx)
4146 ELSEIF (xpvd(ixvpr)-xsq1(ixx)-xsaq1(ixx).GT.xdthr)
THEN
4147 xpvd(ixvpr)=xpvd(ixvpr)-xsq1(ixx)-xsaq1(ixx)
4153 inucta=ifrovt(ixvta)
4158 DO 2771 ixx=nonus1,nonust
4160 IF (jhkks1(ixx).EQ.0)
THEN
4164 IF (xtsq(ixsta)-xsq2(ixx)-xsaq2(ixx).GT. xvthr)
THEN
4165 xtsq(ixsta)=xtsq(ixsta)-xsq2(ixx)-xsaq2(ixx)
4168 ELSEIF (xtsaq(ixsta)-xsq2(ixx)-xsaq2(ixx).GT. xvthr)
THEN
4169 xtsaq(ixsta)=xtsaq(ixsta)-xsq2(ixx)-xsaq2(ixx)
4172 ELSEIF (xtvq(ixvta)-xsq2(ixx)-xsaq2(ixx).GT. xvthr)
THEN
4173 xtvq(ixvta)=xtvq(ixvta)-xsq2(ixx)-xsaq2(ixx)
4176 ELSEIF(xtvd(ixvta)-xsq2(ixx)-xsaq2(ixx).GT.xdthr)
THEN
4177 xtvd(ixvta)=xtvd(ixvta)-xsq2(ixx)-xsaq2(ixx)
4182 IF (jhkks1(ixx).EQ.1)
THEN
4183 xpvq(ixvpr)=xpvq(ixvpr)+xsq1(ixx)+xsaq1(ixx)
4184 ELSEIF(jhkks1(ixx).EQ.2)
THEN
4185 xpvd(ixvpr)=xpvd(ixvpr)+xsq1(ixx)+xsaq1(ixx)
4186 ELSEIF(jhkks1(ixx).EQ.3)
THEN
4187 xpsq(ixspr)=xpsq(ixspr)+xsq1(ixx)+xsaq1(ixx)
4188 ELSEIF(jhkks1(ixx).EQ.4)
THEN
4189 xpsaq(ixspr)=xpsaq(ixspr)+xsq1(ixx)+xsaq1(ixx)
4196 xmax1=xpsq(ixspr)+xpsaq(ixspr)+xpvq(ixvpr)+xpvd(ixvpr)
4197 * -2.d0*xsothr-xvthr-xdthr
4198 xmax2=xtsq(ixsta)+xtsaq(ixsta)+xtvq(ixvta)+xtvd(ixvta)
4199 * -2.d0*xsothr-xvthr-xdthr
4201 IF(ipev.GE.1)
WRITE(6,
'(A,2I5,4F9.3/A,2I5,4F9.3/A,3F9.3)')
4202 *
'IXSPR,IXVPR,XPSQ(IXSPR),XPSAQ(IXSPR),XPVQ(IXVPR),XPVD(IXVPR)'
4203 *,ixspr,ixvpr,xpsq(ixspr),xpsaq(ixspr),xpvq(ixvpr),xpvd(ixvpr),
4204 *
'IXSTA,IXVTA,XTSQ(IXSTA),XTSAQ(IXSTA),XTVQ(IXVTA),XTVD(IXVTA)'
4205 *,ixsta,ixvta,xtsq(ixsta),xtsaq(ixsta),xtvq(ixvta),xtvd(ixvta),
4206 *
'XSOTHR,XVTHR,XDTHR'
4207 *,xsothr,xvthr,xdthr
4208 IF(ipev.GE.1)
WRITE(6,
'(A,2I5,2F9.3)')
' KKEVSS,aft xptfl:n,nss'
4209 * ,
n,nss,xmax1,xmax2
4217 inucpr=ifrosp(ixspr)
4218 jnucpr=itovp(inucpr)
4220 psqpx=xpsq(ixspr)*prmom(1,inucpr)
4221 psqpy=xpsq(ixspr)*prmom(2,inucpr)
4222 psqpz=xpsq(ixspr)*prmom(3,inucpr)
4223 psqe=xpsq(ixspr)*prmom(4,inucpr)
4224 psaqpx=xpsaq(ixspr)*prmom(1,inucpr)
4225 psaqpy=xpsaq(ixspr)*prmom(2,inucpr)
4226 psaqpz=xpsaq(ixspr)*prmom(3,inucpr)
4227 psaqe=xpsaq(ixspr)*prmom(4,inucpr)
4231 inucta=ifrost(ixsta)
4232 jnucta=itovt(inucta)
4234 tsqpx=xtsq(ixsta)*tamom(1,inucta)
4235 tsqpy=xtsq(ixsta)*tamom(2,inucta)
4236 tsqpz=xtsq(ixsta)*tamom(3,inucta)
4237 tsqe=xtsq(ixsta)*tamom(4,inucta)
4238 tsaqpx=xtsaq(ixsta)*tamom(1,inucta)
4239 tsaqpy=xtsaq(ixsta)*tamom(2,inucta)
4240 tsaqpz=xtsaq(ixsta)*tamom(3,inucta)
4241 tsaqe=xtsaq(ixsta)*tamom(4,inucta)
4248 rtix=(vhkk(1,itnu))*1.e12-bimpac*0.1
4249 rtiy=vhkk(2,itnu)*1.e12
4250 rtiz=vhkk(3,itnu)*1.e12
4251 CALL
cromsc(psqpx,psqpy,psqpz,psqe,rtix,rtiy,rtiz,
4252 * psqnx,psqny,psqnz,psqne,5)
4257 CALL
cromsc(psaqpx,psaqpy,psaqpz,psaqe,rtix,rtiy,rtiz,
4258 * psaqnx,psaqny,psaqnz,psaqne,6)
4270 rtix=(vhkk(1,itnu))*1.e12-bimpac*0.1
4271 rtiy=vhkk(2,itnu)*1.e12
4272 rtiz=vhkk(3,itnu)*1.e12
4273 CALL
cromsc(tsqpx,tsqpy,tsqpz,tsqe,rtix,rtiy,rtiz,
4274 * tsqnx,tsqny,tsqnz,tsqne,7)
4279 CALL
cromsc(tsaqpx,tsaqpy,tsaqpz,tsaqe,rtix,rtiy,rtiz,
4280 * tsaqnx,tsaqny,tsaqnz,tsaqne,8)
4287 IF(ip.GE.1)go to 1779
4288 psqpz2=psqe**2-psqpx**2-psqpy**2
4289 IF(psqpz2.GE.0.)
THEN
4297 paqpz2=psaqe**2-psaqpx**2-psaqpy**2
4298 IF(paqpz2.GE.0.)
THEN
4306 tsqpz2=tsqe**2-tsqpx**2-tsqpy**2
4307 IF(tsqpz2.GE.0.)
THEN
4315 taqpz2=tsaqe**2-tsaqpx**2-tsaqpy**2
4316 IF(taqpz2.GE.0.)
THEN
4317 tsaqpz=-
sqrt(taqpz2)
4353 WRITE(6,1060) irss13
4354 WRITE(6,1070) ptxsq1,
4355 + ptysq1,plq1,eq1,ptxsa1,ptysa1,plaq1,eaq1, ptxsq2,ptysq2,
4356 + plq2,eq2,ptxsa2,ptysa2,plaq2,eaq2, amch1,amch2,irej,ikvala,
4362 IF(iouxev.GE.6)
WRITE(6,
'(A)')
' KKEVSS call SELPT'
4363 IF(nselpt.EQ.1)CALL
selpt( ptxsq1,ptysq1,plq1,
4364 + eq1,ptxsa1,ptysa1,plaq1,eaq1, ptxsq2,ptysq2,plq2,eq2,ptxsa2,
4365 + ptysa2,plaq2,eaq2, amch1,amch2,irej,ikvala,pttq1,ptta1,
4368 IF(nselpt.EQ.0)CALL
selpt4( ptxsq1,ptysq1,plq1,
4369 + eq1,ptxsa1,ptysa1,plaq1,eaq1, ptxsq2,ptysq2,plq2,eq2,ptxsa2,
4370 + ptysa2,plaq2,eaq2, amch1,amch2,irej,ikvala,pttq1,ptta1,
4373 WRITE(6,1060) irss13
4374 WRITE(6,1070) ptxsq1,
4375 + ptysq1,plq1,eq1,ptxsa1,ptysa1,plaq1,eaq1, ptxsq2,ptysq2,
4376 + plq2,eq2,ptxsa2,ptysa2,plaq2,eaq2, amch1,amch2,irej,ikvala,
4382 WRITE(6,1060) irss13
4383 WRITE(6,1070) ptxsq1,
4384 + ptysq1,plq1,eq1,ptxsa1,ptysa1,plaq1,eaq1, ptxsq2,ptysq2,
4385 + plq2,eq2,ptxsa2,ptysa2,plaq2,eaq2, amch1,amch2,irej,ikvala,
4393 ptxch1=ptxsq1 + ptxsa2
4394 ptych1=ptysq1 + ptysa2
4397 ptxch2=ptxsq2 + ptxsa1
4398 ptych2=ptysq2 + ptysa1
4401 ammm=
sqrt((ech1+ech2)**2-(ptxch1+ptxch2)**2
4402 + -(ptych1+ptych2)**2-(ptzch1+ptzch2)**2)
4405 IF (ipev.GE.6)
WRITE(6,1040) irej,
4406 + amch1,ptxch1,ptych1,ptzch1,ech1, amch2,ptxch2,ptych2,ptzch2,ech2
4412 CALL
comcma(ipsq(ixspr),itsaq(ixsta), ijnch1,nnch1,irej,amch1,
4418 WRITE(6,1080) irss11
4419 WRITE(6,1100) ipsq(ixspr),itsaq(ixsta),ijnch1,nnch1,irej,
4420 + xpsq(ixspr),xpsaq(ixspr),xpsqcm,xpsacm, xtsq(ixsta),xtsaq
4421 + (ixsta),xtsqcm,xtsacm, amch1,amch1n
4429 CALL
cormom(amch1,amch2,amch1n,amch2n,
4430 + ptxsq1,ptysq1,plq1,eq1,
4431 + ptxsa1,ptysa1,plaq1,eaq1, ptxsq2,ptysq2,plq2,eq2,ptxsa2,ptysa2,
4432 + plaq2,eaq2, ptxch1,ptych1,ptzch1,ech1, ptxch2,ptych2,ptzch2,
4436 IF(irej.EQ.1)go to 10
4438 IF(ipev.GE.6)
WRITE(6,1050) irej,
4439 + amch1,ptxch1,ptych1,ptzch1,ech1, amch2,ptxch2,ptych2,ptzch2,ech2
4445 CALL
comcma(itsq(ixsta),ipsaq(ixspr), ijnch2,nnch2,irej,amch2,
4451 WRITE(6,1090) irss12
4452 WRITE(6,1100) ipsaq(ixspr),itsq(ixsta),ijnch2,nnch2,irej,
4453 + xpsq(ixspr),xpsaq(ixspr),xpsqcm,xpsacm, xtsq(ixsta),xtsaq
4454 + (ixsta),xtsqcm,xtsacm, amch2,amch2n
4465 ammm=
sqrt((ech1+ech2)**2-(ptxch1+ptxch2)**2
4466 + -(ptych1+ptych2)**2-(ptzch1+ptzch2)**2)
4471 gammm=eee/(ammm+1.
e-4)
4472 bgggx=pxxx/(ammm+1.
e-4)
4473 bgggy=pyyy/(ammm+1.
e-4)
4474 bgggz=pzzz/(ammm+1.
e-4)
4478 CALL
daltra(gammm,-bgggx,-bgggy,-bgggz,
4479 + ptxch1,ptych1,ptzch1,ech1,
4480 + pppch1, qtxch1,qtych1,qtzch1,qech1)
4482 CALL
daltra(gammm,-bgggx,-bgggy,-bgggz,
4483 + ptxch2,ptych2,ptzch2,ech2,
4484 + pppch2, qtxch2,qtych2,qtzch2,qech2)
4487 CALL
corval(ammm,irej,amch1,amch2, qtxch1,qtych1,qtzch1,qech1,
4488 + qtxch2,qtych2,qtzch2,qech2,norig)
4493 CALL
daltra(gammm,bgggx,bgggy,bgggz, qtxch1,qtych1,qtzch1,qech1,
4494 + pppch1, ptxch1,ptych1,ptzch1,ech1)
4496 CALL
daltra(gammm,bgggx,bgggy,bgggz, qtxch2,qtych2,qtzch2,qech2,
4497 + pppch2, ptxch2,ptych2,ptzch2,ech2)
4501 WRITE(6,
'(A/3(1PE15.4),3I5)')
4502 +
' SS - CALL CORVAL: AMMM, AMCH1, AMCH2, NNCH1, NNCH2, IREJ',
4503 + ammm, amch1, amch2, nnch1, nnch2, irej
4504 WRITE(6,1050) irej, amch1,
4505 + ptxch1,ptych1,ptzch1,ech1, amch2,ptxch2,ptych2,ptzch2,ech2
4546 ihkkpd=jhkkps(ixspr)
4548 ihkktd=jhkkts(ixsta)
4550 IF (ipev.GT.3)
WRITE(6,1000)ixspr,inucpr,jnucpr,ihkkpo,ihkkpd
4551 1000
FORMAT (
' IXSPR,INUCPR,JNUCPR,IHKKPO,IHKKPD ',5i5)
4552 IF (ipev.GT.3)
WRITE(6,1010)ixsta,inucta,jnucta,ihkkto,ihkktd
4553 1010
FORMAT (
' IXSTA,INUCTA,JNUCTA,IHKKTO,IHKKTD ',5i5)
4557 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
4562 idhkk(ihkk)=idhkk(ihkkpo)
4563 jmohkk(1,ihkk)=ihkkpo
4564 jmohkk(2,ihkk)=jmohkk(2,ihkkpo)
4565 jdahkk(1,ihkk)=ihkk+2
4566 jdahkk(2,ihkk)=ihkk+2
4567 phkk(1,ihkk)=pqssa1(
n,1)
4568 phkk(2,ihkk)=pqssa1(
n,2)
4569 phkk(3,ihkk)=pqssa1(
n,3)
4570 phkk(4,ihkk)=pqssa1(
n,4)
4574 vhkk(1,ihkk)=vhkk(1,ihkkpo)+xxpp
4575 vhkk(2,ihkk)=vhkk(2,ihkkpo)+yypp
4576 vhkk(3,ihkk)=vhkk(3,ihkkpo)
4577 vhkk(4,ihkk)=vhkk(4,ihkkpo)
4578 IF (iphkk.GE.2)
WRITE(6,1020) ihkk,isthkk(ihkk),idhkk(ihkk),
4579 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
4580 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
4582 1020
FORMAT (i6,i4,5i6,9e10.2)
4586 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
4591 idhkk(ihkk)=idhkk(ihkktd)
4592 jmohkk(1,ihkk)=ihkktd
4593 jmohkk(2,ihkk)=jmohkk(2,ihkktd)
4594 jdahkk(1,ihkk)=ihkk+1
4595 jdahkk(2,ihkk)=ihkk+1
4596 phkk(1,ihkk)=pqssa2(
n,1)
4597 phkk(2,ihkk)=pqssa2(
n,2)
4598 phkk(3,ihkk)=pqssa2(
n,3)
4599 phkk(4,ihkk)=pqssa2(
n,4)
4603 vhkk(1,ihkk)=vhkk(1,ihkktd)+xxpp
4604 vhkk(2,ihkk)=vhkk(2,ihkktd)+yypp
4605 vhkk(3,ihkk)=vhkk(3,ihkktd)
4606 vhkk(4,ihkk)=vhkk(4,ihkktd)
4607 IF (iphkk.GE.2)
WRITE(6,1020) ihkk,isthkk(ihkk),idhkk(ihkk),
4608 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
4609 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
4615 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
4620 idhkk(ihkk)=88888+nnch1
4621 jmohkk(1,ihkk)=ihkk-2
4622 jmohkk(2,ihkk)=ihkk-1
4633 vhkk(1,nhkk)= vhkk(1,nhkk-1)
4634 vhkk(2,nhkk)= vhkk(2,nhkk-1)
4635 vhkk(3,nhkk)= vhkk(3,nhkk-1)
4636 vhkk(4,nhkk)=vhkk(3,nhkk)/betp-vhkk(3,nhkk-2)/bgamp
4638 IF (iprojk.EQ.1)
THEN
4639 whkk(1,nhkk)= vhkk(1,nhkk-2)
4640 whkk(2,nhkk)= vhkk(2,nhkk-2)
4641 whkk(3,nhkk)= vhkk(3,nhkk-2)
4642 whkk(4,nhkk)=vhkk(4,nhkk)*gamp-vhkk(3,nhkk)*bgamp
4643 IF (iphkk.GE.2)
WRITE(6,1020) ihkk,isthkk(ihkk),idhkk(ihkk),
4644 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
4645 + (phkk(khkk,ihkk),khkk=1,5), (whkk(khkk,ihkk),khkk=1,4)
4648 IF (iphkk.GE.2)
WRITE(6,1020) ihkk,isthkk(ihkk),idhkk(ihkk),
4649 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
4650 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
4657 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
4662 idhkk(ihkk)=idhkk(ihkkpd)
4663 jmohkk(1,ihkk)=ihkkpd
4664 jmohkk(2,ihkk)=jmohkk(2,ihkkpd)
4665 jdahkk(1,ihkk)=ihkk+2
4666 jdahkk(2,ihkk)=ihkk+2
4667 phkk(1,ihkk)=pqssb1(
n,1)
4668 phkk(2,ihkk)=pqssb1(
n,2)
4669 phkk(3,ihkk)=pqssb1(
n,3)
4670 phkk(4,ihkk)=pqssb1(
n,4)
4674 vhkk(1,ihkk)=vhkk(1,ihkkpd)+xxpp
4675 vhkk(2,ihkk)=vhkk(2,ihkkpd)+yypp
4676 vhkk(3,ihkk)=vhkk(3,ihkkpd)
4677 vhkk(4,ihkk)=vhkk(4,ihkkpd)
4678 IF (iphkk.GE.2)
WRITE(6,1020) ihkk,isthkk(ihkk),idhkk(ihkk),
4679 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
4680 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
4685 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
4690 idhkk(ihkk)=idhkk(ihkkto)
4691 jmohkk(1,ihkk)=ihkkto
4692 jmohkk(2,ihkk)=jmohkk(2,ihkkto)
4693 jdahkk(1,ihkk)=ihkk+1
4694 jdahkk(2,ihkk)=ihkk+1
4695 phkk(1,ihkk)=pqssb2(
n,1)
4696 phkk(2,ihkk)=pqssb2(
n,2)
4697 phkk(3,ihkk)=pqssb2(
n,3)
4698 phkk(4,ihkk)=pqssb2(
n,4)
4702 vhkk(1,ihkk)=vhkk(1,ihkkto)+xxpp
4703 vhkk(2,ihkk)=vhkk(2,ihkkto)+yypp
4704 vhkk(3,ihkk)=vhkk(3,ihkkto)
4705 vhkk(4,ihkk)=vhkk(4,ihkkto)
4706 IF (iphkk.GE.2)
WRITE(6,1020) ihkk,isthkk(ihkk),idhkk(ihkk),
4707 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
4708 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
4714 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
4719 idhkk(ihkk)=88888+nnch2
4720 jmohkk(1,ihkk)=ihkk-2
4721 jmohkk(2,ihkk)=ihkk-1
4732 vhkk(1,nhkk)= vhkk(1,nhkk-1)
4733 vhkk(2,nhkk)= vhkk(2,nhkk-1)
4734 vhkk(3,nhkk)= vhkk(3,nhkk-1)
4735 vhkk(4,nhkk)=vhkk(3,nhkk)/betp-vhkk(3,nhkk-2)/bgamp
4737 IF (iprojk.EQ.1)
THEN
4738 whkk(1,nhkk)= vhkk(1,nhkk-2)
4739 whkk(2,nhkk)= vhkk(2,nhkk-2)
4740 whkk(3,nhkk)= vhkk(3,nhkk-2)
4741 whkk(4,nhkk)=vhkk(4,nhkk)*gamp-vhkk(3,nhkk)*bgamp
4742 IF (iphkk.GE.2)
WRITE(6,1020) ihkk,isthkk(ihkk),idhkk(ihkk),
4743 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
4744 + (phkk(khkk,ihkk),khkk=1,5), (whkk(khkk,ihkk),khkk=1,4)
4747 IF (iphkk.GE.2)
WRITE(6,1020) ihkk,isthkk(ihkk),idhkk(ihkk),
4748 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
4749 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
4757 gacss1(
n)=qech1/amch1
4758 bgxss1(
n)=qtxch1/amch1
4759 bgyss1(
n)=qtych1/amch1
4760 bgzss1(
n)=qtzch1/amch1
4761 gacss2(
n)=qech2/amch2
4762 bgxss2(
n)=qtxch2/amch2
4763 bgyss2(
n)=qtych2/amch2
4764 bgzss2(
n)=qtzch2/amch2
4769 IF (ipev.GE.6)
WRITE(6,1030)
n, xpsq(ixspr),xpsaq(ixspr),xtsq
4770 + (ixsta),xtsaq(ixsta), ipsq(ixspr),ipsaq(ixspr),itsq(ixsta),itsaq
4771 + (ixsta), itsaq(ixsta), amcss1(
n),amcss2(
n),gacss1(
n),gacss2(
n),
4772 + bgxss1(
n),bgyss1(
n),bgzss1(
n), bgxss2(
n),bgyss2(
n),bgzss2(
n),
4773 + nchss1(
n),nchss2(
n),ijcss1(
n),ijcss2(
n), (pqssa1(
n,ju),pqssa2
4774 + (
n,ju),pqssb1(
n,ju), pqssb2(
n,ju),ju=1,4)
4783 xpvd(jnucpr)=xpvd(jnucpr) + xpsq(ixspr) + xpsaq(ixspr)
4784 xtvd(jnucta)=xtvd(jnucta) + xtsaq(ixsta) + xtsq(ixsta)
4787 1030
FORMAT(
' SS - 104', i10,4f12.7,5i5/10
x,4f12.6/10
x,6f12.6,4i5/8f15.
4789 1040
FORMAT (
' SS: IREJ ',i10/
4790 +
' AMCH1,PTXCH1,PTYCH1,PTZCH1,ECH1 ',5f12.5/
4791 +
' AMCH2,PTXCH2,PTYCH2,PTZCH2,ECH2 ',5f12.5)
4792 1050
FORMAT (
' SS: IREJ ',i10/
4793 +
' AMCH1,PTXCH1,PTYCH1,PTZCH1,ECH1 ',5f12.5/
4794 +
' AMCH2,PTXCH2,PTYCH2,PTZCH2,ECH2 ',5f12.5)
4795 1060
FORMAT(
' KKEVSS - IRSS13=',i5)
4796 1070
FORMAT(
' SS - 8002',4(4e12.4/),2e12.4/2i5/4e12.4)
4797 1080
FORMAT(
' KKEVSS - IRSS11=',i5)
4798 1090
FORMAT(
' KKEVSS - IRSS12=',i5)
4799 1100
FORMAT(
' SS - 8006', 5i5/2(4e12.4/),2e12.4)
4807 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
4818 COMMON /hkkevt/ nhkk,nevhkk,isthkk(
nmxhkk),idhkk(
nmxhkk), jmohkk
4910 COMMON /dxqx/ xpvq(248),xpvd(248),xtvq(248),xtvd(248), xpsq
4912 * ,xpsu(248),xtsu(248)
4913 * ,xpsut(248),xtsut(248)
4915 COMMON /intnew/ nvv,nsv,nvs,nss,ndv,nvd,nds,nsd,
4916 +ixpv,ixps,ixtv,ixts, intvv1(248),
4917 +intvv2(248),intsv1(248),intsv2(248), intvs1(248),intvs2(248),
4919 +intdv1(248),intdv2(248),intvd1(248),intvd2(248),
4933 COMMON /ifroto/ ifrovp(248),itovp(248),ifrosp(
intmx), ifrovt(248),
4939 +mhkkdv(248),mhkkvd(248), mhkkds(
intmd),mhkksd(
intmd)
4941 LOGICAL zuovp,zuosp,zuovt,zuost,intlo,inloss
4942 COMMON /lozuo/ zuovp(248),zuosp(
intmx),zuovt(248),zuost(
intmx),
4949 COMMON /diqi/ ipvq(248),ippv1(248),ippv2(248), itvq(248),ittv1
4952 +itsaq(
intmx),itsaq2(
intmx),kkproj(248),kktarg(248)
4954 COMMON /trafop/ gamp,bgamp,betp
4956 COMMON /nucc/ it,itz,ip,ipz,ijproj,ibproj,ijtarg,ibtarg
4958 COMMON /nucimp/ prmom(5,248),tamom(5,248), prmfep,prmfen,tamfep,
4959 +tamfen, prefep,prefen,taefep,taefen, prepot(210),taepot(210),
4960 +prebin,taebin,fermod,etacou
4962 COMMON /abrvs/ amcvs1(248),amcvs2(248),gacvs1(248),gacvs2(248),
4963 +bgxvs1(248),bgyvs1(248),bgzvs1(248), bgxvs2(248),bgyvs2(248),
4964 +bgzvs2(248), nchvs1(248),nchvs2(248),ijcvs1(248),ijcvs2(248),
4965 +pqvsa1(248,4),pqvsa2(248,4), pqvsb1(248,4),pqvsb2(248,4)
4967 LOGICAL intpt,fermp,ihadss,ihadsv,ihadvs,ihadvv,ihada, ipadis,
4969 COMMON /droppt/ intpt,fermp,ihadss,ihadsv,ihadvs,ihadvv,ihada,
4970 +ipadis,ishmal,lpauli
4972 COMMON /nucpos/invvp(248),invvt(248),invsp(248),invst(248), nuvv,
4973 +nuvs,nusv,nuss,insvp(248),insvt(248),inssp(248),insst(248), isveap
4974 +(248),isveat(248),isseap(248),isseat(248), ivseap(248),ivseat
4975 +(248), islosp(248),islost(248),inoop(248),inoot(248),nuoo
4977 COMMON /taufo/ taufor,ktauge,itauve,incmod
4979 COMMON /rtar/ rtarnu
4983 COMMON /dinpda/ imps(6,6),imve(6,6),ib08(6,21),ib10(6,21), ia08
4984 +(6,21),ia10(6,21), a1,b1,b2,b3,lt,le,bet,as,b8,ame,diq,isu
4986 COMMON /fermi/ pquar(4,248),paquar(4,248), tquar(4,248),taquar
4989 COMMON /ketmas/ am8(2),am10(2),ib88(2),ib1010(2),amch1n,amch2n
5001 COMMON /dpar/ aname(210),aam(210),ga(210),
tau(210),iich(210),
5002 +iibar(210),k1(210),k2(210)
5005 COMMON /dprin/ ipri,ipev,ippa,ipco,
init,iphkk,itopd,ipaupr
5010 COMMON /rejec/ irco1,irco2,irco3,irco4,irco5, irss11,irss12,
5011 +irss13,irss14, irsv11,irsv12,irsv13,irsv14, irvs11,irvs12,irvs13,
5012 +irvs14, irvv11,irvv12,irvv13,irvv14
5014 COMMON /projk/ iprojk
5015 common/rptshm/rproj,rtarg,bimpac
5028 COMMON /nucjtn/nonuj1,nonujt,nonus1,nonust
5029 COMMON /xsvthr/ xsthr,xvthr,xdthr,xssthr
5030 COMMON /minij/iminij,nomje,nomjer,nrejev,nomjt,nomjtr
5040 COMMON /zsea/zseaav,zseasu,anzsea
5046 IF(nchvs1(
n).EQ.99.AND.nchvs2(
n).EQ.99)go to 10
5050 inucpr=ifrovp(ixvpr)
5051 jnucpr=itovp(inucpr)
5054 inucta=ifrost(ixsta)
5055 jnucta=itovt(inucta)
5056 iifrot=ifrost(ixsta)
5059 xmax1=xpvq(ixvpr)+xpvd(ixvpr)-xvthr-xdthr
5060 xmax2=xtsq(ixsta)+xtsaq(ixsta)+xtvq(ixvta)+xtvd(ixvta)
5061 * -2.d0*xsthr-xvthr-xdthr
5063 IF(ipev.GE.1)
WRITE(6,
'(A,2I5,2F9.3)')
' KKEVVS,bef xptfl:n,nvs'
5064 * ,
n,nvs,xmax1,xmax2
5065 IF (iminij.EQ.1)
THEN
5066 CALL
xptfl(nhard,nsea,ireg,xmax1,xmax2)
5071 zseaav=zseasu/anzsea
5073 IF(ipev.GE.1)
WRITE(6,
'(A,3I10)')
' VS,xptfl:nhard,nsea,ireg '
5075 IF(ireg.EQ.1)nhard=0
5082 IF (nhard.GE.1.AND.iminij.EQ.1)
THEN
5083 DO 71 ixx=nonuj1,nonujt
5087 IF (xpvq(ixvpr)-xjq1(ixx).GE.xvthr)
THEN
5088 xpvq(ixvpr)=xpvq(ixvpr)-xjq1(ixx)
5090 ELSEIF(xpvd(ixvpr)-xjq1(ixx).GE.xdthr)
THEN
5091 xpvd(ixvpr)=xpvd(ixvpr)-xjq1(ixx)
5098 inucta=ifrost(ixsta)
5099 jnucta=itovt(inucta)
5103 iifrot=ifrost(ixsta)
5106 IF (nhard.GE.1.AND.iminij.EQ.1)
THEN
5107 DO 771 ixx=nonuj1,nonujt
5109 IF (jhkke1(ixx).EQ.0)
THEN
5113 IF (xtsq(ixsta)-xjq2(ixx).GE.xsthr)
THEN
5114 xtsq(ixsta)=xtsq(ixsta)-xjq2(ixx)
5117 ELSEIF (xtsaq(ixsta)-xjq2(ixx).GE.xsthr)
THEN
5118 xtsaq(ixsta)=xtsaq(ixsta)-xjq2(ixx)
5121 ELSEIF (xtvq(ixvta)-xjq2(ixx).GE.xvthr)
THEN
5122 xtvq(ixvta)=xtvq(ixvta)-xjq2(ixx)
5125 ELSEIF (xtvd(ixvta)-xjq2(ixx).GE.xdthr)
THEN
5126 xtvd(ixvta)=xtvd(ixvta)-xjq2(ixx)
5131 IF (jhkke1(ixx).EQ.1)
THEN
5132 xpvq(ixvpr)=xpvq(ixvpr)+xjq1(ixx)
5133 ELSEIF (jhkke1(ixx).EQ.2)
THEN
5134 xpvd(ixvpr)=xpvd(ixvpr)+xjq1(ixx)
5144 DO 271 ixx=nonus1,nonust
5148 IF (xpvq(ixvpr)-xsq1(ixx)-xsaq1(ixx).GT.xvthr)
THEN
5149 xpvq(ixvpr)=xpvq(ixvpr)-xsq1(ixx)-xsaq1(ixx)
5151 ELSEIF (xpvd(ixvpr)-xsq1(ixx)-xsaq1(ixx).GT.xdthr)
THEN
5152 xpvd(ixvpr)=xpvd(ixvpr)-xsq1(ixx)-xsaq1(ixx)
5158 inucta=ifrovt(ixvta)
5163 DO 2771 ixx=nonus1,nonust
5165 IF (jhkks1(ixx).EQ.0)
THEN
5169 IF (xtsq(ixsta)-xsq2(ixx)-xsaq2(ixx).GT. xvthr)
THEN
5170 xtsq(ixsta)=xtsq(ixsta)-xsq2(ixx)-xsaq2(ixx)
5173 ELSEIF (xtsaq(ixsta)-xsq2(ixx)-xsaq2(ixx).GT. xvthr)
THEN
5174 xtsaq(ixsta)=xtsaq(ixsta)-xsq2(ixx)-xsaq2(ixx)
5177 ELSEIF (xtvq(ixvta)-xsq2(ixx)-xsaq2(ixx).GT. xvthr)
THEN
5178 xtvq(ixvta)=xtvq(ixvta)-xsq2(ixx)-xsaq2(ixx)
5181 ELSEIF(xtvd(ixvta)-xsq2(ixx)-xsaq2(ixx).GT.xdthr)
THEN
5182 xtvd(ixvta)=xtvd(ixvta)-xsq2(ixx)-xsaq2(ixx)
5187 IF (jhkks1(ixx).EQ.1)
THEN
5188 xpvq(ixvpr)=xpvq(ixvpr)+xsq1(ixx)+xsaq1(ixx)
5189 ELSEIF(jhkks1(ixx).EQ.2)
THEN
5190 xpvd(ixvpr)=xpvd(ixvpr)+xsq1(ixx)+xsaq1(ixx)
5197 xmax1=xpvq(ixvpr)+xpvd(ixvpr)-xvthr-xdthr
5198 xmax2=xtsq(ixsta)+xtsaq(ixsta)+xtvq(ixvta)+xtvd(ixvta)
5199 * -2.d0*xsthr-xvthr-xdthr
5201 IF(ipev.GE.1)
WRITE(6,
'(A,2I5,2F9.3)')
' KKEVVS,aft xptfl:n,nvs'
5202 * ,
n,nvs,xmax1,xmax2
5224 inucpr=ifrovp(ixvpr)
5225 jnucpr=itovp(inucpr)
5227 pvqpx=xpvq(ixvpr)*prmom(1,inucpr)
5228 pvqpy=xpvq(ixvpr)*prmom(2,inucpr)
5229 pvqpz=xpvq(ixvpr)*prmom(3,inucpr)
5230 pvqe=xpvq(ixvpr)*prmom(4,inucpr)
5231 pvdqpx=xpvd(ixvpr)*prmom(1,inucpr)
5232 pvdqpy=xpvd(ixvpr)*prmom(2,inucpr)
5233 pvdqpz=xpvd(ixvpr)*prmom(3,inucpr)
5234 pvdqe=xpvd(ixvpr)*prmom(4,inucpr)
5237 WRITE(6,1000) pvqpx,pvqpy,pvqpz,pvqe, pvdqpx,pvdqpy,pvdqpz,
5239 1000
FORMAT(
' VS: PVQPX,PVQPY,PVQPZ,PVQE',
5240 +
' PVDQPX,PVDQPY,PVDQPZ,PVDQE',/4e15.5/15
x,4e15.5)
5245 inucta=ifrost(ixsta)
5246 jnucta=itovt(inucta)
5248 tsqpx=xtsq(ixsta)*tamom(1,inucta)
5249 tsqpy=xtsq(ixsta)*tamom(2,inucta)
5250 tsqpz=xtsq(ixsta)*tamom(3,inucta)
5251 tsqe=xtsq(ixsta)*tamom(4,inucta)
5252 tsaqpx=xtsaq(ixsta)*tamom(1,inucta)
5253 tsaqpy=xtsaq(ixsta)*tamom(2,inucta)
5254 tsaqpz=xtsaq(ixsta)*tamom(3,inucta)
5255 tsaqe=xtsaq(ixsta)*tamom(4,inucta)
5262 rtix=(vhkk(1,itnu))*1.e12-bimpac*0.1
5263 rtiy=vhkk(2,itnu)*1.e12
5264 rtiz=vhkk(3,itnu)*1.e12
5265 CALL
cromsc(pvqpx,pvqpy,pvqpz,pvqe,rtix,rtiy,rtiz,
5266 * pvqnx,pvqny,pvqnz,pvqne,9)
5271 CALL
cromsc(pvdqpx,pvdqpy,pvdqpz,pvdqe,rtix,rtiy,rtiz,
5272 * pvdqnx,pvdqny,pvdqnz,pvdqne,10)
5280 WRITE(6,1010)
n,nvs,ixvpr,inucpr,inucpr,ixsta,inucta,jnucta
5281 1010
FORMAT(
' VS: N,NVS,IXVPR,INUCPR,INUCPR,IXSTA,INUCTA,JNUCTA'/ 8i5)
5283 WRITE(6,1020) tsqpx,tsqpy,tsqpz,tsqe, tsaqpx,tsaqpy,tsaqpz,
5285 1020
FORMAT(
' VS: TSQPX,TSQPY,TSQPZ,TSQE',
5286 +
' TSAQPX,TSAQPY,TSAQPZ,TSAQE',/4e15.5/15
x,4e15.5)
5293 rtix=(vhkk(1,itnu))*1.e12-bimpac*0.1
5294 rtiy=vhkk(2,itnu)*1.e12
5295 rtiz=vhkk(3,itnu)*1.e12
5296 CALL
cromsc(tsqpx,tsqpy,tsqpz,tsqe,rtix,rtiy,rtiz,
5297 * tsqnx,tsqny,tsqnz,tsqne,11)
5302 CALL
cromsc(tsaqpx,tsaqpy,tsaqpz,tsaqe,rtix,rtiy,rtiz,
5303 * tsaqnx,tsaqny,tsaqnz,tsaqne,12)
5311 IF(ip.GE.1)go to 1779
5312 pvqpz2=pvqe**2-pvqpx**2-pvqpy**2
5313 IF(pvqpz2.GE.0.)
THEN
5321 pdqpz2=pvdqe**2-pvdqpx**2-pvdqpy**2
5322 IF(pdqpz2.GE.0.)
THEN
5330 tsqpz2=tsqe**2-tsqpx**2-tsqpy**2
5331 IF(tsqpz2.GE.0.)
THEN
5339 taqpz2=tsaqe**2-tsaqpx**2-tsaqpy**2
5340 IF(taqpz2.GE.0.)
THEN
5341 tsaqpz=-
sqrt(taqpz2)
5381 WRITE(6,1140) irvs13
5382 WRITE(6,1090) ptxsq1,
5383 + ptysq1,plq1,eq1,ptxsa1,ptysa1,plaq1,eaq1, ptxsq2,ptysq2,
5384 + plq2,eq2,ptxsa2,ptysa2,plaq2,eaq2, amch1,amch2,irej,ikvala,
5391 IF(iouxev.GE.6)
WRITE(6,
'(A)')
' KKEVVS call SELPT'
5392 IF(nselpt.EQ.1)CALL
selpt( ptxsq1,ptysq1,plq1,
5393 + eq1,ptxsa1,ptysa1,plaq1,eaq1, ptxsq2,ptysq2,plq2,eq2,ptxsa2,
5394 + ptysa2,plaq2,eaq2, amch1,amch2,irej,ikvala,pttq1,ptta1,
5397 IF(nselpt.EQ.0)CALL
selpt4( ptxsq1,ptysq1,plq1,
5398 + eq1,ptxsa1,ptysa1,plaq1,eaq1, ptxsq2,ptysq2,plq2,eq2,ptxsa2,
5399 + ptysa2,plaq2,eaq2, amch1,amch2,irej,ikvala,pttq1,ptta1,
5401 IF (ipev.GE.1)
WRITE(6,1070) irej
5405 WRITE(6,1140) irvs13
5406 WRITE(6,1090) ptxsq1,
5407 + ptysq1,plq1,eq1,ptxsa1,ptysa1,plaq1,eaq1, ptxsq2,ptysq2,
5408 + plq2,eq2,ptxsa2,ptysa2,plaq2,eaq2, amch1,amch2,irej,ikvala,
5416 ptxch1=ptxsq1 + ptxsa2
5417 ptych1=ptysq1 + ptysa2
5420 ptxch2=ptxsq2 + ptxsa1
5421 ptych2=ptysq2 + ptysa1
5424 ammm=
sqrt((ech1+ech2)**2-(ptxch1+ptxch2)**2
5425 + -(ptych1+ptych2)**2-(ptzch1+ptzch2)**2)
5428 IF (ipev.GE.6)
WRITE(6,1070) irej,
5429 + amch1,ptxch1,ptych1,ptzch1,ech1, amch2,ptxch2,ptych2,ptzch2,ech2
5436 CALL
comcma(ipvq(ixvpr),itsaq(ixsta), ijnch1,nnch1,irej,amch1,
5442 WRITE(6,1150) irvs11
5443 WRITE(6,1110) ipvq(ixvpr),itsaq(ixsta),ijnch1,nnch1,irej,
5444 + xpvq(ixvpr),xpvd(ixvpr),xpvqcm,xpvdcm, xtsq(ixsta),xtsaq
5445 + (ixsta),xtsqcm,xtsacm, amch1,amch1n
5453 CALL
cormom(amch1,amch2,amch1n,amch2n,
5454 + ptxsq1,ptysq1,plq1,eq1,
5455 + ptxsa1,ptysa1,plaq1,eaq1, ptxsq2,ptysq2,plq2,eq2,ptxsa2,ptysa2,
5456 + plaq2,eaq2, ptxch1,ptych1,ptzch1,ech1, ptxch2,ptych2,ptzch2,
5461 IF(ipev.EQ.1)
WRITE(6,
'(A)')
' VS CORMOM REJECTION'
5465 IF (ipev.GE.6)
WRITE(6,1080) irej,
5466 + amch1,ptxch1,ptych1,ptzch1,ech1, amch2,ptxch2,ptych2,ptzch2,ech2
5471 CALL
cobcma(itsq(ixsta),ippv1(ixvpr),ippv2(ixvpr), ijnch2,nnch2,
5472 + irej,amch2,amch2n,2)
5479 WRITE(6,1160) irvs12
5480 WRITE(6,1100) ippv1(ixvpr),ippv2(ixvpr),itsq(ixsta), ijnch2,
5481 + nnch2,irej, xpvq(ixvpr),xpvd(ixvpr),xpvqcm,xpvdcm, xtsq
5482 + (ixsta),xtsaq(ixsta),amch2,amch2n
5489 ammm=
sqrt((ech1+ech2)**2-(ptxch1+ptxch2)**2
5490 + -(ptych1+ptych2)**2-(ptzch1+ptzch2)**2)
5495 gammm=eee/(ammm+1.
e-4)
5496 bgggx=pxxx/(ammm+1.
e-4)
5497 bgggy=pyyy/(ammm+1.
e-4)
5498 bgggz=pzzz/(ammm+1.
e-4)
5502 CALL
daltra(gammm,-bgggx,-bgggy,-bgggz,
5503 + ptxch1,ptych1,ptzch1,ech1,
5504 + pppch1, qtxch1,qtych1,qtzch1,qech1)
5506 CALL
daltra(gammm,-bgggx,-bgggy,-bgggz,
5507 + ptxch2,ptych2,ptzch2,ech2,
5508 + pppch2, qtxch2,qtych2,qtzch2,qech2)
5516 CALL
corval(ammm,irej,amch1,amch2, qtxch1,qtych1,qtzch1,qech1,
5517 + qtxch2,qtych2,qtzch2,qech2,norig)
5523 IF(ipev.GE.1)
WRITE(6,
'(A)')
' vs14 rej. '
5530 CALL
daltra(gammm,bgggx,bgggy,bgggz, qtxch1,qtych1,qtzch1,qech1,
5531 + pppch1, ptxch1,ptych1,ptzch1,ech1)
5533 CALL
daltra(gammm,bgggx,bgggy,bgggz, qtxch2,qtych2,qtzch2,qech2,
5534 + pppch2, ptxch2,ptych2,ptzch2,ech2)
5539 WRITE(6,
'(A/3(1PE15.4),3I5)')
5540 +
' VS - CALL CORVAL: AMMM, AMCH1, AMCH2, NNCH1, NNCH2, IREJ',
5541 + ammm, amch1, amch2, nnch1, nnch2, irej
5542 WRITE(6,1080) irej, amch1,
5543 + ptxch1,ptych1,ptzch1,ech1, amch2,ptxch2,ptych2,ptzch2,ech2
5548 IF(ipev.GE.1)
WRITE(6,
'(A)')
' vs14 rej. '
5586 ihkkpd=jhkkpv(ixvpr )
5587 ihkkpo=jhkkpv(ixvpr )-1
5588 ihkktd=jhkkts(ixsta )
5589 ihkkto=jhkkts(ixsta )-1
5590 IF (ipev.GT.3)
WRITE(6,1030)ixvpr,inucpr,jnucpr,ihkkpo,ihkkpd
5591 1030
FORMAT (
' VS: IXVPR,INUCPR,JNUCPR,IHKKPO,IHKKPD ',5i5)
5592 IF (ipev.GT.3)
WRITE(6,1040)ixsta,inucta,jnucta,ihkkto,ihkktd
5593 1040
FORMAT (
' VS: IXSTA,INUCTA,JNUCTA,IHKKTO,IHKKTD ',5i5)
5597 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
5602 idhkk(ihkk)=idhkk(ihkkpo)
5603 jmohkk(1,ihkk)=ihkkpo
5604 jmohkk(2,ihkk)=jmohkk(1,ihkkpo)
5605 jdahkk(1,ihkk)=ihkk+2
5606 jdahkk(2,ihkk)=ihkk+2
5607 phkk(1,ihkk)=pqvsa1(
n,1)
5608 phkk(2,ihkk)=pqvsa1(
n,2)
5609 phkk(3,ihkk)=pqvsa1(
n,3)
5610 phkk(4,ihkk)=pqvsa1(
n,4)
5614 vhkk(1,ihkk)=vhkk(1,ihkkpo)+xxpp
5615 vhkk(2,ihkk)=vhkk(2,ihkkpo)+yypp
5616 vhkk(3,ihkk)=vhkk(3,ihkkpo)
5617 vhkk(4,ihkk)=vhkk(4,ihkkpo)
5618 IF (iphkk.GE.2)
WRITE(6,1050) ihkk,isthkk(ihkk),idhkk(ihkk),
5619 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
5620 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
5622 1050
FORMAT (i6,i4,5i6,9e10.2)
5626 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
5631 idhkk(ihkk)=idhkk(ihkktd)
5632 jmohkk(1,ihkk)=ihkktd
5633 jmohkk(2,ihkk)=jmohkk(1,ihkktd)
5634 jdahkk(1,ihkk)=ihkk+1
5635 jdahkk(2,ihkk)=ihkk+1
5636 phkk(1,ihkk)=pqvsa2(
n,1)
5637 phkk(2,ihkk)=pqvsa2(
n,2)
5638 phkk(3,ihkk)=pqvsa2(
n,3)
5639 phkk(4,ihkk)=pqvsa2(
n,4)
5643 vhkk(1,ihkk)=vhkk(1,ihkktd)+xxpp
5644 vhkk(2,ihkk)=vhkk(2,ihkktd)+yypp
5645 vhkk(3,ihkk)=vhkk(3,ihkktd)
5646 vhkk(4,ihkk)=vhkk(4,ihkktd)
5647 IF (iphkk.GE.2)
WRITE(6,1050) ihkk,isthkk(ihkk),idhkk(ihkk),
5648 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
5649 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
5655 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
5660 idhkk(ihkk)=88888+nnch1
5661 jmohkk(1,ihkk)=ihkk-2
5662 jmohkk(2,ihkk)=ihkk-1
5673 vhkk(1,nhkk)= vhkk(1,nhkk-1)
5674 vhkk(2,nhkk)= vhkk(2,nhkk-1)
5675 vhkk(3,nhkk)= vhkk(3,nhkk-1)
5676 vhkk(4,nhkk)=vhkk(3,nhkk)/betp-vhkk(3,nhkk-2)/bgamp
5678 IF (iprojk.EQ.1)
THEN
5679 whkk(1,nhkk)= vhkk(1,nhkk-2)
5680 whkk(2,nhkk)= vhkk(2,nhkk-2)
5681 whkk(3,nhkk)= vhkk(3,nhkk-2)
5682 whkk(4,nhkk)=vhkk(4,nhkk)*gamp-vhkk(3,nhkk)*bgamp
5683 IF (iphkk.GE.2)
WRITE(6,1050) nhkk,isthkk(nhkk),idhkk(nhkk),
5684 + jmohkk(1,nhkk),jmohkk(2,nhkk), jdahkk(1,nhkk),jdahkk(2,nhkk),
5685 + (phkk(khkk,nhkk),khkk=1,5), (whkk(khkk,nhkk),khkk=1,4)
5688 IF (iphkk.GE.2)
WRITE(6,1050) nhkk,isthkk(nhkk),idhkk(nhkk),
5689 + jmohkk(1,nhkk),jmohkk(2,nhkk), jdahkk(1,nhkk),jdahkk(2,nhkk),
5690 + (phkk(khkk,nhkk),khkk=1,5), (vhkk(khkk,nhkk),khkk=1,4)
5697 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
5702 idhkk(ihkk)=idhkk(ihkkpd)
5703 jmohkk(1,ihkk)=ihkkpd
5704 jmohkk(2,ihkk)=jmohkk(1,ihkkpd)
5705 jdahkk(1,ihkk)=ihkk+2
5706 jdahkk(2,ihkk)=ihkk+2
5707 phkk(1,ihkk)=pqvsb1(
n,1)
5708 phkk(2,ihkk)=pqvsb1(
n,2)
5709 phkk(3,ihkk)=pqvsb1(
n,3)
5710 phkk(4,ihkk)=pqvsb1(
n,4)
5714 vhkk(1,ihkk)=vhkk(1,ihkkpd)+xxpp
5715 vhkk(2,ihkk)=vhkk(2,ihkkpd)+yypp
5716 vhkk(3,ihkk)=vhkk(3,ihkkpd)
5717 vhkk(4,ihkk)=vhkk(4,ihkkpd)
5718 IF (iphkk.GE.2)
WRITE(6,1050) ihkk,isthkk(ihkk),idhkk(ihkk),
5719 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
5720 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
5725 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
5730 idhkk(ihkk)=idhkk(ihkkto)
5731 jmohkk(1,ihkk)=ihkkto
5732 jmohkk(2,ihkk)=jmohkk(1,ihkkto)
5733 jdahkk(1,ihkk)=ihkk+1
5734 jdahkk(2,ihkk)=ihkk+1
5735 phkk(1,ihkk)=pqvsb2(
n,1)
5736 phkk(2,ihkk)=pqvsb2(
n,2)
5737 phkk(3,ihkk)=pqvsb2(
n,3)
5738 phkk(4,ihkk)=pqvsb2(
n,4)
5742 vhkk(1,ihkk)=vhkk(1,ihkkto)+xxpp
5743 vhkk(2,ihkk)=vhkk(2,ihkkto)+yypp
5744 vhkk(3,ihkk)=vhkk(3,ihkkto)
5745 vhkk(4,ihkk)=vhkk(4,ihkkto)
5746 IF (iphkk.GE.2)
WRITE(6,1050) ihkk,isthkk(ihkk),idhkk(ihkk),
5747 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
5748 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
5754 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
5759 idhkk(ihkk)=88888+nnch2
5760 jmohkk(1,ihkk)=ihkk-2
5761 jmohkk(2,ihkk)=ihkk-1
5772 vhkk(1,nhkk)= vhkk(1,nhkk-1)
5773 vhkk(2,nhkk)= vhkk(2,nhkk-1)
5774 vhkk(3,nhkk)= vhkk(3,nhkk-1)
5775 vhkk(4,nhkk)=vhkk(3,nhkk)/betp-vhkk(3,nhkk-2)/bgamp
5777 IF (iprojk.EQ.1)
THEN
5778 whkk(1,nhkk)= vhkk(1,nhkk-2)
5779 whkk(2,nhkk)= vhkk(2,nhkk-2)
5780 whkk(3,nhkk)= vhkk(3,nhkk-2)
5781 whkk(4,nhkk)=vhkk(4,nhkk)*gamp-vhkk(3,nhkk)*bgamp
5782 IF (iphkk.GE.2)
WRITE(6,1050) ihkk,isthkk(ihkk),idhkk(ihkk),
5783 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
5784 + (phkk(khkk,ihkk),khkk=1,5), (whkk(khkk,ihkk),khkk=1,4)
5787 IF (iphkk.GE.2)
WRITE(6,1050) ihkk,isthkk(ihkk),idhkk(ihkk),
5788 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
5789 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
5797 gacvs1(
n)=qech1/amch1
5798 bgxvs1(
n)=qtxch1/amch1
5799 bgyvs1(
n)=qtych1/amch1
5800 bgzvs1(
n)=qtzch1/amch1
5801 gacvs2(
n)=qech2/amch2
5802 bgxvs2(
n)=qtxch2/amch2
5803 bgyvs2(
n)=qtych2/amch2
5804 bgzvs2(
n)=qtzch2/amch2
5809 IF (ipev.GE.6)
WRITE(6,1060)
n, xpvq(ixvpr),xpvd(ixvpr),xtsq
5810 + (ixsta),xtsaq(ixsta), ipvq(ixvpr),ippv1(ixvpr),ippv2(ixvpr),
5811 + itsq(ixsta),itsaq(ixsta), amcvs1(
n),amcvs2(
n),gacvs1(
n),gacvs2
5812 + (
n), bgxvs1(
n),bgyvs1(
n),bgzvs1(
n), bgxvs2(
n),bgyvs2(
n),bgzvs2
5813 + (
n), nchvs1(
n),nchvs2(
n),ijcvs1(
n),ijcvs2(
n), (pqvsa1(
n,ju),
5814 + pqvsa2(
n,ju),pqvsb1(
n,ju), pqvsb2(
n,ju),ju=1,4)
5829 1060
FORMAT(i10,4f12.7,5i5/10
x,4f12.6/10
x,6f12.6,4i5/8f15.5/8f15.5)
5830 1070
FORMAT (
' VS IREJ ',i10/
5831 +
' AMCH1,PTXCH1,PTYCH1,PTZCH1,ECH1 ',5f12.5/
5832 +
' AMCH2,PTXCH2,PTYCH2,PTZCH2,ECH2 ',5f12.5)
5833 1080
FORMAT (
' VS IREJ ',i10/
5834 +
' AMCH1,PTXCH1,PTYCH1,PTZCH1,ECH1 ',5f12.5/
5835 +
' AMCH2,PTXCH2,PTYCH2,PTZCH2,ECH2 ',5f12.5)
5837 1090
FORMAT(
' VS', 4(4e12.4/),2e12.4/2i5/4e12.4)
5838 1100
FORMAT(
' VS',6i5/6e12.4/2e12.4)
5839 1110
FORMAT(
' VS ',5i5/2(4e12.4/),2e12.4)
5840 1120
FORMAT(
' VS',7i5/2(4e12.4/),2e12.4)
5841 1130
FORMAT(
' VS',4i5/6e12.4/2e12.4)
5842 1140
FORMAT(
' KKEVT - IRVS13=',i5)
5843 1150
FORMAT(
' KKEVT - IRVS11=',i5)
5844 1160
FORMAT(
' KKEVT - IRVS12=',i5)
5852 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
5858 COMMON /nncms/ gamcm,bgcm,umo,pcm,eproj,pproj
5863 COMMON /hkkevt/ nhkk,nevhkk,isthkk(
nmxhkk),idhkk(
nmxhkk), jmohkk
5955 COMMON /dxqx/ xpvq(248),xpvd(248),xtvq(248),xtvd(248), xpsq
5957 * ,xpsu(248),xtsu(248)
5958 * ,xpsut(248),xtsut(248)
5960 COMMON /intnew/ nvv,nsv,nvs,nss,ndv,nvd,nds,nsd,
5961 +ixpv,ixps,ixtv,ixts, intvv1(248),
5962 +intvv2(248),intsv1(248),intsv2(248), intvs1(248),intvs2(248),
5964 +intdv1(248),intdv2(248),intvd1(248),intvd2(248),
5978 COMMON /ifroto/ ifrovp(248),itovp(248),ifrosp(
intmx), ifrovt(248),
5984 +mhkkdv(248),mhkkvd(248), mhkkds(
intmd),mhkksd(
intmd)
5986 LOGICAL zuovp,zuosp,zuovt,zuost,intlo,inloss
5987 COMMON /lozuo/ zuovp(248),zuosp(
intmx),zuovt(248),zuost(
intmx),
5994 COMMON /diqi/ ipvq(248),ippv1(248),ippv2(248), itvq(248),ittv1
5997 +itsaq(
intmx),itsaq2(
intmx),kkproj(248),kktarg(248)
5999 COMMON /trafop/ gamp,bgamp,betp
6001 COMMON /nucimp/ prmom(5,248),tamom(5,248), prmfep,prmfen,tamfep,
6002 +tamfen, prefep,prefen,taefep,taefen, prepot(210),taepot(210),
6003 +prebin,taebin,fermod,etacou
6005 COMMON /abrsv/ amcsv1(248),amcsv2(248),gacsv1(248),gacsv2(248),
6006 +bgxsv1(248),bgysv1(248),bgzsv1(248), bgxsv2(248),bgysv2(248),
6007 +bgzsv2(248), nchsv1(248),nchsv2(248),ijcsv1(248),ijcsv2(248),
6008 +pqsva1(248,4),pqsva2(248,4), pqsvb1(248,4),pqsvb2(248,4)
6010 COMMON /fermi/ pquar(4,248),paquar(4,248), tquar(4,248),taquar
6023 COMMON /dpar/ aname(210),aam(210),ga(210),
tau(210),iich(210),
6024 +iibar(210),k1(210),k2(210)
6027 COMMON /dprin/ ipri,ipev,ippa,ipco,
init,iphkk,itopd,ipaupr
6029 COMMON /rejec/ irco1,irco2,irco3,irco4,irco5, irss11,irss12,
6030 +irss13,irss14, irsv11,irsv12,irsv13,irsv14, irvs11,irvs12,irvs13,
6031 +irvs14, irvv11,irvv12,irvv13,irvv14
6033 COMMON /projk/ iprojk
6034 COMMON /nucc/ it,itz,ip,ipz,ijproj,ibproj,ijtarg,ibtarg
6035 common/rptshm/rproj,rtarg,bimpac
6047 COMMON /nucjtn/nonuj1,nonujt,nonus1,nonust
6048 COMMON /xsvthr/ xsthr,xvthr,xdthr,xssthr
6058 COMMON /minij/iminij,nomje,nomjer,nrejev,nomjt,nomjtr
6059 COMMON /zsea/zseaav,zseasu,anzsea
6063 IF(ip.GT.1)thmod=20.
6068 WRITE(6,6589) nvv,nsv,nvs,nss,ndv,nvd,nds,nsd
6069 6589
FORMAT(
' KKEVSV: NVV,NSV,NVS,NSS,NDV,NVD,NDS,NSD',8i5)
6073 IF(nchsv1(
n).EQ.99.OR.nchsv2(
n).EQ.99)go to 10
6076 inucpr=ifrosp(ixspr)
6077 jnucpr=itovp(inucpr)
6079 pqp=gamcm*prmom(3,inucpr)+bgcm*prmom(4,inucpr)
6080 pqe=gamcm*prmom(4,inucpr)+bgcm*prmom(3,inucpr)
6081 pqpq=gamcm*psqpz+bgcm*psqe
6082 pqeq=gamcm*psqe+bgcm*psqpz
6083 pqpd=gamcm*psaqpz+bgcm*psaqe
6084 pqed=gamcm*psaqe+bgcm*psaqpz
6085 WRITE(6,1655)prmom(3,inucpr),prmom(4,inucpr),pqp,pqe,
6086 + xpsq(ixspr),xpsaq(ixspr),ixspr
6087 WRITE(6,1656)pvqpz,pvqe,pqpq,pqeq
6088 WRITE(6,1657)pvdqpz,pvdqe,pqpd,pqed
6094 iifrop=ifrosp(ixspr)
6098 inucta=ifrovt(ixvta)
6099 jnucta=itovt(inucta)
6102 xmax1=xpsq(ixspr)+xpsaq(ixspr)+xpvq(ixvpr)+xpvd(ixvpr)
6103 * -2.d0*xsthr-xvthr-xdthr
6104 xmax2=xtvq(ixvta)+xtvd(ixvta)-xvthr-xdthr
6106 IF(ipev.GE.1)
WRITE(6,
'(A,2I5,2F9.3)')
' KKEVSV,bef xptfl:n,nsv'
6107 * ,
n,nsv,xmax1,xmax2
6108 IF (iminij.EQ.1)
THEN
6109 CALL
xptfl(nhard,nsea,ireg,xmax1,xmax2)
6114 zseaav=zseasu/anzsea
6116 IF(ipev.GE.1)
WRITE(6,
'(A,3I10)')
' SV,xptfl:nhard,nsea,ireg '
6118 IF(ireg.EQ.1)nhard=0
6123 IF (nhard.GE.1.AND.iminij.EQ.1)
THEN
6124 DO 71 ixx=nonuj1,nonujt
6128 IF (xpsq(ixspr)-xjq1(ixx).GE.thmod*xsthr)
THEN
6129 xpsq(ixspr)=xpsq(ixspr)-xjq1(ixx)
6131 ELSEIF (xpsaq(ixspr)-xjq1(ixx).GE.thmod*xsthr)
THEN
6132 xpsaq(ixspr)=xpsaq(ixspr)-xjq1(ixx)
6134 ELSEIF (xpvq(ixvpr)-xjq1(ixx).GE.thmod*xvthr)
THEN
6135 xpvq(ixvpr)=xpvq(ixvpr)-xjq1(ixx)
6137 ELSEIF(xpvd(ixvpr)-xjq1(ixx).GE.thmod*xdthr)
THEN
6138 xpvd(ixvpr)=xpvd(ixvpr)-xjq1(ixx)
6145 inucta=ifrovt(ixvta)
6146 jnucta=itovt(inucta)
6150 IF (nhard.GE.1.AND.iminij.EQ.1)
THEN
6151 DO 771 ixx=nonuj1,nonujt
6153 IF (jhkke1(ixx).EQ.0)
THEN
6157 IF (xtvq(ixvta)-xjq2(ixx).GE.thmod*xvthr)
THEN
6158 xtvq(ixvta)=xtvq(ixvta)-xjq2(ixx)
6161 ELSEIF (xtvd(ixvta)-xjq2(ixx).GE.thmod*xdthr)
THEN
6162 xtvd(ixvta)=xtvd(ixvta)-xjq2(ixx)
6167 IF (jhkke1(ixx).EQ.1)
THEN
6168 xpsq(ixspr)=xpsq(ixspr)+xjq1(ixx)
6169 ELSEIF (jhkke1(ixx).EQ.2)
THEN
6170 xpsaq(ixspr)=xpsaq(ixspr)+xjq1(ixx)
6171 ELSEIF (jhkke1(ixx).EQ.3)
THEN
6172 xpvq(ixvpr)=xpvq(ixvpr)+xjq1(ixx)
6173 ELSEIF (jhkke1(ixx).EQ.4)
THEN
6174 xpvd(ixvpr)=xpvd(ixvpr)+xjq1(ixx)
6183 IF(ipev.GE.1)
WRITE(6,
'(A,2I10)')
' sv: NONUS1,NONUST ',
6186 DO 271 ixx=nonus1,nonust
6190 IF (xpsq(ixspr)-xsq1(ixx)-xsaq1(ixx).GT.thmod*xsthr)
THEN
6191 xpsq(ixspr)=xpsq(ixspr)-xsq1(ixx)-xsaq1(ixx)
6193 ELSEIF (xpsaq(ixspr)-xsq1(ixx)-xsaq1(ixx).GT.thmod*xsthr)
THEN
6194 xpsaq(ixspr)=xpsaq(ixspr)-xsq1(ixx)-xsaq1(ixx)
6196 ELSEIF (xpvq(ixvpr)-xsq1(ixx)-xsaq1(ixx).GT.thmod*xvthr)
THEN
6197 xpvq(ixvpr)=xpvq(ixvpr)-xsq1(ixx)-xsaq1(ixx)
6199 ELSEIF (xpvd(ixvpr)-xsq1(ixx)-xsaq1(ixx).GT.thmod*xdthr)
THEN
6200 xpvd(ixvpr)=xpvd(ixvpr)-xsq1(ixx)-xsaq1(ixx)
6203 IF(ipev.GE.1)
WRITE(6,
'(A,2I10)')
' sv:JHKKS1(IXX), SX ',
6204 * jhkks1(ixx),jhkksx(ixx)
6205 IF(ipev.GE.1)
WRITE(6,
'(A,I10)')
' sv:IXSPR ',
6207 IF(ipev.GE.1)
WRITE(6,
'(A,2F10.2)')
' sv:XPSQ(IXSPR),SAQ',
6208 * xpsq(ixspr),xpsaq(ixspr)
6212 inucta=ifrovt(ixvta)
6217 DO 2771 ixx=nonus1,nonust
6219 IF (jhkks1(ixx).EQ.0)
THEN
6223 IF (xtvq(ixvta)-xsq2(ixx)-xsaq2(ixx).GT. thmod*xvthr)
THEN
6224 xtvq(ixvta)=xtvq(ixvta)-xsq2(ixx)-xsaq2(ixx)
6227 ELSEIF(xtvd(ixvta)-xsq2(ixx)-xsaq2(ixx).GT.thmod*xdthr)
THEN
6228 xtvd(ixvta)=xtvd(ixvta)-xsq2(ixx)-xsaq2(ixx)
6233 IF (jhkks1(ixx).EQ.1)
THEN
6234 xpvq(ixvpr)=xpvq(ixvpr)+xsq1(ixx)+xsaq1(ixx)
6235 ELSEIF(jhkks1(ixx).EQ.2)
THEN
6236 xpvd(ixvpr)=xpvd(ixvpr)+xsq1(ixx)+xsaq1(ixx)
6237 ELSEIF(jhkks1(ixx).EQ.3)
THEN
6238 xpsq(ixspr)=xpsq(ixspr)+xsq1(ixx)+xsaq1(ixx)
6239 ELSEIF(jhkks1(ixx).EQ.4)
THEN
6240 xpsaq(ixspr)=xpsaq(ixspr)+xsq1(ixx)+xsaq1(ixx)
6243 IF(ipev.GE.1)
WRITE(6,
'(A,2I10)')
' sv:JHKKS1(IXX), SX ',
6244 * jhkks1(ixx),jhkksx(ixx)
6245 IF(ipev.GE.1)
WRITE(6,
'(A,2F10.2)')
' sv:XPSQ(IXSPR),SAQ',
6246 * xpsq(ixspr),xpsaq(ixspr)
6251 xmax1=xpsq(ixspr)+xpsaq(ixspr)+xpvq(ixvpr)+xpvd(ixvpr)
6252 * -2.d0*xsthr-xvthr-xdthr
6253 xmax2=xtvq(ixvta)+xtvd(ixvta)-xvthr-xdthr
6255 IF(ipev.GE.1)
WRITE(6,
'(A,2I5,2F9.3)')
' KKEVSV,aft xptfl:n,nsv'
6256 * ,
n,nsv,xmax1,xmax2
6287 WRITE(6,6588)nchsv1(
n),nchsv2(
n)
6288 6588
FORMAT(
' NCHSV1(N),NCHSV2(N)',2i5)
6293 inucpr=ifrosp(ixspr)
6294 jnucpr=itovp(inucpr)
6296 pramom=
sqrt(prmom(1,inucpr)**2
6297 + +prmom(2,inucpr)**2
6298 + +prmom(3,inucpr)**2)
6299 IF(pramom.EQ.0.)
THEN
6302 xxqq=prmom(4,inucpr)/pramom
6305 psqpx=xpsq(ixspr)*prmom(1,inucpr)*xxqq
6306 psqpy=xpsq(ixspr)*prmom(2,inucpr)*xxqq
6307 psqpz=xpsq(ixspr)*prmom(3,inucpr)*xxqq
6308 psqe=xpsq(ixspr)*prmom(4,inucpr)
6309 psaqpx=xpsaq(ixspr)*prmom(1,inucpr)*xxqq
6310 psaqpy=xpsaq(ixspr)*prmom(2,inucpr)*xxqq
6311 psaqpz=xpsaq(ixspr)*prmom(3,inucpr)*xxqq
6312 psaqe=xpsaq(ixspr)*prmom(4,inucpr)
6314 pqp=gamcm*prmom(3,inucpr)+bgcm*prmom(4,inucpr)
6315 pqe=gamcm*prmom(4,inucpr)+bgcm*prmom(3,inucpr)
6316 pqpq=gamcm*psqpz+bgcm*psqe
6317 pqeq=gamcm*psqe+bgcm*psqpz
6318 pqpd=gamcm*psaqpz+bgcm*psaqe
6319 pqed=gamcm*psaqe+bgcm*psaqpz
6321 WRITE(6,1655)prmom(3,inucpr),prmom(4,inucpr),pqp,pqe,
6322 + xpsq(ixspr),xpsaq(ixspr),ixspr
6324 1655
FORMAT(
' sv PQP,PQE ',6e12.3,i5)
6326 WRITE(6,1656)pvqpz,pvqe,pqpq,pqeq
6328 1656
FORMAT(
' sv PQPQ,PQEQ ',4e15.5)
6330 WRITE(6,1657)pvdqpz,pvdqe,pqpd,pqed
6332 1657
FORMAT(
' sv PQPD,PQED ',4e15.5)
6337 inucta=ifrovt(ixvta)
6338 jnucta=itovt(inucta)
6340 taamom=
sqrt(tamom(1,inucpr)**2
6341 + +tamom(2,inucpr)**2
6342 + +tamom(3,inucpr)**2)
6343 IF(taamom.EQ.0.)
THEN
6346 xxqq=tamom(4,inucta)/taamom
6349 tvqpx=xtvq(ixvta)*tamom(1,inucta)*xxqq
6350 tvqpy=xtvq(ixvta)*tamom(2,inucta)*xxqq
6351 tvqpz=xtvq(ixvta)*tamom(3,inucta)*xxqq
6352 tvqe=xtvq(ixvta)*tamom(4,inucta)
6353 tvdqpx=xtvd(ixvta)*tamom(1,inucta)*xxqq
6354 tvdqpy=xtvd(ixvta)*tamom(2,inucta)*xxqq
6355 tvdqpz=xtvd(ixvta)*tamom(3,inucta)*xxqq
6356 tvdqe=xtvd(ixvta)*tamom(4,inucta)
6357 IF(psaqe.LT.0..OR.psqe.LE.0..OR.tvdqe.LT.0..OR.tvqe.LT.0.)
6360 WRITE(6,7799)psqpx,psqpy,psqpz,psqe,
6361 + psaqpx,psaqpy,psaqpz, psaqe,
6362 + tvqpx,tvqpy,tvqpz,tvqe,
6363 + tvdqpx,tvdqpy,tvdqpz,tvdqe
6364 7799
FORMAT(
'PSQPX,PSQPY,PSQPZ,PSQE,PSAQPX,PSAQPY,PSAQPZ
6365 + PSAQE,TVQPX,TVQPY,TVQPZ,TVQE,TVDQPX,TVDQPY,TVDQPZ,TVDQE',
6367 WRITE (6,7798)ixspr,inucpr,ixvta,inucta,
6368 + xpsq(ixspr),xpsaq(ixspr),xtvq(ixvta),xtvd(ixvta),
6369 + prmom(4,inucpr),tamom(4,inucta)
6370 7798
FORMAT(
'IXSPR,INUCPR,IXVTA,INUCTA,
6371 + XPSQ(IXSPR),XPSAQ(IXSPR),XTVQ(IXVTA),XTVD(IXVTA),
6372 + PRMOM(4,INUCPR),TAMOM(4,INUCTA)'/4i10/4e15.5/2e15.5)
6376 tqp=gamcm*tamom(3,inucta)+bgcm*tamom(4,inucta)
6377 tqe=gamcm*tamom(4,inucta)+bgcm*tamom(3,inucta)
6378 tqpq=gamcm*tvqpz+bgcm*tvqe
6379 tqeq=gamcm*tvqe+bgcm*tvqpz
6380 tqpd=gamcm*tvdqpz+bgcm*tvdqe
6381 tqed=gamcm*tvdqe+bgcm*tvdqpz
6383 WRITE(6,1455)tamom(3,inucta),tamom(4,inucta),tqp,tqe
6384 1455
FORMAT(
' sv TQP,TQE ',4f12.5)
6385 WRITE(6,1456)tvqpz,tvqe,tqpq,tqeq
6386 1456
FORMAT(
' sv TQPQ,TQEQ ',4f12.5)
6387 WRITE(6,1457)tvdqpz,tvdqe,tqpd,tqed
6388 1457
FORMAT(
' sv TQPD,TQED ',4e15.5)
6389 WRITE(6,7799)psqpx,psqpy,psqpz,psqe,
6390 + psaqpx,psaqpy,psaqpz, psaqe,
6391 + tvqpx,tvqpy,tvqpz,tvqe,
6392 + tvdqpx,tvdqpy,tvdqpz,tvdqe
6393 WRITE (6,7798)ixspr,inucpr,ixvta,inucta,
6394 + xpsq(ixspr),xpsaq(ixspr),xtvq(ixvta),xtvd(ixvta),
6395 + prmom(4,inucpr),tamom(4,inucta)
6404 rtix=(vhkk(1,itnu))*1.e12-bimpac*0.1
6405 rtiy=vhkk(2,itnu)*1.e12
6406 rtiz=vhkk(3,itnu)*1.e12
6407 CALL
cromsc(tvqpx,tvqpy,tvqpz,tvqe,rtix,rtiy,rtiz,
6408 * tvqnx,tvqny,tvqnz,tvqne,13)
6413 CALL
cromsc(tvdqpx,tvdqpy,tvdqpz,tvdqe,rtix,rtiy,rtiz,
6414 * tvdqnx,tvdqny,tvdqnz,tvdqne,14)
6424 rtix=(vhkk(1,itnu))*1.e12-bimpac*0.1
6425 rtiy=vhkk(2,itnu)*1.e12
6426 rtiz=vhkk(3,itnu)*1.e12
6427 CALL
cromsc(psqpx,psqpy,psqpz,psqe,rtix,rtiy,rtiz,
6428 * psqnx,psqny,psqnz,psqne,15)
6433 CALL
cromsc(psaqpx,psaqpy,psaqpz,psaqe,rtix,rtiy,rtiz,
6434 * psaqnx,psaqny,psaqnz,psaqne,16)
6443 IF(ip.GE.1) go to 1779
6444 psqpz2=psqe**2-psqpx**2-psqpy**2
6445 IF(psqpz2.GE.0.)
THEN
6453 psaqp2=psaqe**2-psaqpx**2-psaqpy**2
6454 IF(psaqp2.GE.0.)
THEN
6462 tvqpz2=tvqe**2-tvqpx**2-tvqpy**2
6463 IF(tvqpz2.GE.0.)
THEN
6471 tdqpz2=tvdqe**2-tvdqpx**2-tvdqpy**2
6472 IF(tdqpz2.GE.0.)
THEN
6473 tvdqpz=-
sqrt(tdqpz2)
6516 WRITE(6,
'(A,I5)')
' HAEVSV - IRSV13=',irsv13
6517 WRITE(6,
'(A/4(4E12.4/),2E12.4/2I5/4E12.4)')
6519 + ptxsq1,ptysq1,plq1,eq1,ptxsa1,ptysa1,
6520 + plaq1,eaq1, ptxsq2,ptysq2,plq2,eq2,
6521 + ptxsa2,ptysa2,plaq2,eaq2,
6522 + amch1,amch2,irej,ikvala,pttq1,ptta1
6523 bplq1=gamcm*plq1+bgcm*eq1
6524 beq1=gamcm*eq1+bgcm*plq1
6525 bplaq1=gamcm*plaq1+bgcm*eaq1
6526 beaq1=gamcm*eaq1+bgcm*plaq1
6527 bplq2=gamcm*plq2+bgcm*eq2
6528 beq2=gamcm*eq2+bgcm*plq2
6529 bplaq2=gamcm*plaq2+bgcm*eaq2
6530 beaq2=gamcm*eaq2+bgcm*plaq2
6531 WRITE(6,
'(A/4(4E12.4/),2E12.4/2I5/4E12.4)')
6533 + ptxsq1,ptysq1,bplq1,beq1,ptxsa1,ptysa1,
6534 + bplaq1,beaq1, ptxsq2,ptysq2,bplq2,beq2,
6535 + ptxsa2,ptysa2,bplaq2,beaq2,
6536 + amch1,amch2,irej,ikvala,pttq1,ptta1
6544 IF(iouxev.GE.6)
WRITE(6,
'(A)')
' KKEVSV call SELPT'
6546 IF(nselpt.EQ.1)CALL
selpt( ptxsq1,ptysq1,plq1,
6547 + eq1,ptxsa1,ptysa1,plaq1,eaq1, ptxsq2,ptysq2,plq2,eq2,ptxsa2,
6548 + ptysa2,plaq2,eaq2, amch1,amch2,irej,ikvala,pttq1,ptta1,
6551 IF(nselpt.EQ.0)CALL
selpt4( ptxsq1,ptysq1,plq1,
6552 + eq1,ptxsa1,ptysa1,plaq1,eaq1, ptxsq2,ptysq2,plq2,eq2,ptxsa2,
6553 + ptysa2,plaq2,eaq2, amch1,amch2,irej,ikvala,pttq1,ptta1,
6557 WRITE(6,
'(A/4(4E12.4/),2E12.4/2I5/4E12.4)')
6559 + ptxsq1,ptysq1,plq1,eq1,ptxsa1,ptysa1,
6560 + plaq1,eaq1, ptxsq2,ptysq2,plq2,eq2,ptxsa2,ptysa2,plaq2,eaq2,
6561 + amch1,amch2,irej,ikvala,pttq1,ptta1
6565 IF (ipev.GE.1)
WRITE(6,
'(A/5X,I10)')
6571 WRITE(6,
'(A,I5)')
' HAEVSV - IRSV13=',irsv13
6572 WRITE(6,
'(A/4(4E12.4/),2E12.4/2I5/4E12.4)')
6574 + ptxsq1,ptysq1,plq1,eq1,ptxsa1,ptysa1,
6575 + plaq1,eaq1, ptxsq2,ptysq2,plq2,eq2,ptxsa2,ptysa2,plaq2,eaq2,
6576 + amch1,amch2,irej,ikvala,pttq1,ptta1
6583 ptxch1=ptxsq1 + ptxsa2
6584 ptych1=ptysq1 + ptysa2
6587 ptxch2=ptxsq2 + ptxsa1
6588 ptych2=ptysq2 + ptysa1
6591 ammm=
sqrt((ech1+ech2)**2-(ptxch1+ptxch2)**2
6592 + -(ptych1+ptych2)**2-(ptzch1+ptzch2)**2)
6595 IF (ipev.GE.6)
WRITE(6,
'(A,I10/A,5F12.5/A,5F12.5)')
6597 + irej,
' AMCH1,PTXCH1,PTYCH1,PTZCH1,ECH1 ',
6598 + amch1,ptxch1,ptych1,ptzch1,ech1,
6599 +
' AMCH2,PTXCH2,PTYCH2,PTZCH2,ECH2 ', amch2,ptxch2,ptych2,
6607 CALL
cobcma(ipsq(ixspr),ittv1(ixvta),ittv2(ixvta), ijnch1,nnch1,
6608 + irej,amch1,amch1n,1)
6610 WRITE(6,
'(A,I5)')
' HAEVSV - IRSV11=',irsv11
6611 WRITE(6,
'(A,6I5/6E12.4/2E12.4)')
' SV:', ipsq(ixspr),ittv1
6612 + (ixvta),ittv2(ixvta),ijnch1,nnch1,irej, xpsq(ixspr),xpsaq
6613 + (ixspr),xpsqcm,xpsacm, xtvq(ixvta),xtvd(ixvta),amch1,amch1n
6618 IF(ipev.GE.1)
WRITE(6,
'(A)')
' sv11 rej.'
6620 WRITE(6,
'(A,I5)')
' HAEVSV - IRSV11=',irsv11
6621 WRITE(6,
'(A,6I5/6E12.4/2E12.4)')
' SV:', ipsq(ixspr),ittv1
6622 + (ixvta),ittv2(ixvta),ijnch1,nnch1,irej, xpsq(ixspr),xpsaq
6623 + (ixspr),xpsqcm,xpsacm, xtvq(ixvta),xtvd(ixvta),amch1,amch1n
6631 CALL
cormom(amch1,amch2,amch1n,amch2n,
6632 + ptxsq1,ptysq1,plq1,eq1,
6633 + ptxsa1,ptysa1,plaq1,eaq1, ptxsq2,ptysq2,plq2,eq2,ptxsa2,ptysa2,
6634 + plaq2,eaq2, ptxch1,ptych1,ptzch1,ech1, ptxch2,ptych2,ptzch2,
6639 IF (ipev.GE.6)
WRITE(6,
'(A,I10/A,5F12.5/A,5F12.5)')
6641 + irej,
' AMCH1,PTXCH1,PTYCH1,PTZCH1,ECH1 ',
6642 + amch1,ptxch1,ptych1,ptzch1,ech1,
6643 +
' AMCH2,PTXCH2,PTYCH2,PTZCH2,ECH2 ', amch2,ptxch2,ptych2,
6646 WRITE(6,
'(A,I5)')
' HAEVSV - IRSV11=',irsv11
6647 WRITE(6,
'(A,6I5/6E12.4/2E12.4)')
' SV:', ipsq(ixspr),ittv1
6648 + (ixvta),ittv2(ixvta),ijnch1,nnch1,irej, xpsq(ixspr),xpsaq
6649 + (ixspr),xpsqcm,xpsacm, xtvq(ixvta),xtvd(ixvta),amch1,amch1n
6652 IF(ipev.GE.1)
WRITE(6,
'(A)')
' sv cormom rej.'
6660 CALL
comcma(itvq(ixvta),ipsaq(ixspr), ijnch2,nnch2,irej,amch2,
6667 WRITE(6,
'(A,I5)')
' HAEVSV - IRSV12=',irsv12
6668 WRITE(6,
'(A/5I5/2(4E12.4/),2E12.4)')
6669 +
' SV: ITVQ(IXVTA),IPSAQ(IXSPR),IJNCH2,NNCH2,IREJ...', itvq
6670 + (ixvta),ipsaq(ixspr),ijnch2,nnch2,irej, xpsq(ixspr),xpsaq
6671 + (ixspr),xpsqcm,xpsacm, xtvq(ixvta),xtvd(ixvta),xtvqcm,
6672 + xtvdcm, amch2,amch2n
6679 IF (ipev.GE.2)
WRITE(6,
'(A,I10/A,5F12.5/A,5F12.5)')
6681 + irej,
' AMCH1,PTXCH1,PTYCH1,PTZCH1,ECH1 ',
6682 + amch1,ptxch1,ptych1,ptzch1,ech1,
6683 +
' AMCH2,PTXCH2,PTYCH2,PTZCH2,ECH2 ', amch2,ptxch2,ptych2,
6686 WRITE(6,
'(A/4(4E12.4/),2E12.4/2I5/4E12.4)')
6688 + ptxsq1,ptysq1,plq1,eq1,ptxsa1,ptysa1,
6689 + plaq1,eaq1, ptxsq2,ptysq2,plq2,eq2,ptxsa2,ptysa2,plaq2,eaq2,
6690 + amch1,amch2,irej,ikvala,pttq1,ptta1
6698 ammm=
sqrt((ech1+ech2)**2-(ptxch1+ptxch2)**2
6699 + -(ptych1+ptych2)**2-(ptzch1+ptzch2)**2)
6704 gammm=eee/(ammm+1.
e-4)
6705 bgggx=pxxx/(ammm+1.
e-4)
6706 bgggy=pyyy/(ammm+1.
e-4)
6707 bgggz=pzzz/(ammm+1.
e-4)
6711 CALL
daltra(gammm,-bgggx,-bgggy,-bgggz,
6712 + ptxch1,ptych1,ptzch1,ech1,
6713 + pppch1, qtxch1,qtych1,qtzch1,qech1)
6715 CALL
daltra(gammm,-bgggx,-bgggy,-bgggz,
6716 + ptxch2,ptych2,ptzch2,ech2,
6717 + pppch2, qtxch2,qtych2,qtzch2,qech2)
6721 + irej,amch1,amch2, qtxch1,qtych1,qtzch1,qech1,
6722 + qtxch2,qtych2,qtzch2,qech2,norig)
6727 CALL
daltra(gammm,bgggx,bgggy,bgggz, qtxch1,qtych1,qtzch1,qech1,
6728 + pppch1, ptxch1,ptych1,ptzch1,ech1)
6730 CALL
daltra(gammm,bgggx,bgggy,bgggz, qtxch2,qtych2,qtzch2,qech2,
6731 + pppch2, ptxch2,ptych2,ptzch2,ech2)
6736 WRITE(6,
'(A/3(1PE15.4),3I5)')
6737 +
' SV - CALL CORVAL: AMMM, AMCH1, AMCH2, NNCH1, NNCH2, IREJ',
6738 + ammm, amch1, amch2, nnch1, nnch2, irej
6741 IF(ipev.GE.1)
WRITE(6,
'(A)')
' sv14 rej.'
6787 ihkkpd=jhkkps(ixspr )
6788 ihkkpo=jhkkps(ixspr )-1
6789 ihkktd=jhkktv(ixvta )
6790 ihkkto=jhkktv(ixvta )-1
6791 IF (ipev.GT.3)
WRITE(6,1000)ixspr,inucpr,jnucpr,ihkkpo,ihkkpd
6792 1000
FORMAT (
' IXSPR,INUCPR,JNUCPR,IHKKPO,IHKKPD ',5i5)
6793 IF (ipev.GT.3)
WRITE(6,1010)ixvta,inucta,jnucta,ihkkto,ihkktd
6794 1010
FORMAT (
' IXVTA,INUCTA,JNUCTA,IHKKTO,IHKKTD ',5i5)
6798 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
6803 idhkk(ihkk)=idhkk(ihkkpo)
6804 jmohkk(1,ihkk)=ihkkpo
6805 jmohkk(2,ihkk)=jmohkk(1,ihkkpo)
6806 jdahkk(1,ihkk)=ihkk+2
6807 jdahkk(2,ihkk)=ihkk+2
6808 phkk(1,ihkk)=pqsva1(
n,1)
6809 phkk(2,ihkk)=pqsva1(
n,2)
6810 phkk(3,ihkk)=pqsva1(
n,3)
6811 phkk(4,ihkk)=pqsva1(
n,4)
6815 vhkk(1,ihkk)=vhkk(1,ihkkpo)+xxpp
6816 vhkk(2,ihkk)=vhkk(2,ihkkpo)+yypp
6817 vhkk(3,ihkk)=vhkk(3,ihkkpo)
6818 vhkk(4,ihkk)=vhkk(4,ihkkpo)
6819 IF (iphkk.GE.2)
WRITE(6,1020) ihkk,isthkk(ihkk),idhkk(ihkk),
6820 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
6821 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
6823 1020
FORMAT (i6,i4,5i6,9e10.2)
6827 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
6832 idhkk(ihkk)=idhkk(ihkktd)
6833 jmohkk(1,ihkk)=ihkktd
6834 jmohkk(2,ihkk)=jmohkk(1,ihkktd)
6835 jdahkk(1,ihkk)=ihkk+1
6836 jdahkk(2,ihkk)=ihkk+1
6837 phkk(1,ihkk)=pqsva2(
n,1)
6838 phkk(2,ihkk)=pqsva2(
n,2)
6839 phkk(3,ihkk)=pqsva2(
n,3)
6840 phkk(4,ihkk)=pqsva2(
n,4)
6844 vhkk(1,ihkk)=vhkk(1,ihkktd)+xxpp
6845 vhkk(2,ihkk)=vhkk(2,ihkktd)+yypp
6846 vhkk(3,ihkk)=vhkk(3,ihkktd)
6847 vhkk(4,ihkk)=vhkk(4,ihkktd)
6848 IF (iphkk.GE.2)
WRITE(6,1020) ihkk,isthkk(ihkk),idhkk(ihkk),
6849 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
6850 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
6856 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
6861 idhkk(ihkk)=88888+nnch1
6862 jmohkk(1,ihkk)=ihkk-2
6863 jmohkk(2,ihkk)=ihkk-1
6874 IF (ipev.GT.3)
WRITE(6,
'(A,3E12.3)')
' BETP,GAMP,BGAMP',
6876 vhkk(1,nhkk)= vhkk(1,nhkk-1)
6877 vhkk(2,nhkk)= vhkk(2,nhkk-1)
6878 vhkk(3,nhkk)= vhkk(3,nhkk-1)
6879 vhkk(4,nhkk)=vhkk(3,nhkk)/betp-vhkk(3,nhkk-2)/bgamp
6881 IF (iprojk.EQ.1)
THEN
6882 whkk(1,nhkk)= vhkk(1,nhkk-2)
6883 whkk(2,nhkk)= vhkk(2,nhkk-2)
6884 whkk(3,nhkk)= vhkk(3,nhkk-2)
6885 whkk(4,nhkk)=vhkk(4,nhkk)*gamp-vhkk(3,nhkk)*bgamp
6886 IF (iphkk.GE.2)
WRITE(6,1020) ihkk,isthkk(ihkk),idhkk(ihkk),
6887 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
6888 + (phkk(khkk,ihkk),khkk=1,5), (whkk(khkk,ihkk),khkk=1,4)
6891 IF (iphkk.GE.2)
WRITE(6,1020) ihkk,isthkk(ihkk),idhkk(ihkk),
6892 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
6893 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
6900 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
6905 idhkk(ihkk)=idhkk(ihkkpd)
6906 jmohkk(1,ihkk)=ihkkpd
6907 jmohkk(2,ihkk)=jmohkk(1,ihkkpd)
6908 jdahkk(1,ihkk)=ihkk+2
6909 jdahkk(2,ihkk)=ihkk+2
6910 phkk(1,ihkk)=pqsvb1(
n,1)
6911 phkk(2,ihkk)=pqsvb1(
n,2)
6912 phkk(3,ihkk)=pqsvb1(
n,3)
6913 phkk(4,ihkk)=pqsvb1(
n,4)
6917 vhkk(1,ihkk)=vhkk(1,ihkkpd)+xxpp
6918 vhkk(2,ihkk)=vhkk(2,ihkkpd)+yypp
6919 vhkk(3,ihkk)=vhkk(3,ihkkpd)
6920 vhkk(4,ihkk)=vhkk(4,ihkkpd)
6921 IF (iphkk.GE.2)
WRITE(6,1020) ihkk,isthkk(ihkk),idhkk(ihkk),
6922 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
6923 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
6928 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
6933 idhkk(ihkk)=idhkk(ihkkto)
6934 jmohkk(1,ihkk)=ihkkto
6935 jmohkk(2,ihkk)=jmohkk(1,ihkkto)
6936 jdahkk(1,ihkk)=ihkk+1
6937 jdahkk(2,ihkk)=ihkk+1
6938 phkk(1,ihkk)=pqsvb2(
n,1)
6939 phkk(2,ihkk)=pqsvb2(
n,2)
6940 phkk(3,ihkk)=pqsvb2(
n,3)
6941 phkk(4,ihkk)=pqsvb2(
n,4)
6945 vhkk(1,ihkk)=vhkk(1,ihkkto)+xxpp
6946 vhkk(2,ihkk)=vhkk(2,ihkkto)+yypp
6947 vhkk(3,ihkk)=vhkk(3,ihkkto)
6948 vhkk(4,ihkk)=vhkk(4,ihkkto)
6949 IF (iphkk.GE.2)
WRITE(6,1020) ihkk,isthkk(ihkk),idhkk(ihkk),
6950 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
6951 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
6957 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
6962 idhkk(ihkk)=88888+nnch2
6963 jmohkk(1,ihkk)=ihkk-2
6964 jmohkk(2,ihkk)=ihkk-1
6975 vhkk(1,nhkk)= vhkk(1,nhkk-1)
6976 vhkk(2,nhkk)= vhkk(2,nhkk-1)
6977 vhkk(3,nhkk)= vhkk(3,nhkk-1)
6978 vhkk(4,nhkk)=vhkk(3,nhkk)/betp-vhkk(3,nhkk-2)/bgamp
6980 IF (iprojk.EQ.1)
THEN
6981 whkk(1,nhkk)= vhkk(1,nhkk-2)
6982 whkk(2,nhkk)= vhkk(2,nhkk-2)
6983 whkk(3,nhkk)= vhkk(3,nhkk-2)
6984 whkk(4,nhkk)=vhkk(4,nhkk)*gamp-vhkk(3,nhkk)*bgamp
6985 IF (iphkk.GE.2)
WRITE(6,1020) ihkk,isthkk(ihkk),idhkk(ihkk),
6986 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
6987 + (phkk(khkk,ihkk),khkk=1,5), (whkk(khkk,ihkk),khkk=1,4)
6990 IF (iphkk.GE.2)
WRITE(6,1020) ihkk,isthkk(ihkk),idhkk(ihkk),
6991 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
6992 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
7001 gacsv1(
n)=qech1/amch1
7002 bgxsv1(
n)=qtxch1/amch1
7003 bgysv1(
n)=qtych1/amch1
7004 bgzsv1(
n)=qtzch1/amch1
7005 gacsv2(
n)=qech2/amch2
7006 bgxsv2(
n)=qtxch2/amch2
7007 bgysv2(
n)=qtych2/amch2
7008 bgzsv2(
n)=qtzch2/amch2
7013 IF (ipev.GE.2)
WRITE(6,
'(A/I10,4F12.7,5I5/10X,4F12.6/10X,6F12.6,
7014 +4I5/8F15.5/ 8F15.5)')
' SV / FINAL PRINT',
n, xpsq
7015 + (ixspr),xpsaq(ixspr),xtvq(ixvta),xtvd(ixvta), ipsq(ixspr),ipsaq
7016 + (ixspr), itvq(ixvta),ittv1(ixvta),ittv2(ixvta), amcsv1(
n),amcsv2
7017 + (
n),gacsv1(
n),gacsv2(
n), bgxsv1(
n),bgysv1(
n),bgzsv1(
n), bgxsv2
7018 + (
n),bgysv2(
n),bgzsv2(
n), nchsv1(
n),nchsv2(
n),ijcsv1(
n),ijcsv2
7019 + (
n), (pqsva1(
n,ju),pqsva2(
n,ju),pqsvb1(
n,ju), pqsvb2(
n,ju),ju=1,
7037 SUBROUTINE cromsc(PX,PY,PZ,E,RX,RY,RZ,PXN,PYN,PZN,EN,IORIG)
7038 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
7045 COMMON /nncms/gamcm,bgcm,umo,pcm,eproj,pproj
7046 common/rptshm/rproj,rtarg,bimpac
7047 common/cronin/cronco,mkcron
7048 common/dprin/ipri,ipev,ippa,ipco,
init,iphkk,itopd,ipaupr
7051 IF(mkcron.EQ.0)
THEN
7059 *
WRITE(6,
'(A,7E12.3,I5)')
7060 *
' CROMSC:PX,PY,PZ,E,RX,RY,RZ,IORIG',
7066 *
WRITE(6,
'(A,7E12.3)')
' CROMSC:GAMCM,BGCM',
7070 *
WRITE(6,
'(A,4E12.3)')
' CROMSC:E,PZ,EL,PZL',
7075 pp=
px**2+
py**2+pzl**2
7089 *
WRITE(6,
'(A,4E12.3)')
' CROMSC:P,CX,CY,CZ',
7094 rtesq= rx**2+ry**2+rz**2-rtarg**2
7096 *
WRITE(6,
'(A,2E12.3)')
' CROMSC:RTARG,RTESQ',
7098 IF(rtesq.GE.-0.001)
THEN
7114 *
WRITE(6,
'(A,3E12.3)')
' CROMSC:A,B,TS',
7120 theto=cronco*
sqrt(ts)/
p
7138 IF(
theta.GE.0.9d0)
THEN
7140 *
WRITE(6,
'(A,4E12.3)')
' CROMSC:A,B,TS,THETA,reject',
7152 *
WRITE(6,
'(A,2E12.3)')
' CROMSC:THETO,THETA',
7157 CALL
dtrans(cx,cy,cz,ct,st,cfe,sfe,cxn,cyn,czn)
7159 *
WRITE(6,
'(A,3E12.3)')
' CROMSC:CXN,CYN,CZN',
7168 *
WRITE(6,
'(A,3E12.3)')
' CROMSC:PXLN,PYLN,PZLN',
7176 *
WRITE(6,
'(A,7E12.3)')
' CROMSC:GAMCM,BGCM',
7178 CALL
sltraf(gamcm,bgcm,el,pzln,en,pzn)
7180 *
WRITE(6,
'(A,4E12.3)')
' CROMSC:PXN,PYN,PZN,EN',
7182 IF(abs(
e-en).GT.0.2)
THEN
7194 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
7200 COMMON /nucc/ it,itz,ip,ipz,ijproj,ibproj,ijtarg,ibtarg
7202 COMMON /rptshm/ rproj,rtarg,bimpac
7204 COMMON /trafop/ gamp,bgamp,betp
7205 COMMON /dxqx/ xpvq(248),xpvd(248),xtvq(248),xtvd(248),
7207 * ,xpsu(248),xtsu(248)
7208 * ,xpsut(248),xtsut(248)
7210 COMMON /intnew/ nvv,nsv,nvs,nss,ndv,nvd,nds,nsd,
7211 +ixpv,ixps,ixtv,ixts, intvv1(248),
7212 +intvv2(248),intsv1(248),intsv2(248), intvs1(248),intvs2(248),
7214 +intdv1(248),intdv2(248),intvd1(248),intvd2(248),
7228 COMMON /ifroto/ ifrovp(248),itovp(248),ifrosp(
intmx),
7229 * ifrovt(248),itovt(248),ifrost(
intmx),
7230 * jsshs(
intmx),jtshs(
intmx),jhkknp(248),jhkknt(248),
7236 +mhkkdv(248),mhkkvd(248), mhkkds(
intmd),mhkksd(
intmd)
7238 LOGICAL zuovp,zuosp,zuovt,zuost,intlo,inloss
7239 COMMON /lozuo/ zuovp(248),zuosp(
intmx),zuovt(248),zuost(
intmx),
7243 COMMON /diqi/ ipvq(248),ippv1(248),ippv2(248), itvq(248),ittv1
7246 +itsaq(
intmx),itsaq2(
intmx),kkproj(248),kktarg(248)
7248 COMMON /nucimp/ prmom(5,248),tamom(5,248),
7249 & prmfep,prmfen,tamfep,tamfen,
7250 & prefep,prefen,taefep,taefen,
7251 & prepot(210),taepot(210),prebin,taebin,fermod,etacou
7254 LOGICAL intpt,fermp,ihadss,ihadsv,ihadvs,ihadvv,ihada,
7255 * ipadis,ishmal,lpauli
7256 COMMON /droppt/ intpt,fermp,ihadss,ihadsv,ihadvs,ihadvv,ihada,
7257 * ipadis,ishmal,lpauli
7259 COMMON /dprin/ ipri,ipev,ippa,ipco,
init,iphkk,itopd,ipaupr
7260 COMMON /rejec/ irco1,irco2,irco3,irco4,irco5,irss11,irss12,irss13,
7262 * irsv11,irsv12,irsv13,irsv14,
7263 * irvs11,irvs12,irvs13,irvs14,
7264 * irvv11,irvv12,irvv13,irvv14
7275 COMMON /hkkevt/ nhkk,nevhkk,isthkk(
nmxhkk),idhkk(
nmxhkk),
7287 COMMON /projk/ iprojk
7372 COMMON /nucjtn/nonuj1,nonujt,nonus1,nonust
7373 COMMON /xsvthr/ xsthr,xvthr,xdthr,xssthr
7375 dimension ihkkq(-6:6)
7376 DATA ihkkq/-6,-5,-4,-3,-1,-2,0,2,1,3,4,5,6/
7380 IF (jhkkex(
n).EQ.1)
THEN
7384 ihkkpo=jhkkpv(ixvpr)
7385 ihkkto=jhkktv(ixvta)
7390 rtix=(vhkk(1,itnu))*1.e12-bimpac*0.1
7391 rtiy=vhkk(2,itnu)*1.e12
7392 rtiz=vhkk(3,itnu)*1.e12
7393 rtir2=(rtix**2+rtiy**2+rtiz**2)
7394 IF(rtir2.GT.rtarg**2)
THEN
7396 *
WRITE(6,774)rtarg,rtix,rtiy,rtiz,bimpac,ihkkto,ixvta
7397 774
FORMAT(
' KKEVHH: RTARG,RTIX,RTIY,RTIZ,BIMPAC,IHKKTO,IXVTA'
7405 CALL
cromsc(pvqpx,pvqpy,pvqpz,pvqe,rtix,rtiy,rtiz,
7406 * pvqnx,pvqny,pvqnz,pvqne,20)
7411 CALL
cromsc(pvdqpx,pvdqpy,pvdqpz,pvdqe,rtix,rtiy,rtiz,
7412 * pvdqnx,pvdqny,pvdqnz,pvdqne,21)
7413 amtes2=((pvqne+pvdqne)**2-(pvqnx+pvdqnx)**2
7414 * -(pvqny+pvdqny)**2-(pvqnz+pvdqnz)**2)
7415 IF(amtes2.GE.amjch1(
n)**2.OR.amtes2.GE.25.d0)
THEN
7426 xmjch1=
sqrt((pjeta1(
n,4)+
7434 IF(xmjch1.GE.amjch1(
n))
THEN
7437 gamjh1(
n)=(pjeta1(
n,4)+
7438 * pjeta2(
n,4))/amjch1(
n)
7439 bgxjh1(
n)=(pjeta1(
n,1)+
7440 * pjeta2(
n,1))/amjch1(
n)
7441 bgyjh1(
n)=(pjeta1(
n,2)+
7442 * pjeta2(
n,2))/amjch1(
n)
7443 bgzjh1(
n)=(pjeta1(
n,3)+
7444 * pjeta2(
n,3))/amjch1(
n)
7461 ihkkpo=jhkkpv(ixvpr)
7462 ihkkto=jhkktv(ixvta)
7463 IF (ipev.GT.3)
WRITE(6,5002)ixvpr,ihkkpo
7464 5002
FORMAT (
' IXVPR,IHKKPO ',5i5)
7465 IF (ipev.GT.3)
WRITE(6,5003)ixvta,ihkkto
7466 5003
FORMAT (
' IXVTA,IHKKTO ',5i5)
7470 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
7475 idhkk(ihkk)=ihkkq(ijjq1(
n))
7476 jmohkk(1,ihkk)=ihkkpo
7477 jmohkk(2,ihkk)=ihkkpo
7478 jdahkk(1,ihkk)=ihkk+2
7479 jdahkk(2,ihkk)=ihkk+2
7480 phkk(1,ihkk)=pjeta1(
n,1)
7481 phkk(2,ihkk)=pjeta1(
n,2)
7482 phkk(3,ihkk)=pjeta1(
n,3)
7483 phkk(4,ihkk)=pjeta1(
n,4)
7487 vhkk(1,ihkk)=vhkk(1,ihkkpo)+xxpp
7488 vhkk(2,ihkk)=vhkk(2,ihkkpo)+yypp
7489 vhkk(3,ihkk)=vhkk(3,ihkkpo)
7490 vhkk(4,ihkk)=vhkk(4,ihkkpo)
7491 IF (iphkk.GE.2)
WRITE(6,5001)
7492 * ihkk,isthkk(ihkk),idhkk(ihkk),jmohkk(1,ihkk),jmohkk(2,ihkk),
7493 & jdahkk(1,ihkk),jdahkk(2,ihkk),(phkk(khkk,ihkk),khkk=1,5),
7494 & (vhkk(khkk,ihkk),khkk=1,4)
7495 5001
FORMAT (i6,i4,5i6,9e10.2)
7499 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
7504 idhkk(ihkk)=ihkkq(ijjaq2(
n))
7505 jmohkk(1,ihkk)=ihkkto
7506 jmohkk(2,ihkk)=ihkkto
7507 jdahkk(1,ihkk)=ihkk+1
7508 jdahkk(2,ihkk)=ihkk+1
7509 phkk(1,ihkk)=pjeta2(
n,1)
7510 phkk(2,ihkk)=pjeta2(
n,2)
7511 phkk(3,ihkk)=pjeta2(
n,3)
7512 phkk(4,ihkk)=pjeta2(
n,4)
7516 vhkk(1,ihkk)=vhkk(1,ihkkto)+xxpp
7517 vhkk(2,ihkk)=vhkk(2,ihkkto)+yypp
7518 vhkk(3,ihkk)=vhkk(3,ihkkto)
7519 vhkk(4,ihkk)=vhkk(4,ihkkto)
7520 IF (iphkk.GE.2)
WRITE(6,5001)
7521 * ihkk,isthkk(ihkk),idhkk(ihkk),jmohkk(1,ihkk),jmohkk(2,ihkk),
7522 & jdahkk(1,ihkk),jdahkk(2,ihkk),(phkk(khkk,ihkk),khkk=1,5),
7523 & (vhkk(khkk,ihkk),khkk=1,4)
7528 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
7534 jmohkk(1,ihkk)=ihkk-2
7535 jmohkk(2,ihkk)=ihkk-1
7536 phkk(1,ihkk)=phkk(1,ihkk-2)+phkk(1,ihkk-1)
7537 phkk(2,ihkk)=phkk(2,ihkk-2)+phkk(2,ihkk-1)
7538 phkk(3,ihkk)=phkk(3,ihkk-2)+phkk(3,ihkk-1)
7539 phkk(4,ihkk)=phkk(4,ihkk-2)+phkk(4,ihkk-1)
7540 phkk(5,ihkk)=amjch1(
n)
7546 vhkk(1,nhkk)= vhkk(1,nhkk-1)
7547 vhkk(2,nhkk)= vhkk(2,nhkk-1)
7548 vhkk(3,nhkk)= vhkk(3,nhkk-1)
7551 IF (iprojk.EQ.1)
THEN
7552 whkk(1,nhkk)= vhkk(1,nhkk-2)
7553 whkk(2,nhkk)= vhkk(2,nhkk-2)
7554 whkk(3,nhkk)= vhkk(3,nhkk-2)
7555 whkk(4,nhkk)=vhkk(4,nhkk)*gamp-vhkk(3,nhkk)*bgamp
7556 IF (iphkk.GE.2)
WRITE(6,5001)
7557 * ihkk,isthkk(ihkk),idhkk(ihkk),jmohkk(1,ihkk),jmohkk(2,ihkk),
7558 & jdahkk(1,ihkk),jdahkk(2,ihkk),(phkk(khkk,ihkk),khkk=1,5),
7559 & (whkk(khkk,ihkk),khkk=1,4)
7562 WRITE(6,
'(A)')
' KKEVHH:'
7564 * ihkk,isthkk(ihkk),idhkk(ihkk),jmohkk(1,ihkk),jmohkk(2,ihkk),
7565 & jdahkk(1,ihkk),jdahkk(2,ihkk),(phkk(khkk,ihkk),khkk=1,5),
7566 & (vhkk(khkk,ihkk),khkk=1,4)
7572 IF(iijjkk.EQ.0)go to 33446
7575 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
7580 idhkk(ihkk)=ihkkq(ijjaq1(
n))
7581 jmohkk(1,ihkk)=ihkkpo
7582 jmohkk(2,ihkk)=ihkkpo
7583 jdahkk(1,ihkk)=ihkk+2
7584 jdahkk(2,ihkk)=ihkk+2
7585 phkk(1,ihkk)=pjetb1(
n,1)
7586 phkk(2,ihkk)=pjetb1(
n,2)
7587 phkk(3,ihkk)=pjetb1(
n,3)
7588 phkk(4,ihkk)=pjetb1(
n,4)
7592 vhkk(1,ihkk)=vhkk(1,ihkkpo)+xxpp
7593 vhkk(2,ihkk)=vhkk(2,ihkkpo)+yypp
7594 vhkk(3,ihkk)=vhkk(3,ihkkpo)
7595 vhkk(4,ihkk)=vhkk(4,ihkkpo)
7596 IF (iphkk.GE.2)
WRITE(6,5001)
7597 * ihkk,isthkk(ihkk),idhkk(ihkk),jmohkk(1,ihkk),jmohkk(2,ihkk),
7598 & jdahkk(1,ihkk),jdahkk(2,ihkk),(phkk(khkk,ihkk),khkk=1,5),
7599 & (vhkk(khkk,ihkk),khkk=1,4)
7603 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
7608 idhkk(ihkk)=ihkkq(ijjq2(
n))
7609 jmohkk(1,ihkk)=ihkkto
7610 jmohkk(2,ihkk)=ihkkto
7611 jdahkk(1,ihkk)=ihkk+1
7612 jdahkk(2,ihkk)=ihkk+1
7613 phkk(1,ihkk)=pjetb2(
n,1)
7614 phkk(2,ihkk)=pjetb2(
n,2)
7615 phkk(3,ihkk)=pjetb2(
n,3)
7616 phkk(4,ihkk)=pjetb2(
n,4)
7620 vhkk(1,ihkk)=vhkk(1,ihkkto)+xxpp
7621 vhkk(2,ihkk)=vhkk(2,ihkkto)+yypp
7622 vhkk(3,ihkk)=vhkk(3,ihkkto)
7623 vhkk(4,ihkk)=vhkk(4,ihkkto)
7624 IF (iphkk.GE.2)
WRITE(6,5001)
7625 * ihkk,isthkk(ihkk),idhkk(ihkk),jmohkk(1,ihkk),jmohkk(2,ihkk),
7626 & jdahkk(1,ihkk),jdahkk(2,ihkk),(phkk(khkk,ihkk),khkk=1,5),
7627 & (vhkk(khkk,ihkk),khkk=1,4)
7632 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
7638 jmohkk(1,ihkk)=ihkk-2
7639 jmohkk(2,ihkk)=ihkk-1
7640 phkk(1,ihkk)=phkk(1,ihkk-2)+phkk(1,ihkk-1)
7641 phkk(2,ihkk)=phkk(2,ihkk-2)+phkk(2,ihkk-1)
7642 phkk(3,ihkk)=phkk(3,ihkk-2)+phkk(3,ihkk-1)
7643 phkk(4,ihkk)=phkk(4,ihkk-2)+phkk(4,ihkk-1)
7644 phkk(5,ihkk)=amjch2(
n)
7650 vhkk(1,nhkk)= vhkk(1,nhkk-1)
7651 vhkk(2,nhkk)= vhkk(2,nhkk-1)
7652 vhkk(3,nhkk)= vhkk(3,nhkk-1)
7653 vhkk(4,nhkk)=vhkk(3,nhkk)/betp-vhkk(3,nhkk-2)/bgamp
7655 IF (iprojk.EQ.1)
THEN
7656 whkk(1,nhkk)= vhkk(1,nhkk-2)
7657 whkk(2,nhkk)= vhkk(2,nhkk-2)
7658 whkk(3,nhkk)= vhkk(3,nhkk-2)
7659 whkk(4,nhkk)=vhkk(4,nhkk)*gamp-vhkk(3,nhkk)*bgamp
7660 IF (iphkk.GE.2)
THEN
7661 WRITE(6,
'(A)')
' KKEVHH:'
7663 * ihkk,isthkk(ihkk),idhkk(ihkk),jmohkk(1,ihkk),jmohkk(2,ihkk),
7664 & jdahkk(1,ihkk),jdahkk(2,ihkk),(phkk(khkk,ihkk),khkk=1,5),
7665 & (whkk(khkk,ihkk),khkk=1,4)
7668 IF (iphkk.GE.2)
THEN
7669 WRITE(6,
'(A)')
' KKEVHH:'
7671 * ihkk,isthkk(ihkk),idhkk(ihkk),jmohkk(1,ihkk),jmohkk(2,ihkk),
7672 & jdahkk(1,ihkk),jdahkk(2,ihkk),(phkk(khkk,ihkk),khkk=1,5),
7673 & (vhkk(khkk,ihkk),khkk=1,4)
7699 pqhha1(
n,iii)=pjeta1(
n,iii)
7700 pqhha2(
n,iii)=pjeta2(
n,iii)
7701 pqhhb1(
n,iii)=pjetb1(
n,iii)
7702 pqhhb2(
n,iii)=pjetb2(
n,iii)
7704 IF (ipev.GE.6)
WRITE(6,104)
n,
7705 * amchh1(
n),amchh2(
n),gachh1(
n),gachh2(
n),
7706 * bgxhh1(
n),bgyhh1(
n),bgzhh1(
n),
7707 * bgxhh2(
n),bgyhh2(
n),bgzhh2(
n),
7708 * nchhh1(
n),nchhh2(
n),ijchh1(
n),ijchh2(
n)
7712 104
FORMAT(
' HH - 104',
7713 * i10,4f12.7 /10
x,6f12.6,4i5)
7714 211
FORMAT (
' HH: AMMM,GAMMM,BGGGX,BGGGY,BGGGZ,IREJ ',5f12.5,i10/
7715 *
' AMCH1,PTXCH1,PTYCH1,PTZCH1,ECH1 ',5f12.5/
7716 *
' AMCH2,PTXCH2,PTYCH2,PTZCH2,ECH2 ',5f12.5)
7717 212
FORMAT (
' HH: AMMM,GAMMM,BGGGX,BGGGY,BGGGZ,IREJ || ',5f12.5,i10/
7718 *
' AMCH1,PTXCH1,PTYCH1,PTZCH1,ECH1 ',5f12.5/
7719 *
' AMCH2,PTXCH2,PTYCH2,PTZCH2,ECH2 ',5f12.5)
7720 8001
FORMAT(
' KKEVHH - IRHH13=',i5)
7721 8002
FORMAT(
' HH - 8002',5e12.4/4(4e12.4/),2e12.4/2i5/4e12.4)
7722 8003
FORMAT(
' KKEVHH - IRHH11=',i5)
7723 8005
FORMAT(
' KKEVHH - IRHH12=',i5)
7724 8006
FORMAT(
' HH - 8006', 5i5/2(4e12.4/),2e12.4)
7730 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
7736 COMMON /nucc/ it,itz,ip,ipz,ijproj,ibproj,ijtarg,ibtarg
7738 COMMON /rptshm/ rproj,rtarg,bimpac
7740 COMMON /trafop/ gamp,bgamp,betp
7741 COMMON /dxqx/ xpvq(248),xpvd(248),xtvq(248),xtvd(248),
7743 * ,xpsu(248),xtsu(248)
7744 * ,xpsut(248),xtsut(248)
7746 COMMON /intnew/ nvv,nsv,nvs,nss,ndv,nvd,nds,nsd,
7747 +ixpv,ixps,ixtv,ixts, intvv1(248),
7748 +intvv2(248),intsv1(248),intsv2(248), intvs1(248),intvs2(248),
7750 +intdv1(248),intdv2(248),intvd1(248),intvd2(248),
7764 COMMON /ifroto/ ifrovp(248),itovp(248),ifrosp(
intmx),
7765 * ifrovt(248),itovt(248),ifrost(
intmx),
7766 * jsshs(
intmx),jtshs(
intmx),jhkknp(248),jhkknt(248),
7772 +mhkkdv(248),mhkkvd(248), mhkkds(
intmd),mhkksd(
intmd)
7774 LOGICAL zuovp,zuosp,zuovt,zuost,intlo,inloss
7775 COMMON /lozuo/ zuovp(248),zuosp(
intmx),zuovt(248),zuost(
intmx),
7779 COMMON /diqi/ ipvq(248),ippv1(248),ippv2(248), itvq(248),ittv1
7782 +itsaq(
intmx),itsaq2(
intmx),kkproj(248),kktarg(248)
7784 COMMON /nucimp/ prmom(5,248),tamom(5,248),
7785 & prmfep,prmfen,tamfep,tamfen,
7786 & prefep,prefen,taefep,taefen,
7787 & prepot(210),taepot(210),prebin,taebin,fermod,etacou
7790 LOGICAL intpt,fermp,ihadss,ihadsv,ihadvs,ihadvv,ihada,
7791 * ipadis,ishmal,lpauli
7792 COMMON /droppt/ intpt,fermp,ihadss,ihadsv,ihadvs,ihadvv,ihada,
7793 * ipadis,ishmal,lpauli
7795 COMMON /dprin/ ipri,ipev,ippa,ipco,
init,iphkk,itopd,ipaupr
7796 COMMON /rejec/ irco1,irco2,irco3,irco4,irco5,irss11,irss12,irss13,
7798 * irsv11,irsv12,irsv13,irsv14,
7799 * irvs11,irvs12,irvs13,irvs14,
7800 * irvv11,irvv12,irvv13,irvv14
7811 COMMON /hkkevt/ nhkk,nevhkk,isthkk(
nmxhkk),idhkk(
nmxhkk),
7823 COMMON /projk/ iprojk
7934 COMMON /nucjtn/nonuj1,nonujt,nonus1,nonust
7935 COMMON /xsvthr/ xsthr,xvthr,xdthr,xssthr
7936 common/intnez/ndz,nzd
7938 dimension ihkkq(-6:6)
7939 DATA ihkkq/-6,-5,-4,-3,-1,-2,0,2,1,3,4,5,6/
7944 IF(idzss(i).EQ.
n.AND.nch1(
n).EQ.99)
THEN
7948 IF(idzss(i).EQ.
n.AND.jhkksx(
n).NE.1)
THEN
7953 WRITE(6,
'(A,6I10)')
' kkevzz:n,i,ndz,nchdz1,jhkksx,idzss'
7954 * ,
n,i,ndz,nchdz1(i),jhkksx(
n),idzss(i)
7958 IF(izdss(i).EQ.
n.AND.nch1(
n).EQ.99)
THEN
7962 IF(izdss(i).EQ.
n.AND.jhkksx(
n).NE.1)
THEN
7967 WRITE(6,
'(A,6I10)')
' kkevzz:n,i,nzd,nchzd1,jhkksx,izdss'
7968 * ,
n,i,nzd,nchzd1(i),jhkksx(
n),izdss(i)
7973 IF(nch1(
n).EQ.88)go to 101
7974 IF(nch2(
n).EQ.88)go to 101
7975 IF (jhkksx(
n).EQ.1)
THEN
7978 ihkkpo=jhkkpv(ixvpr)
7979 ihkkto=jhkktv(ixvta)
7985 rtix=(vhkk(1,itnu))*1.e12-bimpac*0.1
7986 rtiy=vhkk(2,itnu)*1.e12
7987 rtiz=vhkk(3,itnu)*1.e12
7988 rtir2=(rtix**2+rtiy**2+rtiz**2)
7989 IF(rtir2.GT.rtarg**2)
THEN
7991 *
WRITE(6,774)rtarg,rtix,rtiy,rtiz,bimpac,ihkkto,ixvta
7992 774
FORMAT(
' KKEVZZ: RTARG,RTIX,RTIY,RTIZ,BIMPAC,IHKKTO,IXVTA'
7996 IF(nch1(
n).EQ.0)
THEN
8001 IF(pvqe.LE.0.d0)
THEN
8002 pvqen=
sqrt(pvqpx**2+pvqpy**2+pvqpz**2)
8003 WRITE(6,776)pvqe,pvqen,
n,nonust
8004 776
FORMAT(
' KKEVZZ: PVQE,PVQEN,N,NONUST ',2e12.4,2i5)
8007 CALL
cromsc(pvqpx,pvqpy,pvqpz,pvqe,rtix,rtiy,rtiz,
8008 * pvqnx,pvqny,pvqnz,pvqne,30)
8013 IF(pvdqe.LE.0.d0)
THEN
8014 pvdqen=
sqrt(pvdqpx**2+pvdqpy**2+pvdqpz**2)
8015 WRITE(6,778)pvdqe,pvdqen,
n,nonust
8016 778
FORMAT(
' KKEVZZ: PVDQE,PVDQEN,N,NONUST ',2e12.4,2i5)
8019 CALL
cromsc(pvdqpx,pvdqpy,pvdqpz,pvdqe,rtix,rtiy,rtiz,
8020 * pvdqnx,pvdqny,pvdqnz,pvdqne,31)
8021 amtes2=((pvqne+pvdqne)**2-(pvqnx+pvdqnx)**2
8022 * -(pvqny+pvdqny)**2-(pvqnz+pvdqnz)**2)
8023 IF(amtes2.GE.amcch1(
n)**2.OR.amtes2.GE.25.d0)
THEN
8034 xmcch1=
sqrt((psofa1(
n,4)+
8042 IF(xmcch1.GE.amcch1(
n))
THEN
8045 gamch1(
n)=(psofa1(
n,4)+
8046 * psofa2(
n,4))/amcch1(
n)
8047 bgxch1(
n)=(psofa1(
n,1)+
8048 * psofa2(
n,1))/amcch1(
n)
8049 bgych1(
n)=(psofa1(
n,2)+
8050 * psofa2(
n,2))/amcch1(
n)
8051 bgzch1(
n)=(psofa1(
n,3)+
8052 * psofa2(
n,3))/amcch1(
n)
8055 IF(nch2(
n).EQ.0)
THEN
8060 IF(pvqte.LE.0.d0)
THEN
8061 pvqten=
sqrt(pvqtx**2+pvqty**2+pvqtz**2)
8062 WRITE(6,786)pvqte,pvqten,
n,nonust
8063 786
FORMAT(
' KKEVZZ: PVQTE,PVQTEN,N,NONUST ',2e12.4,2i5)
8066 CALL
cromsc(pvqtx,pvqty,pvqtz,pvqte,rtix,rtiy,rtiz,
8067 * pvqntx,pvqnty,pvqntz,pvqnte,32)
8072 IF(pvdqte.LE.0.d0)
THEN
8073 pvdten=
sqrt(pvdqtx**2+pvdqty**2+pvdqtz**2)
8074 WRITE(6,796)pvdqte,pvdten,
n,nonust
8075 796
FORMAT(
' KKEVZZ: PVQTE,PVQTEN,N,NONUST ',2e12.4,2i5)
8078 CALL
cromsc(pvdqtx,pvdqty,pvdqtz,pvdqte,rtix,rtiy,rtiz,
8079 * pvtqnx,pvtqny,pvtqnz,pvtqne,33)
8080 amtes2=((pvqnte+pvtqne)**2-(pvqntx+pvtqnx)**2
8081 * -(pvqnty+pvtqny)**2-(pvqntz+pvtqnz)**2)
8082 IF(amtes2.GE.amcch1(
n)**2.OR.amtes2.GE.25.d0)
THEN
8093 xmcch2=
sqrt((psofb1(
n,4)+
8101 IF(xmcch2.GE.amcch2(
n))
THEN
8104 gamch2(
n)=(psofb1(
n,4)+
8105 * psofb2(
n,4))/amcch2(
n)
8106 bgxch2(
n)=(psofb1(
n,1)+
8107 * psofb2(
n,1))/amcch2(
n)
8108 bgych2(
n)=(psofb1(
n,2)+
8109 * psofb2(
n,2))/amcch2(
n)
8110 bgzch2(
n)=(psofb1(
n,3)+
8111 * psofb2(
n,3))/amcch2(
n)
8128 ihkkpo=jhkkpv(ixvpr)
8129 ihkkto=jhkktv(ixvta)
8130 IF (ipev.GT.3)
WRITE(6,5002)ixvpr,ihkkpo
8131 5002
FORMAT (
' IXVPR,IHKKPO ',5i5)
8132 IF (ipev.GT.3)
WRITE(6,5003)ixvta,ihkkto
8133 5003
FORMAT (
' IXVTA,IHKKTO ',5i5)
8137 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
8142 idhkk(ihkk)=ihkkq(ijsq1(
n))
8143 jmohkk(1,ihkk)=ihkkpo
8144 jmohkk(2,ihkk)=ihkkpo
8145 jdahkk(1,ihkk)=ihkk+2
8146 jdahkk(2,ihkk)=ihkk+2
8147 phkk(1,ihkk)=psofa1(
n,1)
8148 phkk(2,ihkk)=psofa1(
n,2)
8149 phkk(3,ihkk)=psofa1(
n,3)
8150 phkk(4,ihkk)=psofa1(
n,4)
8154 vhkk(1,ihkk)=vhkk(1,ihkkpo)+xxpp
8155 vhkk(2,ihkk)=vhkk(2,ihkkpo)+yypp
8156 vhkk(3,ihkk)=vhkk(3,ihkkpo)
8157 vhkk(4,ihkk)=vhkk(4,ihkkpo)
8158 IF (iphkk.GE.2)
WRITE(6,5001)
8159 * ihkk,isthkk(ihkk),idhkk(ihkk),jmohkk(1,ihkk),jmohkk(2,ihkk),
8160 & jdahkk(1,ihkk),jdahkk(2,ihkk),(phkk(khkk,ihkk),khkk=1,5),
8161 & (vhkk(khkk,ihkk),khkk=1,4)
8162 5001
FORMAT (i6,i4,5i6,9e10.2)
8166 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
8171 idhkk(ihkk)=ihkkq(ijsaq2(
n))
8172 jmohkk(1,ihkk)=ihkkto
8173 jmohkk(2,ihkk)=ihkkto
8174 jdahkk(1,ihkk)=ihkk+1
8175 jdahkk(2,ihkk)=ihkk+1
8176 phkk(1,ihkk)=psofa2(
n,1)
8177 phkk(2,ihkk)=psofa2(
n,2)
8178 phkk(3,ihkk)=psofa2(
n,3)
8179 phkk(4,ihkk)=psofa2(
n,4)
8183 vhkk(1,ihkk)=vhkk(1,ihkkto)+xxpp
8184 vhkk(2,ihkk)=vhkk(2,ihkkto)+yypp
8185 vhkk(3,ihkk)=vhkk(3,ihkkto)
8186 vhkk(4,ihkk)=vhkk(4,ihkkto)
8187 IF (iphkk.GE.2)
WRITE(6,5001)
8188 * ihkk,isthkk(ihkk),idhkk(ihkk),jmohkk(1,ihkk),jmohkk(2,ihkk),
8189 & jdahkk(1,ihkk),jdahkk(2,ihkk),(phkk(khkk,ihkk),khkk=1,5),
8190 & (vhkk(khkk,ihkk),khkk=1,4)
8195 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
8200 idhkk(ihkk)=88888+nch1(
n)
8201 jmohkk(1,ihkk)=ihkk-2
8202 jmohkk(2,ihkk)=ihkk-1
8203 phkk(1,ihkk)=phkk(1,ihkk-2)+phkk(1,ihkk-1)
8204 phkk(2,ihkk)=phkk(2,ihkk-2)+phkk(2,ihkk-1)
8205 phkk(3,ihkk)=phkk(3,ihkk-2)+phkk(3,ihkk-1)
8206 phkk(4,ihkk)=phkk(4,ihkk-2)+phkk(4,ihkk-1)
8207 phkk(5,ihkk)=amcch1(
n)
8213 vhkk(1,nhkk)= vhkk(1,nhkk-1)
8214 vhkk(2,nhkk)= vhkk(2,nhkk-1)
8215 vhkk(3,nhkk)= vhkk(3,nhkk-1)
8218 IF (iprojk.EQ.1)
THEN
8219 whkk(1,nhkk)= vhkk(1,nhkk-2)
8220 whkk(2,nhkk)= vhkk(2,nhkk-2)
8221 whkk(3,nhkk)= vhkk(3,nhkk-2)
8222 whkk(4,nhkk)=vhkk(4,nhkk)*gamp-vhkk(3,nhkk)*bgamp
8223 IF (iphkk.GE.2)
WRITE(6,5001)
8224 * ihkk,isthkk(ihkk),idhkk(ihkk),jmohkk(1,ihkk),jmohkk(2,ihkk),
8225 & jdahkk(1,ihkk),jdahkk(2,ihkk),(phkk(khkk,ihkk),khkk=1,5),
8226 & (whkk(khkk,ihkk),khkk=1,4)
8228 IF (iphkk.GE.2)
WRITE(6,5001)
8229 * ihkk,isthkk(ihkk),idhkk(ihkk),jmohkk(1,ihkk),jmohkk(2,ihkk),
8230 & jdahkk(1,ihkk),jdahkk(2,ihkk),(phkk(khkk,ihkk),khkk=1,5),
8231 & (vhkk(khkk,ihkk),khkk=1,4)
8237 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
8242 idhkk(ihkk)=ihkkq(ijsaq1(
n))
8243 jmohkk(1,ihkk)=ihkkpo
8244 jmohkk(2,ihkk)=ihkkpo
8245 jdahkk(1,ihkk)=ihkk+2
8246 jdahkk(2,ihkk)=ihkk+2
8247 phkk(1,ihkk)=psofb1(
n,1)
8248 phkk(2,ihkk)=psofb1(
n,2)
8249 phkk(3,ihkk)=psofb1(
n,3)
8250 phkk(4,ihkk)=psofb1(
n,4)
8254 vhkk(1,ihkk)=vhkk(1,ihkkpo)+xxpp
8255 vhkk(2,ihkk)=vhkk(2,ihkkpo)+yypp
8256 vhkk(3,ihkk)=vhkk(3,ihkkpo)
8257 vhkk(4,ihkk)=vhkk(4,ihkkpo)
8258 IF (iphkk.GE.2)
WRITE(6,5001)
8259 * ihkk,isthkk(ihkk),idhkk(ihkk),jmohkk(1,ihkk),jmohkk(2,ihkk),
8260 & jdahkk(1,ihkk),jdahkk(2,ihkk),(phkk(khkk,ihkk),khkk=1,5),
8261 & (vhkk(khkk,ihkk),khkk=1,4)
8265 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
8270 idhkk(ihkk)=ihkkq(ijsq2(
n))
8271 jmohkk(1,ihkk)=ihkkto
8272 jmohkk(2,ihkk)=ihkkto
8273 jdahkk(1,ihkk)=ihkk+1
8274 jdahkk(2,ihkk)=ihkk+1
8275 phkk(1,ihkk)=psofb2(
n,1)
8276 phkk(2,ihkk)=psofb2(
n,2)
8277 phkk(3,ihkk)=psofb2(
n,3)
8278 phkk(4,ihkk)=psofb2(
n,4)
8282 vhkk(1,ihkk)=vhkk(1,ihkkto)+xxpp
8283 vhkk(2,ihkk)=vhkk(2,ihkkto)+yypp
8284 vhkk(3,ihkk)=vhkk(3,ihkkto)
8285 vhkk(4,ihkk)=vhkk(4,ihkkto)
8286 IF (iphkk.GE.2)
WRITE(6,5001)
8287 * ihkk,isthkk(ihkk),idhkk(ihkk),jmohkk(1,ihkk),jmohkk(2,ihkk),
8288 & jdahkk(1,ihkk),jdahkk(2,ihkk),(phkk(khkk,ihkk),khkk=1,5),
8289 & (vhkk(khkk,ihkk),khkk=1,4)
8294 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
8299 idhkk(ihkk)=88888+nch2(
n)
8300 jmohkk(1,ihkk)=ihkk-2
8301 jmohkk(2,ihkk)=ihkk-1
8302 phkk(1,ihkk)=phkk(1,ihkk-2)+phkk(1,ihkk-1)
8303 phkk(2,ihkk)=phkk(2,ihkk-2)+phkk(2,ihkk-1)
8304 phkk(3,ihkk)=phkk(3,ihkk-2)+phkk(3,ihkk-1)
8305 phkk(4,ihkk)=phkk(4,ihkk-2)+phkk(4,ihkk-1)
8306 phkk(5,ihkk)=amcch2(
n)
8312 vhkk(1,nhkk)= vhkk(1,nhkk-1)
8313 vhkk(2,nhkk)= vhkk(2,nhkk-1)
8314 vhkk(3,nhkk)= vhkk(3,nhkk-1)
8315 vhkk(4,nhkk)=vhkk(3,nhkk)/betp-vhkk(3,nhkk-2)/bgamp
8317 IF (iprojk.EQ.1)
THEN
8318 whkk(1,nhkk)= vhkk(1,nhkk-2)
8319 whkk(2,nhkk)= vhkk(2,nhkk-2)
8320 whkk(3,nhkk)= vhkk(3,nhkk-2)
8321 whkk(4,nhkk)=vhkk(4,nhkk)*gamp-vhkk(3,nhkk)*bgamp
8322 IF (iphkk.GE.2)
WRITE(6,5001)
8323 * ihkk,isthkk(ihkk),idhkk(ihkk),jmohkk(1,ihkk),jmohkk(2,ihkk),
8324 & jdahkk(1,ihkk),jdahkk(2,ihkk),(phkk(khkk,ihkk),khkk=1,5),
8325 & (whkk(khkk,ihkk),khkk=1,4)
8327 IF (iphkk.GE.2)
WRITE(6,5001)
8328 * ihkk,isthkk(ihkk),idhkk(ihkk),jmohkk(1,ihkk),jmohkk(2,ihkk),
8329 & jdahkk(1,ihkk),jdahkk(2,ihkk),(phkk(khkk,ihkk),khkk=1,5),
8330 & (vhkk(khkk,ihkk),khkk=1,4)
8350 pqzza1(
n,iii)=psofa1(
n,iii)
8351 pqzza2(
n,iii)=psofa2(
n,iii)
8352 pqzzb1(
n,iii)=psofb1(
n,iii)
8353 pqzzb2(
n,iii)=psofb2(
n,iii)
8355 IF (ipev.GE.6)
WRITE(6,104)
n,
8356 * amczz1(
n),amczz2(
n),gaczz1(
n),gaczz2(
n),
8357 * bgxzz1(
n),bgyzz1(
n),bgzzz1(
n),
8358 * bgxzz2(
n),bgyzz2(
n),bgzzz2(
n),
8359 * nchzz1(
n),nchzz2(
n),ijczz1(
n),ijczz2(
n)
8363 104
FORMAT(
' ZZ - 104',
8364 * i10,4f12.7 /10
x,6f12.6, 4i5 )
8365 211
FORMAT (
' ZZ: AMMM,GAMMM,BGGGX,BGGGY,BGGGZ,IREJ ',5f12.5,i10/
8366 *
' AMCH1,PTXCH1,PTYCH1,PTZCH1,ECH1 ',5f12.5/
8367 *
' AMCH2,PTXCH2,PTYCH2,PTZCH2,ECH2 ',5f12.5)
8368 212
FORMAT (
' ZZ: AMMM,GAMMM,BGGGX,BGGGY,BGGGZ,IREJ || ',5f12.5,i10/
8369 *
' AMCH1,PTXCH1,PTYCH1,PTZCH1,ECH1 ',5f12.5/
8370 *
' AMCH2,PTXCH2,PTYCH2,PTZCH2,ECH2 ',5f12.5)
8371 8001
FORMAT(
' KKEVZZ - IRZZ13=',i5)
8372 8002
FORMAT(
' ZZ - 8002',5e12.4/4(4e12.4/),2e12.4/2i5/4e12.4)
8373 8003
FORMAT(
' KKEVZZ - IRZZ11=',i5)
8374 8005
FORMAT(
' KKEVZZ - IRZZ12=',i5)
8375 8006
FORMAT(
' ZZ - 8006', 5i5/2(4e12.4/),2e12.4)
8381 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
8387 COMMON /hkkevt/ nhkk,nevhkk,isthkk(
nmxhkk),idhkk(
nmxhkk), jmohkk
8479 IF (idhkk(i).EQ.88888)
THEN
8482 IF (jmohkk(2,m1).EQ.0)
THEN
8484 jmohkk(2,m1)=jmohkk(1,jm1)
8486 IF (jmohkk(2,m2).EQ.0)
THEN
8488 jmohkk(2,m2)=jmohkk(1,jm2)
8494 IF (idhkk(i).EQ.88888)
THEN
8499 IF (jdahkk(1,m2m1).EQ.0)
THEN
8502 IF (jdahkk(2,m2m1).EQ.0)
THEN
8506 IF (jdahkk(1,m2m2).EQ.0)
THEN
8509 IF (jdahkk(2,m2m2).EQ.0)
THEN
8516 IF(jdahkk(1,mo1).EQ.0)jdahkk(1,mo1)=m1
8517 IF(jdahkk(2,mo1).EQ.0)jdahkk(2,mo1)=m1
8518 IF(jdahkk(1,mo2).EQ.0)jdahkk(1,mo2)=m2
8519 IF(jdahkk(2,mo2).EQ.0)jdahkk(2,mo2)=m2
8523 IF (isthkk(i).EQ.11)
THEN
8524 IF ((jdahkk(1,i).EQ.0).AND.(jdahkk(2,i).EQ.0))
THEN
8528 IF (isthkk(i).EQ.12)
THEN
8529 IF ((jdahkk(1,i).EQ.0).AND.(jdahkk(2,i).EQ.0))
THEN
8539 SUBROUTINE kkevnu(NHKKH1,EPN,PPN,KKMAT,IREJ,ECM)
8541 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
8543 common/intnez/ndz,nzd
8548 COMMON /hkkevt/ nhkk,nevhkk,isthkk(
nmxhkk),idhkk(
nmxhkk), jmohkk
8640 COMMON /dxqx/ xpvq(248),xpvd(248),xtvq(248),xtvd(248), xpsq
8642 * ,xpsu(248),xtsu(248)
8643 * ,xpsut(248),xtsut(248)
8645 COMMON /intnew/ nvv,nsv,nvs,nss,ndv,nvd,nds,nsd,
8646 +ixpv,ixps,ixtv,ixts, intvv1(248),
8647 +intvv2(248),intsv1(248),intsv2(248), intvs1(248),intvs2(248),
8649 +intdv1(248),intdv2(248),intvd1(248),intvd2(248),
8663 COMMON /ifroto/ ifrovp(248),itovp(248),ifrosp(
intmx), ifrovt(248),
8669 +mhkkdv(248),mhkkvd(248), mhkkds(
intmd),mhkksd(
intmd)
8671 LOGICAL zuovp,zuosp,zuovt,zuost,intlo,inloss
8672 COMMON /lozuo/ zuovp(248),zuosp(
intmx),zuovt(248),zuost(
intmx),
8680 COMMON /diqi/ ipvq(248),ippv1(248),ippv2(248), itvq(248),ittv1
8683 +itsaq(
intmx),itsaq2(
intmx),kkproj(248),kktarg(248)
8689 COMMON /nucc/ it,itz,ip,ipz,ijproj,ibproj,ijtarg,ibtarg
8691 COMMON /rptshm/ rproj,rtarg,bimpac
8693 COMMON /nshmak/ nnshma,npshma,ntshma,nshmac,nshma2
8695 COMMON /zentra/ icentr
8697 COMMON /nucimp/ prmom(5,248),tamom(5,248), prmfep,prmfen,tamfep,
8698 +tamfen, prefep,prefen,taefep,taefen, prepot(210),taepot(210),
8699 +prebin,taebin,fermod,etacou
8701 LOGICAL intpt,fermp,ihadss,ihadsv,ihadvs,ihadvv,ihada, ipadis,
8703 COMMON /droppt/ intpt,fermp,ihadss,ihadsv,ihadvs,ihadvv,ihada,
8704 +ipadis,ishmal,lpauli
8706 COMMON /nncms/ gamcm,bgcm,umoj,pcmj,eprojj,pprojj
8707 COMMON /nuccms/ gacms,bgcms,galab,bglab,blab,umo,pcm,eproj,pproj
8709 COMMON /nucpos/invvp(248),invvt(248),invsp(248),invst(248), nuvv,
8710 +nuvs,nusv,nuss,insvp(248),insvt(248),inssp(248),insst(248), isveap
8711 +(248),isveat(248),isseap(248),isseat(248), ivseap(248),ivseat
8712 +(248), islosp(248),islost(248),inoop(248),inoot(248),nuoo
8714 COMMON /taufo/ taufor,ktauge,itauve,incmod
8715 COMMON /evappp/ievap
8716 COMMON /neutyy/neutyp,neudec
8718 COMMON /rtar/ rtarnu
8722 COMMON /hadthr/ ehadth,inthad
8724 COMMON /dinpda/ imps(6,6),imve(6,6),ib08(6,21),ib10(6,21), ia08
8725 +(6,21),ia10(6,21), a1,b1,b2,b3,lt,le,bet,as,b8,ame,diq,isu
8727 COMMON /fermi/ pquar(4,248),paquar(4,248), tquar(4,248),taquar
8730 COMMON /ketmas/ am8(2),am10(2),ib88(2),ib1010(2),amch1n,amch2n
8742 COMMON /dpar/ aname(210),aam(210),ga(210),
tau(210),iich(210),
8743 +iibar(210),k1(210),k2(210)
8746 COMMON /dprin/ ipri,ipev,ippa,ipco,
init,iphkk,itopd,ipaupr
8751 COMMON /rejec/ irco1,irco2,irco3,irco4,irco5, irss11,irss12,
8752 +irss13,irss14, irsv11,irsv12,irsv13,irsv14, irvs11,irvs12,irvs13,
8753 +irvs14, irvv11,irvv12,irvv13,irvv14
8755 COMMON /projk/ iprojk
8757 COMMON /tanuin/ tasuma,tasubi,tabi,tamasu,tama,taimma
8759 COMMON /diffra/ isingd,idiftp,ioudif,iflagd
8762 COMMON /seadiq/ lseadi
8763 COMMON /evflag/numev
8764 COMMON /diquax/amedd,idiqua,idiquu
8785 COMMON /nucjtn/nonuj1,nonujt,nonus1,nonust
8786 COMMON /xsvthr/ xsthr,xvthr,xdthr,xssthr
8787 COMMON /minij/iminij,nomje,nomjer,nrejev,nomjt,nomjtr
8788 common/
pyjets/nlu,npad,
klu(4000,5),
plu(4000,5),vlu(4000,5)
8789 common/pol/polarx(4),pmodul
8790 COMMON /neurej/ noneur
8804 IF(ijproj.NE.0) kproj=ijproj
8817 pprojj=
sqrt((epn-amproj)*(epn+amproj))
8819 umoj=
sqrt(amproj**2 + amtar**2 + 2.*amtar*eprojj)
8821 gamcm = (eprojj+amtar)/umoj
8824 pcmj=gamcm*pprojj - bgcm*eprojj
8826 IF(ipev.GE.1)
WRITE(6, 1000)ip,ipz,it,itz,ijproj,ibproj,
8828 +amproj,amtar,umo,gamcm,bgcm
8829 1000
FORMAT(
' ENTRY KKEVNU'/
' IP,IPZ,IT,ITZ,IJPROJ,IBPROJ',6i5/
8830 +
' EPROJJ,PPROJJ,AMPROJ,AMTAR,UMO,GAMCM,BGCM'/10e12.3)
8844 IF (
mod(n9483,200).EQ.0)
THEN
8845 WRITE(6,
'(A,I5,A,I5,A)')
' KKEVT: Glauber event',numev,
8846 +
' rejected after', n9483,
' trials'
8847 WRITE(6, 1010) nn,np,
nt
8848 WRITE(6,1020) irco1,irco2,irco3,irco4,irco5, irss11,irss12,
8849 + irss13,irss14, irsv11,irsv12,irsv13,irsv14, irvs11,irvs12,
8850 + irvs13,irvs14, irvv11,irvv12,irvv13,irvv14
8853 ELSEIF(n9483.GT.1)
THEN
8856 1010
FORMAT (5
x,
' N9483 LOOP - NN, NP, NT',5i10)
8857 1020
FORMAT (5
x,
' N9483 LOOP - REJECTION COUNTERS ',/,5i8/2(8i8/))
8875 CALL
shmako(ip,it,bimp,nn,np,
nt,jssh,jtsh,pproj,kkmat)
8884 WRITE(6, 1040) ip,ipz,it,itz,eproj,pproj,nn,np,
nt
8885 1040
FORMAT (
' 752 FORM ',4i10,2f10.3,5i10)
8886 WRITE (6,
'(/A,2I5,1PE10.2,3I5)')
' KKEVT: IP,IT,BIMP,NN,NP,NT ',
8887 + ip,it,bimp,nn,np,
nt
8889 +
' KKEVT: JSSH(KKK),JTSH(KKK),INTER1(KKK),INTER2(KKK),',
8890 +
' PKOO(3,KKK),TKOO(3,KKK)'
8893 WRITE (6,
'(4I5,6(1PE11.3))') jssh(kkk),jtsh(kkk),inter1(kkk),
8894 + inter2(kkk), pkoo(1,kkk),pkoo(2,kkk),pkoo(3,kkk), tkoo(1,kkk),
8895 + tkoo(2,kkk),tkoo(3,kkk)
8915 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
8929 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
8942 phkk(4,nhkk)=aam(kproj)
8943 phkk(5,nhkk)=aam(kproj)
8946 idhkk(nhkk)=
mpdgha(kproj)
8952 phkk(5,nhkk)=aam(kproj)
8953 vhkk(1,nhkk)=pkoo(1,kkk)*1.
e-12
8954 vhkk(2,nhkk)=pkoo(2,kkk)*1.
e-12
8955 vhkk(3,nhkk)=pkoo(3,kkk)*1.
e-12
8957 whkk(1,nhkk)=pkoo(1,kkk)*1.
e-12
8958 whkk(2,nhkk)=pkoo(2,kkk)*1.
e-12
8959 whkk(3,nhkk)=pkoo(3,kkk)*1.
e-12
8963 IF (iphkk.GE.2)
WRITE(6,1050) nhkk,isthkk(nhkk),idhkk(nhkk),
8964 + jmohkk(1,nhkk),jmohkk(2,nhkk), jdahkk(1,nhkk),jdahkk(2,nhkk),
8965 + (phkk(khkk,nhkk),khkk=1,5), (vhkk(khkk,nhkk),khkk=1,4)
8967 1050
FORMAT (i6,i4,5i6,9e10.2)
8994 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
9008 frtneu=float(itn)/atnuc
9010 IF(samtes.LT.frtneu.AND.nctn.LT.itn)
THEN
9013 ELSEIF(samtes.GE.frtneu.AND.nctp.LT.itz)
THEN
9016 ELSEIF(nctn.LT.itn)
THEN
9019 ELSEIF(nctp.LT.itz)
THEN
9030 CALL
fer4mt(it,pferm,fpx,fpy,fpz,
fe,ktarg)
9040 phkk(5,nhkk)=aam(ktarg)
9045 phkk(4,nhkk)=aam(ktarg)
9046 phkk(5,nhkk)=aam(ktarg)
9050 idhkk(nhkk)=
mpdgha(ktarg)
9055 vhkk(1,nhkk)=(tkoo(1,kkk)+bimp)*1.
e-12
9056 vhkk(2,nhkk)=tkoo(2,kkk)*1.
e-12
9057 vhkk(3,nhkk)=tkoo(3,kkk)*1.
e-12
9059 whkk(1,nhkk)=(tkoo(1,kkk)+bimp)*1.
e-12
9060 whkk(2,nhkk)=tkoo(2,kkk)*1.
e-12
9061 whkk(3,nhkk)=tkoo(3,kkk)*1.
e-12
9065 IF (iphkk.GE.2)
WRITE(6,1050) nhkk,isthkk(nhkk),idhkk(nhkk),
9066 + jmohkk(1,nhkk),jmohkk(2,nhkk), jdahkk(1,nhkk),jdahkk(2,nhkk),
9067 + (phkk(khkk,nhkk),khkk=1,5), (vhkk(khkk,nhkk),khkk=1,4)
9073 tasuma=itz*aam(1) + (it-itz)*aam(8)
9081 phkk(1,ihkk)=phkk(1,ihkk) - txfe
9082 phkk(2,ihkk)=phkk(2,ihkk) - tyfe
9083 phkk(3,ihkk)=phkk(3,ihkk) - tzfe
9084 phkk(4,ihkk)=
sqrt(phkk(5,ihkk)** 2+ phkk(1,ihkk)** 2+ phkk
9085 + (2,ihkk)** 2+ phkk(3,ihkk)**2)
9086 itsec=
mcihad(idhkk(ihkk))
9087 tasubi=tasubi + phkk(4,ihkk) - phkk(5,ihkk) - taepot(itsec)
9088 tamasu=tamasu + phkk(4,ihkk) - taepot(itsec)
9089 IF (iphkk.GE.2)
WRITE(6,1050) ihkk,isthkk(ihkk),idhkk(ihkk),
9090 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
9091 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
9095 tama=(it-itz)*aam(8) + itz*aam(1) + tabi
9096 taimma=tama - tamasu
9100 WRITE(6,
'(/A/5X,A/5X,4(1PE11.3))')
' KKEVT: FERMI MOMENTA',
9101 +
'PRMFEP,PRMFEN, TAMFEP,TAMFEN', prmfep,prmfen, tamfep,tamfen
9110 WRITE(6,
'(A,I10)')
' KKEVT ITUM loop limit',itum
9111 WRITE(6,
'(A,2A)')
' KKEVT (AFTER XKSAMP):',
9112 +
' JSSH, JSSHS, JTSH, JTSHS, INTER1, INTER2',
9113 +
' PKOO(1),PKOO(2),PKOO(3), TKOO(1),TKOO(2),TKOO(3)'
9115 WRITE (6,
'(6I5,6(1PE11.3))') jssh(kkk),jsshs(kkk),jtsh(kkk),
9116 + jtshs(kkk), inter1(kkk),inter2(kkk), pkoo(1,kkk),pkoo(2,kkk),
9117 + pkoo(3,kkk), tkoo(1,kkk),tkoo(2,kkk),tkoo(3,kkk)
9126 IF(ipev.GE.2)
WRITE(6,
'(A)')
' KKEVT before NUCMOM'
9128 IF (iphkk.GE.2)
WRITE(6,1050) ihkk,isthkk(ihkk),idhkk(ihkk),
9129 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
9130 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
9135 WRITE(6,
'(A)')
' KKEVNU after NUCMOM'
9150 WRITE(6,
'(A)')
' KKEVNU after MASS_INI'
9178 IF(ltyp.EQ.1.OR.ltyp.EQ.3.OR.ltyp.EQ.5)nuctyp=2112
9179 IF(ltyp.EQ.2.OR.ltyp.EQ.4.OR.ltyp.EQ.6)nuctyp=2212
9180 ELSEIF(neudec.GE.10)
THEN
9185 IF(rtyp.LE.aitz)nuctyp=2212
9191 WRITE(6,*)
' NEUTYP,NUCTYP,IKTA,IDHKK(IKTA)',
9192 * neutyp,nuctyp,ikta,idhkk(ikta)
9194 IF(idhkk(ikta).NE.nuctyp) go to 202
9198 IF(nuctyp.EQ.2112)nuctop=2
9199 IF(nuctyp.EQ.2212)nuctop=1
9209 CALL
qel_pol(epn,ltyp,plu21,plu22,plu23,plu24,plu25)
9210 ELSEIF(neudec.EQ.10)
THEN
9213 WRITE(6,*)
' CALL GEN_DELTA',epn,ltyp,nuctop,jint,
9214 & plu21,plu22,plu23,plu24,plu25
9217 & plu21,plu22,plu23,plu24,plu25)
9218 ELSEIF(neudec.EQ.11)
THEN
9221 & plu21,plu22,plu23,plu24,plu25)
9222 ELSEIF(neudec.EQ.20)
THEN
9223 CALL
filenu(epnn,ltyp,nutyp,plu21,plu22,plu23,
9230 CALL
ltini(5,epn,pppn,eeecm)
9234 IF(ijproj.NE.0) kproj=ijproj
9247 pprojj=
sqrt((epn-amproj)*(epn+amproj))
9250 umoj=
sqrt(amproj**2 + amtar**2 + 2.*amtar*eprojj)
9252 gamcm = (eprojj+amtar)/umoj
9261 pcmj=gamcm*pprojj - bgcm*eprojj
9264 IF(ipev.GE.1)
WRITE(6,*)
' EPN,PPROJJ,UMOJ,GAMCM,BGCM,PCMJ,ECM',
9265 &epn,pprojj,umoj,gamcm,bgcm,pcmj,ecm
9276 WRITE(6,*)
' NEUTYP,NUCTYP,IKTA,IDHKK(IKTA)',
9277 * neutyp,nuctyp,ikta,idhkk(ikta)
9279 IF(idhkk(ikta).NE.nutyp) go to 702
9284 phkk(4,ikta)=
sqrt(phkk(5,ikta)**2+
9285 + phkk(1,ikta)**2+ phkk(2,ikta)**2+ phkk(3,ikta)**2)
9292 txfe=txfe+phkk(1,iii)
9293 tyfe=tyfe+phkk(2,iii)
9294 tzfe=tzfe+phkk(3,iii)
9301 IF(ihkk.NE.ikta)
THEN
9302 phkk(1,ihkk)=phkk(1,ihkk) - txfe
9303 phkk(2,ihkk)=phkk(2,ihkk) - tyfe
9304 phkk(3,ihkk)=phkk(3,ihkk) - tzfe
9305 phkk(4,ihkk)=
sqrt(phkk(5,ihkk)**2+
9306 + phkk(1,ihkk)**2+ phkk(2,ihkk)**2+ phkk(3,ihkk)**2)
9310 IF(iniqel.LE.20)
THEN
9321 IF(neudec.GE.10)iiimax=7
9322 IF(neudec.EQ.20)iiimax=nhad
9323 IF(
klu(1,2).EQ.16.OR.
klu(1,2).EQ.-16)
THEN
9329 IF(
klu(iii,1).EQ.1)
THEN
9332 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
9335 isthkk(nhkk)=
klu(iii,1)
9336 idhkk(nhkk)=
klu(iii,2)
9337 IF (isthkk(nhkk).EQ.15)isthkk(nhkk)=2
9338 IF (isthkk(nhkk).EQ.11)isthkk(nhkk)=2
9343 phkk(1,nhkk)=
plu(iii,1)
9344 phkk(2,nhkk)=
plu(iii,2)
9345 phkk(3,nhkk)=
plu(iii,3)
9346 phkk(4,nhkk)=
plu(iii,4)
9348 nrhkk=
mcihad(idhkk(nhkk))
9361 IF(nrhkk.EQ.1.OR.nrhkk.EQ.8)
THEN
9362 IF(phkk(4,nhkk)-aam(nrhkk).LE.taepot(nrhkk))
THEN
9368 phkk(5,nhkk)=
plu(iii,5)
9369 vhkk(1,nhkk)=vhkk(1,ikta)
9370 vhkk(2,nhkk)=vhkk(2,ikta)
9371 vhkk(3,nhkk)=vhkk(3,ikta)
9372 vhkk(4,nhkk)=vhkk(4,ikta)
9374 whkk(1,nhkk)=polarx(1)
9375 whkk(2,nhkk)=polarx(2)
9376 whkk(3,nhkk)=polarx(3)
9377 whkk(4,nhkk)=polarx(4)
9379 whkk(1,nhkk)=whkk(1,ikta)
9380 whkk(2,nhkk)=whkk(2,ikta)
9381 whkk(3,nhkk)=whkk(3,ikta)
9382 whkk(4,nhkk)=whkk(4,ikta)
9389 IF(iniqel.LE.20)
THEN
9394 DO 111 i=nhkkh1+1,nhkk
9397 phkk(3,i)=gacms*pznn-bgcms*enn
9398 phkk(4,i)=gacms*enn-bgcms*pznn
9409 WRITE(6,
'(/A/)')
' KKEVT: FINAL LIST OF ENTRIES TO /HKKEVT/'
9412 WRITE(6,1050) ihkk,isthkk(ihkk),idhkk(ihkk),jmohkk(1,ihkk),
9413 + jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),(phkk
9414 + (khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
9428 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
9430 common/intnez/ndz,nzd
9435 COMMON /hkkevt/ nhkk,nevhkk,isthkk(
nmxhkk),idhkk(
nmxhkk), jmohkk
9527 COMMON /dxqx/ xpvq(248),xpvd(248),xtvq(248),xtvd(248), xpsq
9529 * ,xpsu(248),xtsu(248)
9530 * ,xpsut(248),xtsut(248)
9532 COMMON /intnew/ nvv,nsv,nvs,nss,ndv,nvd,nds,nsd,
9533 +ixpv,ixps,ixtv,ixts, intvv1(248),
9534 +intvv2(248),intsv1(248),intsv2(248), intvs1(248),intvs2(248),
9536 +intdv1(248),intdv2(248),intvd1(248),intvd2(248),
9550 COMMON /ifroto/ ifrovp(248),itovp(248),ifrosp(
intmx), ifrovt(248),
9556 +mhkkdv(248),mhkkvd(248), mhkkds(
intmd),mhkksd(
intmd)
9558 LOGICAL zuovp,zuosp,zuovt,zuost,intlo,inloss
9559 COMMON /lozuo/ zuovp(248),zuosp(
intmx),zuovt(248),zuost(
intmx),
9567 COMMON /diqi/ ipvq(248),ippv1(248),ippv2(248), itvq(248),ittv1
9570 +itsaq(
intmx),itsaq2(
intmx),kkproj(248),kktarg(248)
9576 COMMON /nucc/ it,itz,ip,ipz,ijproj,ibproj,ijtarg,ibtarg
9578 COMMON /rptshm/ rproj,rtarg,bimpac
9580 COMMON /nshmak/ nnshma,npshma,ntshma,nshmac,nshma2
9582 COMMON /zentra/ icentr
9584 COMMON /nucimp/ prmom(5,248),tamom(5,248), prmfep,prmfen,tamfep,
9585 +tamfen, prefep,prefen,taefep,taefen, prepot(210),taepot(210),
9586 +prebin,taebin,fermod,etacou
9588 LOGICAL intpt,fermp,ihadss,ihadsv,ihadvs,ihadvv,ihada, ipadis,
9590 COMMON /droppt/ intpt,fermp,ihadss,ihadsv,ihadvs,ihadvv,ihada,
9591 +ipadis,ishmal,lpauli
9593 COMMON /nncms/ gamcm,bgcm,umo,pcm,eproj,pproj
9595 COMMON /nucpos/invvp(248),invvt(248),invsp(248),invst(248), nuvv,
9596 +nuvs,nusv,nuss,insvp(248),insvt(248),inssp(248),insst(248), isveap
9597 +(248),isveat(248),isseap(248),isseat(248), ivseap(248),ivseat
9598 +(248), islosp(248),islost(248),inoop(248),inoot(248),nuoo
9600 COMMON /taufo/ taufor,ktauge,itauve,incmod
9601 COMMON /evappp/ievap
9603 COMMON /rtar/ rtarnu
9607 COMMON /hadthr/ ehadth,inthad
9609 COMMON /dinpda/ imps(6,6),imve(6,6),ib08(6,21),ib10(6,21), ia08
9610 +(6,21),ia10(6,21), a1,b1,b2,b3,lt,le,bet,as,b8,ame,diq,isu
9612 COMMON /fermi/ pquar(4,248),paquar(4,248), tquar(4,248),taquar
9615 COMMON /ketmas/ am8(2),am10(2),ib88(2),ib1010(2),amch1n,amch2n
9627 COMMON /dpar/ aname(210),aam(210),ga(210),
tau(210),iich(210),
9628 +iibar(210),k1(210),k2(210)
9631 COMMON /dprin/ ipri,ipev,ippa,ipco,
init,iphkk,itopd,ipaupr
9636 COMMON /rejec/ irco1,irco2,irco3,irco4,irco5, irss11,irss12,
9637 +irss13,irss14, irsv11,irsv12,irsv13,irsv14, irvs11,irvs12,irvs13,
9638 +irvs14, irvv11,irvv12,irvv13,irvv14
9640 COMMON /projk/ iprojk
9642 COMMON /tanuin/ tasuma,tasubi,tabi,tamasu,tama,taimma
9644 COMMON /diffra/ isingd,idiftp,ioudif,iflagd
9648 COMMON /seadiq/ lseadi
9649 COMMON /evflag/numev
9650 COMMON /diquax/amedd,idiqua,idiquu
9671 COMMON /nucjtn/nonuj1,nonujt,nonus1,nonust
9672 COMMON /xsvthr/ xsthr,xvthr,xdthr,xssthr
9673 COMMON /minij/iminij,nomje,nomjer,nrejev,nomjt,nomjtr
9674 COMMON /felire/amrecd,kjpro
9675 dimension pppp(4),rmax(5),nomax(5)
9687 IF(ijproj.NE.0) kproj=ijproj
9698 pproj =
sqrt((epn-amproj)*(epn+amproj))
9699 umo =
sqrt(amproj**2 + amtar**2 + 2.*amtar*eproj)
9700 gamcm = (eproj+amtar)/umo
9703 pcm=gamcm*pproj - bgcm*eproj
9705 IF(ipev.GE.1)
print 1000,ip,ipz,it,itz,ijproj,ibproj, eproj,pproj,
9706 +amproj,amtar,umo,gamcm,bgcm
9707 1000
FORMAT(
' ENTRY KKEVDI'/
' IP,IPZ,IT,ITZ,IJPROJ,IBPROJ',6i5/
9708 +
' EPROJ,PPROJ,AMPROJ,AMTAR,UMO,GAMCM,BGCM'/10e12.3)
9722 IF (
mod(n9483,200).EQ.0)
THEN
9723 WRITE(6,
'(A,I5,A,I5,A)')
' KKEVT: Glauber event',numev,
9724 +
' rejected after', n9483,
' trials'
9725 WRITE(6, 1010) nn,np,
nt
9726 WRITE(6,1020) irco1,irco2,irco3,irco4,irco5, irss11,irss12,
9727 + irss13,irss14, irsv11,irsv12,irsv13,irsv14, irvs11,irvs12,
9728 + irvs13,irvs14, irvv11,irvv12,irvv13,irvv14
9731 ELSEIF(n9483.GT.1)
THEN
9734 1010
FORMAT (5
x,
' N9483 LOOP - NN, NP, NT',5i10)
9735 1020
FORMAT (5
x,
' N9483 LOOP - REJECTION COUNTERS ',/,5i8/2(8i8/))
9753 CALL
shmako(ip,it,bimp,nn,np,
nt,jssh,jtsh,pproj,kkmat)
9762 WRITE(6, 1040) ip,ipz,it,itz,eproj,pproj,nn,np,
nt
9763 1040
FORMAT (
' 752 FORM ',4i10,2f10.3,5i10)
9764 WRITE (6,
'(/A,2I5,1PE10.2,3I5)')
' KKEVT: IP,IT,BIMP,NN,NP,NT ',
9765 + ip,it,bimp,nn,np,
nt
9767 +
' KKEVT: JSSH(KKK),JTSH(KKK),INTER1(KKK),INTER2(KKK),',
9768 +
' PKOO(3,KKK),TKOO(3,KKK)'
9771 WRITE (6,
'(4I5,6(1PE11.3))') jssh(kkk),jtsh(kkk),inter1(kkk),
9772 + inter2(kkk), pkoo(1,kkk),pkoo(2,kkk),pkoo(3,kkk), tkoo(1,kkk),
9773 + tkoo(2,kkk),tkoo(3,kkk)
9803 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
9816 phkk(4,nhkk)=aam(kproj)
9817 phkk(5,nhkk)=aam(kproj)
9820 idhkk(nhkk)=
mpdgha(kproj)
9826 phkk(5,nhkk)=aam(kproj)
9827 vhkk(1,nhkk)=pkoo(1,kkk)*1.
e-12
9828 vhkk(2,nhkk)=pkoo(2,kkk)*1.
e-12
9829 vhkk(3,nhkk)=pkoo(3,kkk)*1.
e-12
9831 whkk(1,nhkk)=pkoo(1,kkk)*1.
e-12
9832 whkk(2,nhkk)=pkoo(2,kkk)*1.
e-12
9833 whkk(3,nhkk)=pkoo(3,kkk)*1.
e-12
9837 IF (iphkk.GE.2)
WRITE(6,1050) nhkk,isthkk(nhkk),idhkk(nhkk),
9838 + jmohkk(1,nhkk),jmohkk(2,nhkk), jdahkk(1,nhkk),jdahkk(2,nhkk),
9839 + (phkk(khkk,nhkk),khkk=1,5), (vhkk(khkk,nhkk),khkk=1,4)
9841 1050
FORMAT (i6,i4,5i6,9e10.2)
9868 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
9882 frtneu=float(itn)/atnuc
9884 IF(samtes.LT.frtneu.AND.nctn.LT.itn)
THEN
9887 ELSEIF(samtes.GE.frtneu.AND.nctp.LT.itz)
THEN
9890 ELSEIF(nctn.LT.itn)
THEN
9893 ELSEIF(nctp.LT.itz)
THEN
9904 CALL
fer4mt(it,pferm,fpx,fpy,fpz,
fe,ktarg)
9912 phkk(5,nhkk)=aam(ktarg)
9917 phkk(4,nhkk)=aam(ktarg)
9918 phkk(5,nhkk)=aam(ktarg)
9922 idhkk(nhkk)=
mpdgha(ktarg)
9927 vhkk(1,nhkk)=(tkoo(1,kkk))*1.
e-12
9928 vhkk(2,nhkk)=tkoo(2,kkk)*1.
e-12
9929 vhkk(3,nhkk)=tkoo(3,kkk)*1.
e-12
9931 whkk(1,nhkk)=(tkoo(1,kkk)+bimp)*1.
e-12
9932 whkk(2,nhkk)=tkoo(2,kkk)*1.
e-12
9933 whkk(3,nhkk)=tkoo(3,kkk)*1.
e-12
9937 IF (iphkk.GE.2)
WRITE(6,1050) nhkk,isthkk(nhkk),idhkk(nhkk),
9938 + jmohkk(1,nhkk),jmohkk(2,nhkk), jdahkk(1,nhkk),jdahkk(2,nhkk),
9939 + (phkk(khkk,nhkk),khkk=1,5), (vhkk(khkk,nhkk),khkk=1,4)
9945 tasuma=itz*aam(1) + (it-itz)*aam(8)
9953 phkk(1,ihkk)=phkk(1,ihkk) - txfe
9954 phkk(2,ihkk)=phkk(2,ihkk) - tyfe
9955 phkk(3,ihkk)=phkk(3,ihkk) - tzfe
9956 phkk(4,ihkk)=
sqrt(phkk(5,ihkk)** 2+ phkk(1,ihkk)** 2+ phkk
9957 + (2,ihkk)** 2+ phkk(3,ihkk)**2)
9958 itsec=
mcihad(idhkk(ihkk))
9959 tasubi=tasubi + phkk(4,ihkk) - phkk(5,ihkk) - taepot(itsec)
9960 tamasu=tamasu + phkk(4,ihkk) - taepot(itsec)
9961 IF (iphkk.GE.2)
WRITE(6,1050) ihkk,isthkk(ihkk),idhkk(ihkk),
9962 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
9963 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
9967 tama=(it-itz)*aam(8) + itz*aam(1) + tabi
9968 taimma=tama - tamasu
9972 WRITE(6,
'(/A/5X,A/5X,4(1PE11.3))')
' KKEVT: FERMI MOMENTA',
9973 +
'PRMFEP,PRMFEN, TAMFEP,TAMFEN', prmfep,prmfen, tamfep,tamfen
9982 WRITE(6,
'(A,I10)')
' KKEVT ITUM loop limit',itum
9983 WRITE(6,
'(A,2A)')
' KKEVT (AFTER XKSAMP):',
9984 +
' JSSH, JSSHS, JTSH, JTSHS, INTER1, INTER2',
9985 +
' PKOO(1),PKOO(2),PKOO(3), TKOO(1),TKOO(2),TKOO(3)'
9987 WRITE (6,
'(6I5,6(1PE11.3))') jssh(kkk),jsshs(kkk),jtsh(kkk),
9988 + jtshs(kkk), inter1(kkk),inter2(kkk), pkoo(1,kkk),pkoo(2,kkk),
9989 + pkoo(3,kkk), tkoo(1,kkk),tkoo(2,kkk),tkoo(3,kkk)
9998 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT before NUCMOM'
10000 IF (iphkk.GE.2)
WRITE(6,1050) ihkk,isthkk(ihkk),idhkk(ihkk),
10001 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
10002 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
10005 IF(ipev.GE.6)
WRITE(6,
'(A)')
' KKEVT after NUCMOM'
10026 READ(29,
'(I5,4E15.6)')ndiffn,pppp(1),pppp(2),pppp(3),pppp(4)
10027 ELSEIF(kform.EQ.2)
THEN
10028 READ(29,
'(1X,I5,E12.4)')kjpro,amrecd
10029 WRITE(6,
'(1X,I5,E12.4)')kjpro,amrecd
10030 READ(29,
'(1X,I5)')imist
10032 READ(29,
'(1X,I5)')imist
10034 READ(29,
'(1X,I5,4E18.10)')imist,pppp(1),pppp(2),pppp(3),pppp(4)
10035 WRITE(6,
'(1X,I5,4E18.10)')imist,pppp(1),pppp(2),pppp(3),pppp(4)
10061 rrrn=
sqrt(vhkk(1,i)**2+vhkk(2,i)**2)
10062 IF(rmax(1).LT.rrrn)
THEN
10068 IF(i.EQ.nomax(1))go to 212
10069 rrrn=
sqrt(vhkk(1,i)**2+vhkk(2,i)**2)
10070 IF(rmax(2).LT.rrrn)
THEN
10076 IF(i.EQ.nomax(1))go to 213
10077 IF(i.EQ.nomax(2))go to 213
10078 rrrn=
sqrt(vhkk(1,i)**2+vhkk(2,i)**2)
10079 IF(rmax(3).LT.rrrn)
THEN
10093 IF(nwepau.EQ.0)iint=nomax(3)
10094 IF(nwepau.EQ.1)iint=nomax(2)
10095 IF(nwepau.EQ.2)iint=nomax(1)
10098 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
10102 idhkk(nhkk)=idhkk(iint)
10103 jmohkk(1,nhkk)=iint
10107 nrhkk=
mcihad(idhkk(nhkk))
10108 phkk(1,nhkk)=phkk(1,iint)+pppp(1)
10109 phkk(2,nhkk)=phkk(2,iint)+pppp(2)
10110 phkk(3,nhkk)=phkk(3,iint)+pppp(3)
10111 phkk(4,nhkk)=
sqrt(phkk(1,nhkk)**2+phkk(2,nhkk)**2+
10112 * phkk(3,nhkk)**2+aam(nrhkk)**2)
10113 phkk(5,nhkk)=aam(nrhkk)
10114 IF(nrhkk.EQ.-1.OR.nrhkk.EQ.-8)
THEN
10116 IF(phkk(4,nhkk).LE.taefep+aam(nrhkk))
THEN
10117 WRITE(6,*)
' Pauli Blocking of p',nwepau,phkk(4,nhkk),taefep
10121 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
10128 ELSEIF(kform.EQ.2.AND.irej.EQ.0)
THEN
10130 READ(29,
'(1X,I5)')krepa
10131 READ(29,
'(1X,I5)')krepa
10132 READ(29,
'(1X,I5)')krepa
10134 READ(29,
'(1X,I5)')krepa
10135 DO 1975 kre=1,krepa
10136 READ(29,
'(1X,A)')a109
10143 IF(phkk(4,nhkk).LE.taefen+aam(nrhkk))
THEN
10144 WRITE(6,*)
' Pauli Blocking of n',nwepau,phkk(4,nhkk),taefen
10148 WRITE (6,
'(A,2I5)').EQ.
' :NHKKNMXHKK ',nhkk,
nmxhkk
10155 ELSEIF(kform.EQ.2.AND.irej.EQ.0)
THEN
10157 READ(29,
'(1X,I5)')krepa
10158 READ(29,
'(1X,I5)')krepa
10159 READ(29,
'(1X,I5)')krepa
10161 READ(29,
'(1X,I5)')krepa
10162 DO 1976 kre=1,krepa
10163 READ(29,
'(1X,A)')a109
10169 IF(phkk(4,nhkk)-aam(nrhkk).LE.taepot(nrhkk))
THEN
10175 vhkk(1,nhkk)=vhkk(1,ikta)
10176 vhkk(2,nhkk)=vhkk(2,ikta)
10177 vhkk(3,nhkk)=vhkk(3,ikta)
10178 vhkk(4,nhkk)=vhkk(4,ikta)
10179 whkk(1,nhkk)=whkk(1,ikta)
10180 whkk(2,nhkk)=whkk(2,ikta)
10181 whkk(3,nhkk)=whkk(3,ikta)
10182 whkk(4,nhkk)=whkk(4,ikta)
10185 IF (ipev.GE.1)
THEN
10186 WRITE(6,
'(/A/)')
' KKEVT: FINAL LIST OF ENTRIES TO /HKKEVT/'
10188 WRITE(6,1050) ihkk,isthkk(ihkk),idhkk(ihkk),jmohkk(1,ihkk),
10189 + jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),(phkk
10190 + (khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
10205 common/ludat3/mdcy(500,3),mdme(2000,2),brat(2000),kfdp(2000,5)
10259 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
10262 common/
pyjets/
n,npad,k(4000,5),
p(4000,5),v(4000,5)
10263 common/phirot/phr1,phr2,phr3
10266 CALL
filenu(epn,ltyp,nutyp,plu21,plu22,plu23,nhad,iflag,
lend)
10267 IF(
lend.EQ.1) go to 100
10268 nflag(iflag) = nflag(iflag) + 1
10269 write(6,150) (kw,k(kw,1),k(kw,2),(
p(kw,j),j=1,5),kw=1,
n)
10275 write(6,150) (kw,k(kw,1),k(kw,2),(
p(kw,j),j=1,5),kw=1,
n)
10284 write(6,150) (kw,k(kw,1),k(kw,2),(
p(kw,j),j=1,5),kw=1,
n)
10288 WRITE(6,*) (nflag(j),j=1,7)
10290 150
FORMAT(i5,2i5,5g10.3)
10293 SUBROUTINE filenu(EPN,LTYP,NUTYP,PLU21,PLU22,PLU23,NHO,
10295 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
10298 common/
pyjets/
n,npad,k(4000,5),
p(4000,5),v(4000,5)
10305 OPEN (lun,
file=
'nuatm_new.dat',
status=
'OLD')
10314 READ (lun, 10, err=1) nev,
n, (v(1,j),j=1,3)
10317 READ (lun, 15)ll, (k(l,j),j=1,5),(
p(l,j),j=1,5)
10318 IF(l.GT.4.AND.k(l,1).EQ.1) nhad = nhad + 1
10321 IF(
init.LE.20)
THEN
10323 WRITE(6, 15) l, (k(l,j),j=1,5),(
p(l,j),j=1,5)
10332 IF(
n.EQ.4.OR.
n.EQ.5)
THEN
10333 IF(k(4,2).NE.k(1,2))
THEN
10335 ELSE IF(k(4,2).EQ.k(1,2))
THEN
10338 ELSE IF(
n.EQ.7)
THEN
10339 IF(k(4,2).NE.k(1,2))
THEN
10341 ELSE IF(k(4,2).EQ.k(1,2))
THEN
10344 ELSE IF(
n.GT.7)
THEN
10345 IF(k(4,2).NE.k(1,2))
THEN
10347 ELSE IF(k(4,2).EQ.k(1,2))
THEN
10351 WRITE(6,*)
n,nev,k(1,2),k(4,2)
10356 10
FORMAT(1
x,i7, 3
x, i3, 2
x, 3g12.4)
10357 15
FORMAT(i5,5i7,5g12.4)
10361 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
10364 REAL*4 rrat(6),emin,vers,ak
10368 IF (line(1:1) .EQ.
'!') goto 100
10371 READ (lun, 110) vers, jcode, jflux, jrat, ak
10372 READ (lun, 120) emin, (rrat(j),j=1,6)
10375 110
FORMAT(1
x,f5.2,3
x, i2, 3
x, 2i2, 3
x, f10.2)
10376 120
FORMAT(1
x,f12.4, 3
x, 6g12.4)
10381 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
10383 dimension rot(3,3),pi(3),po(3)
10394 po(j)=rot(j,1)*pi(1)+rot(j,2)*pi(2)+rot(j,3)*pi(3)
10401 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
10403 dimension rot(3,3),pi(3),po(3)
10414 po(j)=rot(j,1)*pi(1)+rot(j,2)*pi(2)+rot(j,3)*pi(3)
10420 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
10422 dimension rot(3,3),pi(3),po(3)
10433 po(j)=rot(j,1)*pi(1)+rot(j,2)*pi(2)+rot(j,3)*pi(3)
10439 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
10441 dimension rot(3,3),pi(3),po(3)
10452 po(j)=rot(j,1)*pi(1)+rot(j,2)*pi(2)+rot(j,3)*pi(3)
10458 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
10460 common/
pyjets/
n,npad,k(4000,5),
p(4000,5),v(4000,5)
10461 common/phirot/phr1,phr2,phr3
10462 dimension pi(3),po(3)
10466 phr1=atan(
p(1,2)/
p(1,3))
10473 IF(abs(po(ll)).LT.1.
d-07) po(ll)=0.
10479 phr2=atan(
p(1,1)/
p(1,3))
10486 IF(abs(po(ll)).LT.1.
d-07) po(ll)=0.
10493 IF(
p(1,3).lt.0)
THEN
10503 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
10505 common/
pyjets/
n,npad,k(4000,5),
p(4000,5),v(4000,5)
10506 common/phirot/phr1,phr2,phr3
10507 dimension pi(3),po(3)
10512 IF(phr3.EQ.-1.)
THEN
10523 IF(abs(po(ll)).LT.1.
d-07) po(ll)=0.
10535 IF(abs(po(ll)).LT.1.
d-07) po(ll)=0.
10545 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
10549 parameter(
nmxhkk= 89998)
10551 COMMON /hkkevt/ nhkk,nevhkk,isthkk(
nmxhkk),idhkk(
nmxhkk), jmohkk
10555 common/phirot/phr1,phr2,phr3
10556 dimension pi(3),po(3)
10561 IF(phr3.EQ.-1.)
THEN
10563 IF((isthkk(kw).EQ.-1).OR.
10564 * (isthkk(kw).EQ.1).OR.
10565 * (isthkk(kw).EQ.1001))
THEN
10566 phkk(3,kw) = -phkk(3,kw)
10571 IF((isthkk(kw).EQ.-1).OR.
10572 * (isthkk(kw).EQ.1).OR.
10573 * (isthkk(kw).EQ.1001))
THEN
10579 IF(abs(po(ll)).LT.1.
d-07) po(ll)=0.
10587 IF((isthkk(kw).EQ.-1).OR.
10588 * (isthkk(kw).EQ.1).OR.
10589 * (isthkk(kw).EQ.1001))
THEN
10595 IF(abs(po(ll)).LT.1.
d-07) po(ll)=0.
10608 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
10610 parameter(
intmx=2488)
10619 IF(
rndm(v).LT.fdann)idann=idann+1
10626 DO 1 i= nn-idann+1,nn
10629 jssh(ni1)=jssh(ni1)-1
10630 jtsh(ni2)=jtsh(ni2)-1
10631 IF(jssh(ni1).EQ.0)npnew=npnew-1
10632 IF(jtsh(ni2).EQ.0)ntnew=ntnew-1
subroutine kkevdv(IREJDV)
subroutine xksamp(NN, ECM)
subroutine kkevvd(IREJVD)
subroutine cromsc(PX, PY, PZ, E, RX, RY, RZ, PXN, PYN, PZN, EN, IORIG)
subroutine shmak1(ICASE, NN, NNA, NNB, NA, NB, UMO, BIMP)
subroutine flksaa(NN, ECM)
subroutine hadrkk(NHKKH1, PPN)
subroutine dtrans(XO, YO, ZO, CDE, SDE, SFE, CFE, X, Y, Z)
subroutine sltraf(GA, BGA, EIN, PZIN, EOUT, PZOUT)
subroutine xptfl1(NHARD, NSEA, NVAL, SOXUS1, SOXUS2, SOX1, SOX2, HAX1, HAX2, LPO, MPO, NPO, LPASOF, IJPVAL, IJTVAL, RJ1000, XMAX1, XMAX2)
subroutine testrot1s(PI, PO, PHI)
DOUBLE PRECISION function rndm(RDUMMY)
subroutine diqzzd(ECM, XPSQ1, XPSAQ1, XPSQ2, XPSAQ2, IPSQ1, IPSAQ1, IPSQ2, IPSAQ2, IREJSD)
DOUBLE PRECISION function sampex(X1, X2)
subroutine selhrd(MHARD, IJPVAL, IJTVAL, PTTHRE)
subroutine kkevnu(NHKKH1, EPN, PPN, KKMAT, IREJ, ECM)
subroutine selpth(PQUAR, PAQUAR, TQUAR, TAQUAR, ECM, PTXSQ1, PTYSQ1, PLQ1, EQ1, PTXSA1, PTYSA1, PLAQ1, EAQ1, PTXSQ2, PTYSQ2, PLQ2, EQ2, PTXSA2, PTYSA2, PLAQ2, EAQ2, AMCH1, AMCH2, IREJ, IKVALA, pttq1, ptta1, pttq2, ptta2)
subroutine cormom(AMCH1, AMCH2, AMCH1N, AMCH2N, PQ1X, PQ1Y, PQ1Z, PQ1E, PA1X, PA1Y, PA1Z, PA1E, PQ2X, PQ2Y, PQ2Z, PQ2E, PA2X, PA2Y, PA2Z, PA2E, PXCH1, PYCH1, PZCH1, ECH1, PXCH2, PYCH2, PZCH2, ECH2, IREJ)
subroutine shmak(ICASE, NN, NNA, NNB, NA, NB, UMO, BIMP)
subroutine hadhad(EPN, PPN, NHKKH1, IHTAWW, ITTA, IREJFO)
subroutine ltini(IDP, EPN, PPN, ECM)
subroutine kkevvv(IREJVV, NBPROJ)
subroutine fer4mt(IT, PFERM, PXT, PYT, PZT, ET, KT)
DOUBLE PRECISION function sampxb(X1, X2, B)
subroutine samplm(L2STR, M2STR, N2STR)
subroutine selpt(PTXSQ1, PTYSQ1, PLQ1, EQ1, PTXSA1, PTYSA1, PLAQ1, EAQ1, PTXSQ2, PTYSQ2, PLQ2, EQ2, PTXSA2, PTYSA2, PLAQ2, EAQ2, AMCH1, AMCH2, IREJ, IKVALA, PTTQ1, PTTA1, PTTQ2, PTTA2, NSELPT)
subroutine filenu(EPN, LTYP, NUTYP, PLU21, PLU22, PLU23, NHO, IFLAG, LEND)
subroutine selpt4(PTXSQ1, PTYSQ1, PLQ1, EQ1, PTXSA1, PTYSA1, PLAQ1, EAQ1, PTXSQ2, PTYSQ2, PLQ2, EQ2, PTXSA2, PTYSA2, PLAQ2, EAQ2, AMCH1, AMCH2, IREJ, IKVALA, PTTQ1, PTTA1, NSELPT)
DOUBLE PRECISION function ebind(IA, IZ)
G4int mod(G4int a, G4int b)
subroutine samplx(L2STR, M2STR, N2STR, NN2STR, NL2STR)
subroutine testrot2s(PI, PO, PHI)
subroutine kkevds(IREJDS)
subroutine qel_pol(ENU, LTYP, P21, P22, P23, P24, P25)
subroutine primpt(MPO, ECM)
DOUBLE PRECISION function phnsch(KP, KTARG, PLAB)
subroutine corval(AMMM, IREJ, AMCH1, AMCH2, QTX1, QTY1, QZ1, QE1, QTX2, QTY2, QZ2, QE2, NORIG)
subroutine gen_delta(ENU, LLEP, LTARG, JINT, P21, P22, P23, P24, P25)
subroutine daltra(GA, BGX, BGY, BGZ, PCX, PCY, PCZ, EC, P, PX, PY, PZ, E)
subroutine fer4mp(IP, PFERM, PXT, PYT, PZT, ET, KT)
subroutine sdiff(EPROJ, PPROJ, KPROJ, NHKKH1, IQQDD)
subroutine comcm2(IQ1, IQ2, IAQ1, IAQ2, NNCH, IREJ, AMCH)
subroutine kkevt(NHKKH1, EPN, PPN, KKMAT, IREJ)
DOUBLE PRECISION function sampey(X1, X2)
subroutine dsfecf(SFE, CFE)
subroutine kkevdi(NHKKH1, EPN, PPN, KKMAT, IREJ)
subroutine title(NA, NB, NCA, NCB)
static c2_log_p< float_type > & log()
make a *new object
subroutine cobcma(IF1, IF2, IF3, IJNCH, NNCH, IREJ, AMCH, AMCHN, IKET)
subroutine testrot3s(PI, PO, PHI)
G4double tau(G4double bet, G4double homega, G4double ef, G4double t)
subroutine kkevvs(IREJVS)
static c2_sqrt_p< float_type > & sqrt()
make a *new object
subroutine xptfl(NHARD, NSEA, IREG, XMAX1, XMAX2)
subroutine dropdi(NN, NP, NT, ECM)
DOUBLE PRECISION function siinel(KPROJ, KTARG, UMO)
subroutine comcma(IFQ, IFAQ, IJNCH, NNCH, IREJ, AMCH, AMCHN)
DOUBLE PRECISION function sippsd(ECM)
void print(const std::vector< T > &data)
subroutine testrot4s(PI, PO, PHI)
subroutine kkevsd(IREJSD)
static c2_cos_p< float_type > & cos()
make a *new object
subroutine selpts(PTXSQ1, PTYSQ1, PLQ1, EQ1, PTXSA2, PTYSA2, PLAQ2, EAQ2, AMCH1, IREJ, IKVALA, PTTQ1)
DOUBLE PRECISION function dbeta(X1, X2, BET)
subroutine ptval(XP, XXP, XXT, XT, ECM, PTXVQ1, PTYVQ1, PLQ1, EQ1, PTXVA1, PTYVA1, PLAQ1, EAQ1, PTXVQ2, PTYVQ2, PLQ2, EQ2, PTXVA2, PTYVA2, PLAQ2, EAQ2, AMCH1, AMCH2, IREJ, IKVALA)
subroutine kkevsv(IREJSV)
subroutine diqdzz(ECM, XPSQ1, XPSAQ1, XPSQ2, XPSAQ2, IPSQ1, IPSAQ1, IPSQ2, IPSAQ2, IREJDS)
static c2_sin_p< float_type > & sin()
make a *new object
subroutine shmako(NA, NB, B, INTT, INTA, INTB, JS, JT, PPN, KKMAT)