2 SUBROUTINE kkevle(NHKKH1,EPN,PPN,KKMAT,IREJ)
4 IMPLICIT DOUBLE PRECISION (
a-h,o-
z)
10 COMMON /hkkevt/ nhkk,nevhkk,isthkk(
nmxhkk),idhkk(
nmxhkk), jmohkk
102 COMMON /dxqx/ xpvq(248),xpvd(248),xtvq(248),xtvd(248), xpsq
104 * ,xpsu(248),xtsu(248)
105 * ,xpsut(248),xtsut(248)
107 COMMON /intnew/ nvv,nsv,nvs,nss,ndv,nvd,nds,nsd,
108 +ixpv,ixps,ixtv,ixts, intvv1(248),
109 +intvv2(248),intsv1(248),intsv2(248), intvs1(248),intvs2(248),
111 +intdv1(248),intdv2(248),intvd1(248),intvd2(248),
125 COMMON /ifroto/ ifrovp(248),itovp(248),ifrosp(
intmx), ifrovt(248),
131 +mhkkdv(248),mhkkvd(248), mhkkds(
intmd),mhkksd(
intmd)
133 LOGICAL zuovp,zuosp,zuovt,zuost,intlo,inloss
134 COMMON /lozuo/ zuovp(248),zuosp(
intmx),zuovt(248),zuost(
intmx),
142 COMMON /diqi/ ipvq(248),ippv1(248),ippv2(248), itvq(248),ittv1
145 +itsaq(
intmx),itsaq2(
intmx),kkproj(248),kktarg(248)
151 COMMON /nucc/ it,itz,ip,ipz,ijproj,ibproj,ijtarg,ibtarg
153 COMMON /rptshm/ rproj,rtarg,bimpac
155 COMMON /nshmak/ nnshma,npshma,ntshma,nshmac
157 COMMON /zentra/ icentr
159 COMMON /nucimp/ prmom(5,248),tamom(5,248), prmfep,prmfen,tamfep,
160 +tamfen, prefep,prefen,taefep,taefen, prepot(210),taepot(210),
161 +prebin,taebin,fermod,etacou
163 LOGICAL intpt,fermp,ihadss,ihadsv,ihadvs,ihadvv,ihada, ipadis,
165 COMMON /droppt/ intpt,fermp,ihadss,ihadsv,ihadvs,ihadvv,ihada,
166 +ipadis,ishmal,lpauli
168 COMMON /nncms/ gamcm,bgcm,umoj,pcmj,eprojj,pprojj
169 COMMON /nuccms/ gacms,bgcms,galab,bglab,blab,umo,pcm,eproj,pproj
171 COMMON /nucpos/invvp(248),invvt(248),invsp(248),invst(248), nuvv,
172 +nuvs,nusv,nuss,insvp(248),insvt(248),inssp(248),insst(248), isveap
173 +(248),isveat(248),isseap(248),isseat(248), ivseap(248),ivseat
174 +(248), islosp(248),islost(248),inoop(248),inoot(248),nuoo
176 COMMON /taufo/ taufor,ktauge,itauve,incmod
178 COMMON /neutyy/neutyp,neudec
184 COMMON /hadthr/ ehadth,inthad
186 COMMON /dinpda/ imps(6,6),imve(6,6),ib08(6,21),ib10(6,21), ia08
187 +(6,21),ia10(6,21), a1,b1,b2,b3,lt,le,bet,as,b8,ame,diq,isu
189 COMMON /fermi/ pquar(4,248),paquar(4,248), tquar(4,248),taquar
192 COMMON /ketmas/ am8(2),am10(2),ib88(2),ib1010(2),amch1n,amch2n
204 COMMON /dpar/ aname(210),aam(210),ga(210),
tau(210),iich(210),
205 +iibar(210),k1(210),k2(210)
208 COMMON /dprin/ ipri,ipev,ippa,ipco,
init,iphkk,itopd,ipaupr
213 COMMON /rejec/ irco1,irco2,irco3,irco4,irco5, irss11,irss12,
214 +irss13,irss14, irsv11,irsv12,irsv13,irsv14, irvs11,irvs12,irvs13,
215 +irvs14, irvv11,irvv12,irvv13,irvv14
217 COMMON /projk/ iprojk
219 COMMON /tanuin/ tasuma,tasubi,tabi,tamasu,tama,taimma
221 COMMON /diffra/ isingd,idiftp,ioudif,iflagd
224 COMMON /seadiq/ lseadi
226 COMMON /diquax/idiqua
247 COMMON /nucjtn/nonuj1,nonujt,nonus1,nonust
248 COMMON /xsvthr/ xsthr,xvthr,xdthr,xssthr
249 COMMON /minij/iminij,nomje,nomjer,nrejev,nomjt,nomjtr
250 INTEGER nlu,
klu,lst,mdcy,mdme,kfdp
251 REAL plu,vlu,cut,parl,
x,
y,w2,q2,u,brat,elab
252 common/lujets/nlu,
klu(4000,5),
plu(4000,5),vlu(4000,5)
253 COMMON /leptou/cut(14),lst(40),parl(30),
x,
y,w2,q2,u
254 common/ludat3/mdcy(500,3),mdme(2000,2),brat(2000),kfdp(2000,5)
255 COMMON /neurej/ noneur
268 IF(ijproj.NE.0) kproj=ijproj
279 pprojj=
sqrt((epn-amproj)*(epn+amproj))
280 umoj=
sqrt(amproj**2 + amtar**2 + 2.*amtar*eprojj)
281 gamcm = (eprojj+amtar)/umoj
284 pcmj=gamcm*pprojj - bgcm*eprojj
286 IF(ipev.GE.1)
print 1000,ip,ipz,it,itz,ijproj,ibproj, eproj,pproj,
287 +amproj,amtar,umo,gamcm,bgcm
288 1000
FORMAT(
' ENTRY KKEVNU'/
' IP,IPZ,IT,ITZ,IJPROJ,IBPROJ',6i5/
289 +
' EPROJ,PPROJ,AMPROJ,AMTAR,UMO,GAMCM,BGCM'/10e12.3)
303 IF (
mod(n9483,200).EQ.0)
THEN
304 WRITE(6,
'(A,I5,A,I5,A)')
' KKEVT: Glauber event',numev,
305 +
' rejected after', n9483,
' trials'
306 WRITE(6, 1010) nn,np,
nt
307 WRITE(6,1020) irco1,irco2,irco3,irco4,irco5, irss11,irss12,
308 + irss13,irss14, irsv11,irsv12,irsv13,irsv14, irvs11,irvs12,
309 + irvs13,irvs14, irvv11,irvv12,irvv13,irvv14
312 ELSEIF(n9483.GT.1)
THEN
315 1010
FORMAT (5
x,
' N9483 LOOP - NN, NP, NT',5i10)
316 1020
FORMAT (5
x,
' N9483 LOOP - REJECTION COUNTERS ',/,5i8/2(8i8/))
334 CALL
shmako(ip,it,bimp,nn,np,
nt,jssh,jtsh,pproj,kkmat)
343 WRITE(6, 1040) ip,ipz,it,itz,eproj,pproj,nn,np,
nt
344 1040
FORMAT (
' 752 FORM ',4i10,2f10.3,5i10)
345 WRITE (6,
'(/A,2I5,1PE10.2,3I5)')
' KKEVT: IP,IT,BIMP,NN,NP,NT ',
346 + ip,it,bimp,nn,np,
nt
348 +
' KKEVT: JSSH(KKK),JTSH(KKK),INTER1(KKK),INTER2(KKK),',
349 +
' PKOO(3,KKK),TKOO(3,KKK)'
352 WRITE (6,
'(4I5,6(1PE11.3))') jssh(kkk),jtsh(kkk),inter1(kkk),
353 + inter2(kkk), pkoo(1,kkk),pkoo(2,kkk),pkoo(3,kkk), tkoo(1,kkk),
354 + tkoo(2,kkk),tkoo(3,kkk)
393 phkk(4,nhkk)=aam(kproj)
394 phkk(5,nhkk)=aam(kproj)
403 phkk(5,nhkk)=aam(kproj)
404 vhkk(1,nhkk)=pkoo(1,kkk)*1.
e-12
405 vhkk(2,nhkk)=pkoo(2,kkk)*1.
e-12
406 vhkk(3,nhkk)=pkoo(3,kkk)*1.
e-12
408 whkk(1,nhkk)=pkoo(1,kkk)*1.
e-12
409 whkk(2,nhkk)=pkoo(2,kkk)*1.
e-12
410 whkk(3,nhkk)=pkoo(3,kkk)*1.
e-12
414 IF (iphkk.GE.2)
WRITE(6,1050) nhkk,isthkk(nhkk),idhkk(nhkk),
415 + jmohkk(1,nhkk),jmohkk(2,nhkk), jdahkk(1,nhkk),jdahkk(2,nhkk),
416 + (phkk(khkk,nhkk),khkk=1,5), (vhkk(khkk,nhkk),khkk=1,4)
418 1050
FORMAT (i6,i4,5i6,9e10.2)
455 frtneu=float(itn)/atnuc
457 IF(samtes.LT.frtneu.AND.nctn.LT.itn)
THEN
460 ELSEIF(samtes.GE.frpneu.AND.nctp.LT.itz)
THEN
463 ELSEIF(nctn.LT.itn)
THEN
466 ELSEIF(nctp.LT.itz)
THEN
476 CALL
fer4m(pferm,fpx,fpy,fpz,
fe,ktarg)
484 phkk(5,nhkk)=aam(ktarg)
489 phkk(4,nhkk)=aam(ktarg)
490 phkk(5,nhkk)=aam(ktarg)
499 vhkk(1,nhkk)=(tkoo(1,kkk)+bimp)*1.
e-12
500 vhkk(2,nhkk)=tkoo(2,kkk)*1.
e-12
501 vhkk(3,nhkk)=tkoo(3,kkk)*1.
e-12
503 whkk(1,nhkk)=(tkoo(1,kkk)+bimp)*1.
e-12
504 whkk(2,nhkk)=tkoo(2,kkk)*1.
e-12
505 whkk(3,nhkk)=tkoo(3,kkk)*1.
e-12
509 IF (iphkk.GE.2)
WRITE(6,1050) nhkk,isthkk(nhkk),idhkk(nhkk),
510 + jmohkk(1,nhkk),jmohkk(2,nhkk), jdahkk(1,nhkk),jdahkk(2,nhkk),
511 + (phkk(khkk,nhkk),khkk=1,5), (vhkk(khkk,nhkk),khkk=1,4)
517 tasuma=itz*aam(1) + (it-itz)*aam(8)
525 phkk(1,ihkk)=phkk(1,ihkk) - txfe
526 phkk(2,ihkk)=phkk(2,ihkk) - tyfe
527 phkk(3,ihkk)=phkk(3,ihkk) - tzfe
528 phkk(4,ihkk)=
sqrt(phkk(5,ihkk)** 2+ phkk(1,ihkk)** 2+ phkk
529 + (2,ihkk)** 2+ phkk(3,ihkk)**2)
531 tasubi=tasubi + phkk(4,ihkk) - phkk(5,ihkk) - taepot(itsec)
532 tamasu=tamasu + phkk(4,ihkk) - taepot(itsec)
533 IF (iphkk.GE.2)
WRITE(6,1050) ihkk,isthkk(ihkk),idhkk(ihkk),
534 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
535 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
539 tama=(it-itz)*aam(8) + itz*aam(1) + tabi
544 WRITE(6,
'(/A/5X,A/5X,4(1PE11.3))')
' KKEVT: FERMI MOMENTA',
545 +
'PRMFEP,PRMFEN, TAMFEP,TAMFEN', prmfep,prmfen, tamfep,tamfen
554 WRITE(6,
'(A,I10)')
' KKEVT ITUM loop limit',itum
555 WRITE(6,
'(A,2A)')
' KKEVT (AFTER XKSAMP):',
556 +
' JSSH, JSSHS, JTSH, JTSHS, INTER1, INTER2',
557 +
' PKOO(1),PKOO(2),PKOO(3), TKOO(1),TKOO(2),TKOO(3)'
559 WRITE (6,
'(6I5,6(1PE11.3))') jssh(kkk),jsshs(kkk),jtsh(kkk),
560 + jtshs(kkk), inter1(kkk),inter2(kkk), pkoo(1,kkk),pkoo(2,kkk),
561 + pkoo(3,kkk), tkoo(1,kkk),tkoo(2,kkk),tkoo(3,kkk)
570 IF(ipev.GE.2)
WRITE(6,
'(A)')
' KKEVT before NUCMOM'
572 IF (iphkk.GE.2)
WRITE(6,1050) ihkk,isthkk(ihkk),idhkk(ihkk),
573 + jmohkk(1,ihkk),jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),
574 + (phkk(khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
579 WRITE(6,
'(A)')
' KKEVNU after NUCMOM'
604 WRITE(6,*)
' NEUTYP,NUCTYP,IKTA,IDHKK(IKTA)',
605 * neutyp,nuctyp,ikta,idhkk(ikta)
607 IF(idhkk(ikta).EQ.2112) itar=2
608 IF(idhkk(ikta).EQ.2212) itar=1
628 plu(2,1)=phkk(1,ikta)
629 plu(2,2)=phkk(2,ikta)
630 plu(2,3)=phkk(3,ikta)
631 plu(2,4)=phkk(4,ikta)
632 plu(2,5)=phkk(5,ikta)
634 IF(iniqel.EQ.0)CALL
linit(0,inu,elab,0.,2)
641 plu(2,1)=phkk(1,ikta)
642 plu(2,2)=phkk(2,ikta)
643 plu(2,3)=phkk(3,ikta)
644 plu(2,4)=phkk(4,ikta)
645 plu(2,5)=phkk(5,ikta)
652 WRITE(6,*)
' event rejected '
655 IF(iniqel.LE.100)
WRITE(6,*)
' Event ',iniqel
656 IF(iniqel.LE.100)CALL
lulist(1)
660 IF(
klu(iii,1).EQ.1.OR.iii.LE.2)
THEN
662 WRITE(29,
'(3I6,5F10.3)')iiii,
klu(iii,1),
klu(iii,2),
663 * (
plu(iii,kk),kk=1,5)
670 IF(
klu(iii,1).EQ.1)
THEN
673 idhkk(nhkk)=
klu(iii,2)
678 phkk(1,nhkk)=
plu(iii,1)
679 phkk(2,nhkk)=
plu(iii,2)
680 phkk(3,nhkk)=
plu(iii,3)
681 phkk(4,nhkk)=
plu(iii,4)
683 IF(nrhkk.EQ.1.OR.nrhkk.EQ.8)
THEN
685 IF(phkk(4,nhkk).LE.taefep+aam(nrhkk))
THEN
686 WRITE(6,*)
' Pauli Blocking of p',phkk(4,nhkk),taefep
690 IF(phkk(4,nhkk).LE.taefen+aam(nrhkk))
THEN
691 WRITE(6,*)
' Pauli Blocking of n',phkk(4,nhkk),taefen
694 IF(phkk(4,nhkk)-aam(nrhkk).LE.taepot(nrhkk))
THEN
698 phkk(5,nhkk)=aam(nrhkk)
699 vhkk(1,nhkk)=vhkk(1,ikta)
700 vhkk(2,nhkk)=vhkk(2,ikta)
701 vhkk(3,nhkk)=vhkk(3,ikta)
702 vhkk(4,nhkk)=vhkk(4,ikta)
703 whkk(1,nhkk)=whkk(1,ikta)
704 whkk(2,nhkk)=whkk(2,ikta)
705 whkk(3,nhkk)=whkk(3,ikta)
706 whkk(4,nhkk)=whkk(4,ikta)
712 DO 111 i=nhkkh1+1,nhkk
715 phkk(3,i)=gacms*pznn-bgcms*enn
716 phkk(4,i)=gacms*enn-bgcms*pznn
725 WRITE(6,
'(/A/)')
' KKEVT: FINAL LIST OF ENTRIES TO /HKKEVT/'
728 WRITE(6,1050) ihkk,isthkk(ihkk),idhkk(ihkk),jmohkk(1,ihkk),
729 + jmohkk(2,ihkk), jdahkk(1,ihkk),jdahkk(2,ihkk),(phkk
730 + (khkk,ihkk),khkk=1,5), (vhkk(khkk,ihkk),khkk=1,4)
subroutine lframe(IFR, IPH)
subroutine linit(LFILE, LEPIN, PLZ, PPZ, INTER)
DOUBLE PRECISION function rndm(RDUMMY)
DOUBLE PRECISION function ebind(IA, IZ)
G4int mod(G4int a, G4int b)
subroutine fer4m(PFERM, PXT, PYT, PZT, ET, KT)
subroutine kkevle(NHKKH1, EPN, PPN, KKMAT, IREJ)
G4double tau(G4double bet, G4double homega, G4double ef, G4double t)
static c2_sqrt_p< float_type > & sqrt()
make a *new object
void print(const std::vector< T > &data)
subroutine shmako(NA, NB, B, INTT, INTA, INTB, JS, JT, PPN, KKMAT)