14 IMPLICIT DOUBLE PRECISION(a-
h, o-
z)
24 INTEGER idbmup,pdfgup,pdfsup,idwtup,nprup,lprup
25 DOUBLE PRECISION ebmup,xsecup,xerrup,xmaxup
26 common/heprup/idbmup(2),ebmup(2),pdfgup(2),pdfsup(2),
27 &idwtup,nprup,xsecup(maxpup),xerrup(maxpup),xmaxup(maxpup),
33 CHARACTER*(MAXLEN) string
38 WRITE(strfmt(3:5),
'(I3)') maxlen
41 100
READ(
mstp(161),strfmt,
end=130,err=130) string
45 IF(string(ibeg:ibeg).EQ.
' '.AND.ibeg.LT.maxlen-5) goto 110
46 IF(string(ibeg:ibeg+5).NE.
'<init>'.AND.
47 &string(ibeg:ibeg+5).NE.
'<init ') goto 100
50 READ(
mstp(161),*,
end=130,err=130) idbmup(1),idbmup(2),ebmup(1),
51 &ebmup(2),pdfgup(1),pdfgup(2),pdfsup(1),pdfsup(2),idwtup,nprup
55 READ(
mstp(161),*,
end=130,err=130) xsecup(ipr),xerrup(ipr),
56 & xmaxup(ipr),lprup(ipr)
61 130
WRITE(*,*)
' Failed to read LHEF initialization information.'
62 WRITE(*,*)
' Event generation will be stopped.'