5 common/ludat1/mstu(200),paru(200),mstj(200),parj(200)
7 common/ludat2/kchg(500,3),pmas(500,4),parf(2000),vckm(4,4)
9 common/ludat3/mdcy(500,3),mdme(2000,2),brat(2000),kfdp(2000,5)
11 common/ludat4/chaf(500)
14 common/pyhisubs/msel,msub(200),kfin(2,-40:40),ckin(200)
20 common/pyhiint2/iset(200),kfpr(200,2),coef(200,20),icol(40,4,2)
22 common/pyhiint5/
ngen(0:200,3),
xsec(0:200,3)
24 CHARACTER*(*) frame,beam,
TARGET
25 CHARACTER chfram*8,chbeam*8,chtarg*8,chmo(12)*3,chlh(2)*6
26 DATA chmo/
'Jan',
'Feb',
'Mar',
'Apr',
'May',
'Jun',
'Jul',
'Aug',
'Sep',
27 &
'Oct',
'Nov',
'Dec'/, chlh/
'lepton',
'hadron'/
39 CALL
pyhiinki(chfram,chbeam,chtarg,win)
46 IF(
mint(43).EQ.1.AND.(msel.EQ.1.OR.msel.EQ.2))
THEN
50 ELSEIF(msel.EQ.1)
THEN
58 IF(
mstp(82).LE.1.AND.ckin(3).LT.
parp(81)) msub(95)=1
59 IF(
mstp(82).GE.2.AND.ckin(3).LT.
parp(82)) msub(95)=1
60 ELSEIF(msel.EQ.2)
THEN
72 ELSEIF(msel.GE.4.AND.msel.LE.8)
THEN
76 DO 110
j=1,min(8,mdcy(21,3))
77 110 mdme(mdcy(21,2)+
j-1,1)=0
78 mdme(mdcy(21,2)+msel-1,1)=1
79 ELSEIF(msel.EQ.10)
THEN
84 ELSEIF(msel.EQ.11)
THEN
87 ELSEIF(msel.EQ.12)
THEN
90 ELSEIF(msel.EQ.13)
THEN
94 ELSEIF(msel.EQ.14)
THEN
98 ELSEIF(msel.EQ.15)
THEN
105 ELSEIF(msel.EQ.16)
THEN
111 ELSEIF(msel.EQ.17)
THEN
115 ELSEIF(msel.EQ.21)
THEN
118 ELSEIF(msel.EQ.22)
THEN
121 ELSEIF(msel.EQ.23)
THEN
129 IF(
mint(43).LT.4.AND.isub.GE.91.AND.isub.LE.96.AND.
130 &msub(isub).EQ.1)
THEN
131 WRITE(mstu(11),1200) isub,chlh(
mint(41)),chlh(
mint(42))
133 ELSEIF(msub(isub).EQ.1.AND.iset(isub).EQ.-1)
THEN
134 WRITE(mstu(11),1300) isub
136 ELSEIF(msub(isub).EQ.1.AND.iset(isub).LE.-2)
THEN
137 WRITE(mstu(11),1400) isub
139 ELSEIF(msub(isub).EQ.1)
THEN
143 IF(
mint(44).EQ.0)
THEN
147 mint(45)=
mint(44)-msub(91)-msub(92)-msub(93)-msub(94)
151 mstu(114)=min(mstu(114),2*
mstp(1))
158 IF(ia.GE.1.AND.ia.LE.2*
mstp(1))
THEN
163 130
IF(mdme(idc,1).EQ.1.OR.mdme(idc,1).EQ.ipm)
vint(180+
i)=
164 &
vint(180+
i)+vckm((ia+1)/2,(ib+1)/2)
165 ELSEIF(ia.GE.11.AND.ia.LE.10+2*
mstp(1))
THEN
172 IF(
mstp(3).GE.1)
THEN
174 IF(
mstp(51).EQ.1) alam=0.2
175 IF(
mstp(51).EQ.2) alam=0.29
176 IF(
mstp(51).EQ.3) alam=0.2
177 IF(
mstp(51).EQ.4) alam=0.4
178 IF(
mstp(51).EQ.11) alam=0.16
179 IF(
mstp(51).EQ.12) alam=0.26
180 IF(
mstp(51).EQ.13) alam=0.36
207 IF(
mint(43).EQ.4.AND.(
mint(45).NE.0.OR.
mstp(131).NE.0).AND.
212 1000
FORMAT(///20
x,
'The Lund Monte Carlo - PYHITHIA version ',
i1,
214 &20
x,
'** Last date of change: ',
i2,1
x,a3,1
x,
i4,
' **'/)
215 1100
FORMAT(
'1',18(
'*'),1
x,
'PYHIINIT: initialization of PYHITHIA ',
216 &
'(hijing pythia) routines',1
x,17(
'*'))
217 1200
FORMAT(1
x,
'Error: process number ',
i3,
' not meaningful for ',a6,
218 &
'-',a6,
' interactions.'/1
x,
'Execution stopped!')
219 1300
FORMAT(1
x,
'Error: requested subprocess',
i4,
' not implemented.'/
220 &1
x,
'Execution stopped!')
221 1400
FORMAT(1
x,
'Error: requested subprocess',
i4,
' not existing.'/
222 &1
x,
'Execution stopped!')
223 1500
FORMAT(1
x,
'Error: no subprocess switched on.'/
224 &1
x,
'Execution stopped.')
225 1600
FORMAT(/1
x,22(
'*'),1
x,
'PYHIINIT: initialization completed',1
x,