2 V4_05  16/06/99
 The following version numbers apply to this version of Mn_Fit:

 Mn_Fit      4.05/34
 Mn_Util     1.10/42
 TYPSCN      1.02/15
 CGR_MINUIT  1.00/15
 DBASE       1.05/04
 L3_DSP      1.02/16
 ZEUS_DSP    1.00/04

 This section lists the changes that have been made since
 Mn_Fit version 4.04/15.

 This release has been tested with the 96a and 97a releases of the
 CERN libraries. It will only work with versions 94b or later.
 With version 96a and earlier you cannot use the routines FUNLUX and
 FUNLXP in COMIS functions, as these  are new routines in the CERN
 libraries.


 +++ Known Bugs or Problems:
 ___________________________


 `DRAW' commands with the mouse on only work in CM.

 You cannnot give a range of array elements to use in a `CUT'
 command. This only works in the variables to be projected. If you
 need to do something fancy like this you have to use a COMIS function
 for the cut.

 You can only access a variable in a CWN using the `DEPOSIT/EXAMINE'
 commands.


 +++ New Features:
 _________________


 Cernlib version 97a is now the default.

 You can access histograms directly from an HBOOK histogram file
 provided you have already opened the file using the `OPEN' or
 `HB_OPEN' command.  You can use the command `SET AUTOFETCH OFF' to
 suppress the automatic fetching of histograms or refetching of
 Ntuples when you project or scan them. While this is normally not
 necessary, it can take a long time for very big Ntuples.

 `CUT's with names can now be defined and the names can be used in the
 `CUT USE' command. This should simplify the writing of macros and
 defining which cuts to use.

 All Mn_Fit functions now include the bin width. This was always the
 case for Gaussians, Breit-Wigners etc. However polynomials did not
 include the bin width. This gives problems when trying to integrate
 the functions. Where appropriate, the names of `NORM' parameters have
 been changed to `AREA' to reflect this.

 The `FUNCTION PLOT' and `FUNCTION HISTOGRAM' etc. commands now also
 work for 2-D functions (only Gaussian is available directly - for
 other 2-D functions you have to write them yourself).

 It is now possible to specify more resonances for the dipion
 invariant mass spectra (`FUNCTION ADD DIPION'). It is also possible
 for the user to give his/her own masses. More help has been added on
 a number of the functions. For functions that include extra
 parameters, such as resonance masses, these are now shown in the
 `FUNCTION INFO' command. Some function names have been modified, so
 it is now possible to add all functions by name as well as number. In
 order to add a 2-D Gaussian you now have to give the command
 `FUNCTION ADD 2DIM GAUSS' (`FUNCTION ADD 2DIM' used to be
 sufficient). See HELP FUNCTION LIST for the latest list of functions.

 `ELIF' is now allowed in `IF' blocks. See HELP IF for more details.
 You can also use the command `FI' instead of `ENDIF'.
 In earlier 4.05 versions of Mn_Fit `ELIF' and `ELSE' do not work
 together properly. This has been fixed from version 4.05/29 onwards.

 You can give the default value of a parameter after the prompt in
 the `INQUIRE' command.

 You can add directories to the path using the form `SET PATH +dir'.

 CWN variables can now be accessed in expressions. However, this does
 not yet work for arrays. `DEPOSIT IRn' works.

!^
 German characters with umlauts can now be given with the syntax `\"a'
