15 1/lmmine/ erp(30) ,ern(30)
16 2/lmpari/
x(15) ,xt(15) ,dirin(15) ,maxint ,npar
17 3/lmpare/ u(30) ,werr(30) ,maxext ,nu
18 4/lmlimi/ alim(30) ,blim(30) ,lcode(30) ,lcorsp(30) ,limset
20 7/lmfix / ipfix(15),xs(15) ,xts(15) ,dirins(15) ,npfix
21 7/lmfix2/ grds(15) ,g2s(15) ,gsteps(15),aberfs(15)
22 c/lmcasc/
y(16) ,jh ,jl
23 f/lmderi/ gin(30) ,grd(15) ,g2(15) ,gstep(15) ,aberf(15)
24 g/lmsimv/
p(15,16) ,pstar(15),pstst(15) ,pbar(15) ,prho(15)
27 6/lmunit/ isysrd ,isyswr ,isyspu
28 8/lmtitl/
title(13),date(2) ,isw(7) ,nblock
29 9/lmconv/ epsi ,apsi ,vtest ,nstepq ,nfcn ,nfcnmx
30 a/lmcard/ cword ,cword2 ,cword3 ,word7(7)
31 b/lmmini/ amin ,up ,newmin ,itaur ,sigma,epsmac
38 INTEGER lcode,lcorsp,limset
43 REAL grds,g2s,gsteps,aberfs
46 REAL gin,grd,g2,gstep,aberf
47 REAL p,pstar,pstst,pbar,prho
50 INTEGER isysrd ,isyswr ,isyspu
53 REAL epsi ,apsi ,vtest
54 INTEGER nstepq ,nfcn ,nfcnmx
55 REAL cword ,cword2 ,cword3 ,word7
56 REAL amin ,up ,sigma,epsmac
59 COMMON /lminui/ xkin(4),ukin(4),wkin(4),ain(4),
bin(4),
60 &maxfin,relup,relerr,reler2,fcnmax
61 REAL xkin,ukin,wkin,ain,
bin,relerr,relup,reler2,fcnmax
65 COMMON /lminuc/ namkin(4),nam(30)
66 CHARACTER*10 namkin,nam
75 REAL xk,uk,wk,a,b,versn,time,sav,sav2,vplu,vminu
76 INTEGER mninit,ifatal,nint,i,iunit,
k
77 CHARACTER*10 namk,blank
81 DATA xtitle/
' FIND MINIMUM OF -(DIFFERENTIAL CROSS SECTION)'/
82 DATA mninit/0/,ifatal,nint/0,0/
84 IF (mninit .EQ. 0) nblock=0
89 WRITE (isyswr,1004) maxint,maxext,versn,nblock
97 WRITE (isyswr,1110) xtitle,time,epsmac
105 IF(lst3.GE.5)
WRITE (isyswr,1005)
128 IF (
k .LE. 0) go
to 250
129 IF (
k .LE. maxext) go
to 115
132 WRITE (isyswr,1009)
k,maxext
133 WRITE (isyswr,1002)
k,namk,uk,wk,a,b
137 IF(nam(
k).EQ.blank) go
to 120
139 IF(lst3.GE.1)
WRITE(isyswr,1007)
140 IF(werr(
k).GT..0) nint=nint-1
145 IF (wk .GT. 0.0) go
to 122
147 IF(lst3.GE.5)
WRITE (isyswr, 1002)
k,namk,uk
151 122
IF(lst3.GE.5)
WRITE (isyswr, 1002)
k,namk,uk,wk,a,b
155 130
IF (b) 140,135,140
158 140
IF (b-a) 145,142,150
159 142 ifatal = ifatal + 1
160 IF(lst3.GE.1)
WRITE (isyswr,1010)
165 IF(lst3.GE.1)
WRITE (isyswr,1003)
169 IF ((b-u(
k))*(u(
k)-a)) 153,155,160
170 153 ifatal = ifatal + 1
171 IF(lst3.GE.1)
WRITE (isyswr,1011)
173 155
IF(lst3.GE.1)
WRITE (isyswr,1006)
177 IF(lst3.GE.1)
WRITE (isyswr,1012)
180 250
IF(lst3.GE.5)
WRITE (isyswr,1005)
181 IF (nint .LE. maxint) go
to 253
182 IF(lst3.GE.1)
WRITE (isyswr,1008) nint,maxint
184 253
IF (ifatal .LE. 0) go
to 280
185 IF(lst3.GE.1)
WRITE (isyswr,1013) ifatal
190 IF (lcode(
k) .LE. 0) go
to 300
200 dirin(npar) = 0.5 * (abs(vplu) +abs(vminu))
201 g2(npar) = 2.0 / dirin(npar)**2
202 gstep(npar) = dirin(npar)
203 IF (lcode(
k) .GT. 1) gstep(npar) = -gstep(npar)
209 1002
FORMAT (i10,2
x,a10,2
x,2g12.6,2
x,2g12.6)
210 1003
FORMAT(
' WARNING - ABOVE LIMITS HAVE BEEN REVERSED.')
211 1004
FORMAT (1
h1/42
x,21(1h*)/42
x,21h* d506 minuit */42
x,
213 1
'* MODIFICATION OF *',/,42
x,
214 111h* version ,f6.2,4h */42
x,16h*
DATA block no. ,i3,2h *)
215 1005
FORMAT (4
x,96(1h*))
216 1006
FORMAT(
' WARNING - ABOVE PARAMETER IS AT LIMIT ')
217 1007
FORMAT(
' WARNING ******* - PARAMETER REQUESTED ON FOLLOWING',
218 1
' CARD HAS ALREADY APPEARED. PREVIOUS VALUES IGNORED.')
219 1008
FORMAT(
'0 TOO MANY VARIABLE PARAMETERS. YOU REQUEST',i5/,
220 +
' THIS VERSION OF MINUIT IS ONLY DIMENSIONED FOR',i4//)
221 1009
FORMAT(
'0FATAL ERROR. PARAMETER NUMBER',i11,
' GREATER THAN ',
222 +
'ALLOWED MAXIMUM',i4)
223 1010
FORMAT(
' FATAL ERROR. UPPER AND LOWER LIMITS ARE EQUAL.')
224 1011
FORMAT(
' FATAL ERROR. PARAMETER OUTSIDE LIMITS',/)
225 1012
FORMAT(
'0FATAL ERROR. MORE THAN 200 PARAMETER CARDS',/)
226 1013
FORMAT(/i5,
' FATAL ERRORS ON PARAMETER CARDS. ABORT.',//)
227 1110
FORMAT(5
x,a60,5
x,
'TIME',f8.3,
' SECONDS',/,70
x,
'MACH. PREC.=',