68 IMPLICIT DOUBLE PRECISION(a-
h, o-
z)
78 INTEGER nup,idprup,idup,istup,mothup,icolup
79 DOUBLE PRECISION xwgtup,scalup,aqedup,aqcdup,pup,vtimup,spinup
80 common/hepeup/nup,idprup,xwgtup,scalup,aqedup,aqcdup,idup(maxnup),
81 &istup(maxnup),mothup(2,maxnup),icolup(2,maxnup),pup(5,maxnup),
82 &vtimup(maxnup),spinup(maxnup)
87 CHARACTER*(MAXLEN) string
92 WRITE(strfmt(3:5),
'(I3)') maxlen
95 100
READ(
mstp(162),strfmt,
end=130,err=130) string
99 IF(string(ibeg:ibeg).EQ.
' '.AND.ibeg.LT.maxlen-6) goto 110
100 IF(string(ibeg:ibeg+6).NE.
'<event>'.AND.
101 &string(ibeg:ibeg+6).NE.
'<event ') goto 100
104 READ(
mstp(162),*,
end=130,err=130) nup,idprup,xwgtup,scalup,
109 READ(
mstp(162),*,
end=130,err=130) idup(
i),istup(
i),
110 & mothup(1,
i),mothup(2,
i),icolup(1,
i),icolup(2,
i),
111 & (pup(
j,
i),
j=1,5),vtimup(
i),spinup(
i)
116 130
WRITE(*,*)
' Failed to read LHEF event information.'
117 WRITE(*,*)
' Will assume end of file has been reached.'