!German characters with umlauts can now be given with the syntax \texttt{\\"a}
 etc. Extra information has been added to HELP Text.

 The global/user title size and positions can now be set separately
 from the normal histogram titles.
 See HELP SET TITLE and HELP SET GSIZE for more details.
 The global/user title size is not automatically scaled when
 windowing. The automatic scaling of sizes set a maximum rather than a
 minimum size. The title offset is now also scaled.

 The making of an inserted plot with `PLOT/NOCLEAR' only worked
 if you were windowing at the same time. It is now possible to use it
 also when not windowing. This also enables you to put a frame around
 a plot in a different place than the plot boundaries set by
 `SET X|Y LIMITS'. See HELP HISTOGRAM PLOT for more details.

 2-D histogram plotting has ben improved. The `AUTOTRIM' option is no
 longer used in lego and surface plots, as the scales do not overlap.
 The labels and scales should now get drawn in the right place and at
 the right angle for phi rotations outside the 0 to 90 degree range.

 It is now possible to make filled colour contour plots using the
 `2DIM SURFACE' command. See HELP 2DIM SURFACE for more details. The
 colours for coloured surface and lego plots can now be specified on
 the command line. Contour and surface plots usually start in the
 centre of the first bin rather than at the edge of the bin. With the
 help of one of the examples I show how one can put the frame at the
 centre of the bin (thanks to Jim Smith for the suggestion).

 `SET Z MODE LOG' also works for 2-D histograms which are shown with
 the area proportional to the number of entries.

 `CLEAR' also deletes any existing comments and keys. With the option
 `SET BOX ON' a box will also be drawn around a picture that does not
 include any `PLOT' commands.

 You can use `SET NTUPLE NAME' to specify the names of Ntuple
 variables to be used if you book an Ntuple inside Mn_Fit with the
 `HISTOGRAM BOOK' commmand.

 The `SET FOOTER USER' command has been extended to allow the user to
 put in the date, time and hardcopy filename. You can also split the
 footer between the bottom left and bottom right of the page.

 If you create many histograms in a COMIS function you can now give
 `HB_MN_FIT' a range of identifiers to convert. The maximum number of
 histograms that can be converted has been increased from 100 to 200.

 The new CERNLIB random number generators have been added to the list
 of routines that can be called from COMIS functions. These include
 `RANLUX, RANMAR, RANECU, RNORML, FUNLUX'. See HELP Using_COMIS for
 more details on which routines are available.

 You can now use the secondary identifier to specify which cycle to
 fetch from HBOOK RZ files. The cycle number will be added to the
 current setting for the secondary identifier. This is useful if you
 store a series of Mn_Fit histogram which have the same primary
 identifier, but different secondary identifiers, as they then get
 stored in an HBOOK RZ file with the same identifier, but different
 cycles. Use the `ZDIR' command to see which cycle numbers exist.

 It may be that you do not want to have to tell Mn_Fit to continue if
 there is an error when executing a macro or defined command. Use the
 `SET ABORT' command to set this option.

 You now have to type at least `QUI' to quit Mn_Fit.

 Event display for ZEUS Forward Tracking Detector and Transition
 Radiation Detector added.


 +++ New Commands:
 _________________


 OPEN                 Synonymous with `HB_OPEN'.
 CUT NAME             Defines or modifies a `CUT' with a name.
 ELIF                 `ELIF' can now be used in `IF' blocks.
 FI                   Alias for `ENDIF'.
 SET TITLE GPOSITION  Sets the position and size of the global/user title.
 SET GSIZE            Sets the size of the global/user title.
 SET AUTOFETCH        Turns on/off the automatic fetching of
                      histograms or refetching of Ntuples.
 SET NTUPLE NAME      Sets the names of Ntuples variables that are
                      then used with the `HISTOGRAM BOOK' command.
 SET ABORT            Turns on/off the aborting of macros when an
                      error occurs.


 +++ Modified Commands:
 ______________________


 CUT USE        Either CUT names or numbers can be used.
 HB_MN_FIT      You can optionally specify which histograms to convert.
 FETCH          You can use the secondary identifier to specify the
                cycle to fetch.
 HB_FETCH       You can use the secondary identifier to specify the
                cycle to fetch.
 2DIM LEGO      Colours can be given on the command line.
 2DIM SURFACE   Colours can be given on the command line.
                Can be used to make a filled contour plot.
 PLOT/NOCLEAR   The window size and margin (`WSIZE' and `WMARGIN') can
                be used even when not windowing.
 FUNCTION PLOT  Works for 2-D functions also.
 FUNCTION HIST  Works for 2-D functions also.
 INQUIRE        Default values for parameters can be given.
 WAIT           Works for Unix machines also.
 DEPOSIT        Expression can now access CWN variables.
 CLEAR          Also deletes any existing comments and keys.
 SET PATH       Directories can be added to the path.
 SET FOOTER     More control over user format, including hardcopy filename.
 QUIT           You must now type at least `QUI' to quit Mn_Fit.
 Functions      All Mn_Fit functions now include the bin width.


 +++ Improvements and Bug Fixes:
 _______________________________


 Cernlib version 97a is now the default. Linux version now available.

 `NTUPLE EPROF' made a profile plot with the wrong errors.

 `SET NTUPLE VARIABLE' should work properly for CWNs. Use of a CWN
 variable as a weight works. Ntuple skeleton for logicals in CWNs
 fixed. Ntuple skeleton was wrong if it had more than 30 lines. The
 limit is now 80 lines.

 CWNs with only a one or two variables or arrays should now be
 correctly recognised.

 The trigonometric and Crystal ball lineshape functions were missing
 RETURNs. This caused unpredictable behaviour.

 Improved scales when the scale includes zero.

 Small improvements to `DUMP'. HPRINT removed from `DUMP' as it causes
 crashes on the ZEUS FDET DQM history Ntuple (also in PAW). There are
 still some strange problems that appear to be associated with `DUMP'
 and CWN's that have to be investigated more.

 `CAPTURE DISPLAY' caused a segmentation violation if the DISPLAY was
 :0.0. For other reasons it also caused a segmentation violation on
  Decstations.

 There were some problems when combining `IF' blocks and `DO'
 loops. These should now be fixed.

 The modification of the `higz_windows.dat' file that controls the
 size of your display now conforms to the HIGZ specifications again.

 Improved cleaning up of Ntuples before reading a new file. Caused
 strange problems on Alphas and Decstations.

 The automatic scaling of sizes set a maximum rather than a minimum
 size. The title offset is now also scaled.

 Up to 100 cuts are now allowed (used to be 40).

 Up to 5000 histograms can now be stored in Mn_Fit memory for Unix
 machines for CLEO and 2000 for others/

 There was an error when opening the 10th EPS file.

 The mean and RMS for scatter plots was not stored in the right place,
 so always appeared to be zero. The mean and average calculation was
 skipped for 4.05 versions earlier than 4.05/21, if you had already
 fetched a Columnwise Ntuple.

 Space for integers and reals in CWNs increased to 50000 words.

 `HB_MN_FIT' can now fetch up to 200 histograms at once (used to be 100).

 You can now plot 200 histograms and still `HARDCOPY' or `REDRAW' them.

 The maximum length for macro arguments was 40 characters. This has
 been increased to 80.

 The length of commands in `DEFINE' blocks has been increased to 255
 characters (including continuation lines).

 Using FORTRAN `INQUIRE' to find out if a file exists did not always work
 on Decstations (Alphas also?). Changed to use `ACCESSF' from the CERN
 libraries for Unix machines. Should mean that the Mn_Fit help files
 no longer need to be world writeable. Some further checking on
 whether `INQUIRE' returned something sensible added.

 One too few characters was passed to shell command (only appears to
 have affected Linux).

 There was a bug in the setting of options for 3-D plots.

 The z scale size on `2DIM COL/Z' plots can now be set properly.

 A number of local variables that should be saved were not saved (only
 affected machines for which the static option was not default or not
 set - probably only Linux).

 The font for 2-D plots for symbols -1 and -2 was not set properly.

 The COMIS user function number was not initialised to zero properly.
 Too many histogram operations required entries in a histogram before
 the operation would be performed.

 If the same histogram is plotted twice the header will only be
 printed once.

 Better error handling when accessing CWN variables in expressions.

 A `<CR>' after an `ALIAS' command was not properly protected.

 CWN only read in once when projecting. It used to be read in twice.
 A number of bugs connected with CWN's not being initialized properly
 fixed.

 The error message about 'Run out of room to store plots for hardcopy'
 will only be printed once, and also only printed if the active device
 is a screen device.

 The HELP subtopics were sometimes not listed if the last subtopic was
 a level lower than those that were being listed.

 STRATEGY command did not work.

 The font setting for individual plots for scales and labels did not
 work properly. Some more information added to SHOW LABEL and SCALE.

 Error returns from shell commands are now caught.
 The correct shell was not used for single command.

 The Cernlib functions GAMMA and DGAMMA have been added to the list of
 functions that can be used in COMIS.

 Bug when adding a dipion invariant mass function, could cause a
 segmentation violation.

 The server number can be set in the VMS version (-SERVER).

 The flag @CERN has been replaced by @CERNLIB as it is only used to
 say if the cernlib command is available.

 SOLARIS and Linux added as machine types. @ZEUS, @CIP added as flags.
 ZEUSDSP added as flag. $L3_ONL renamed as L3DSP. Cleanup/fixing of
 the libraries needed for Solaris.

 Some modifcations had to be made to the flags for compiling under
 IRIX 6.2 and system IRIX64. IRIX verison should now also be able to
 use cc.

