c...lhefheader(nlf) c...reads initialization information from a les houches events file on unit nlf. subroutine lhefreadhdr(nlf) implicit none integer nlf character * 100 string integer ipr include 'LesHouches.h' 1 read(nlf,fmt='(a)',err=998,end=998) string if(string(1:5).eq.' data' call exit(1) 999 end c...reads event information from a les houches events file on unit nlf. subroutine lhefreadev(nlf) implicit none integer nlf character * 100 string include 'LesHouches.h' integer i,j 1 continue string=' ' read(nlf,fmt='(a)',err=777,end=666) string if(string.eq.'') then goto 998 endif if(string(1:6).eq.'" nup=0 999 end