January 25, 1989
1- New command Ntuple/Merge
========================
* /NTUPLE/MERGE IDN1 IDN2 [ UWFUNC NEVENT IFIRST ]
IDN1 C 'Identifier of first Ntuple'
IDN2 C 'Identifier of second Ntuple'
UWFUNC C 'Selection function or cut number' D=' '
NEVENT I 'Number of events' D=999999
IFIRST I 'First event' D=1
To merge 2 Ntuples.
Invokes the selection function UWFUNC for each of the NEVENT events
starting at event IFIRST of Ntuple IDN1.
Only the events with UWFUNC>0 are appended to IDN2. IDN2 may be empty.
Note that the Ntuple variables may be redefined inside UWFUNC.
For more information about UWFUNC, see command NTUPLE/PLOT.
Ex:
- Ntuple/Merge //LUN1/10 //LUN2/10
will copy all entries of Ntuple 10 from file //LUN1 at the end
of Ntuple 10 of file //LUN2.
- Ntuple/Merge //LUN1/10 //LUN2/20 x>0 2000
will copy at the end of Ntuple 20 all the events in the first
2000 events of Ntuple 10 satisfying the condition "x>0"
- Ntuple/Merge //LUN1/10 //LUN2/SUBDIR/30 SELECT.FOR
will copy at then of Ntuple 30 all the events of Ntuple 10
for which the COMIS function SELECT will be positive.
Remark.
When you want to Update an existing file, do not forget
the option 'U' in the Histo/File command
Ex: Histo/File 1 file.dat 1024 U
2- Automatic binning algorithm for Ntuples
=======================================
The algorithm has been improved and works well for all kinds
of distributions.
When the option 'S' is selected in Ntuple/Plot, the binning of
the current picture is kept. This makes easier the super-imposition
of histograms corresponding to different cuts.
3- New command DDIR
================
* /ZEBRA/RZ/DDIR CHDIR
CHDIR C 'Directory name'
To delete the directory CHDIR from the current directory.
4- New options in HPLOT (commands OPTION and SET)
==============================================
- OPTION FILE/NFIL
When the option FILE is selected, the name of the file
corresponding to the current working directory will be plotted
on the picture.
By default, the name is plotted in the top left corner. This can
be changed by the parameter FILE in command SET.
SET FILE 1 plot at the top left corner (default)
SET FILE 2 plot at the top right corner
SET FILE 3 plot at the bottom left corner
SET FILE 4 plot at the bottom right corner
The font and character size are the same then titles. They can be
modified respectively with SET TFON and SET TSIZ.
- OPTION DATE/NDAT
When the option DATE is selected, the date/time of the day
will be plotted on the picture.
By default, the date is plotted in the top right corner. This can
be changed by the parameter DATE in command SET.
SET DATE 1 plot at the top left corner
SET DATE 2 plot at the top right corner (default)
SET DATE 3 plot at the bottom left corner
SET DATE 4 plot at the bottom right corner
The font and character size are the same then titles.
- OPTION STAT/NSTA
When the option STAT is selected, the statistics on the distribution
being plotted will also be plotted in the top right corner
of the zone (Use SET CSIZ to change the character size).
Using the command SET STAT, it is possible to select the kind
of information to be plotted.
SET STAT OURMEI where (O,U,R,M,E,I) may be 1 or 0.
Set I to 1 to plot the Identifier value
E the number of Entries
M the mean value
R the R.M.S.
U the number of underflows
O the number of overflows
Ex: SET STAT 001111 (default ) same as 1111
5- New options in HPLOT
====================
In the command Histo/Plot, two additional options are available
to draw 2-Dim plots.
Histo/Plot ID BOX
Histo/Plot ID COL (try this one on a color screen)
Scatter-plots, lego plots and surfaces are now drawn using
the current color index as set by SET HCOL.
6- Usual minor improvements
========================
The graphics editor has been improved (workstations only).
New options GRID and FRONT
A few bugs corrected in the HIGZ/POSTSCIPT driver (WKID -111,-112).
Powers of 10 on the X axis are now correct.
The command ARROW can now draw a double arrow
Automatic setting of the workstation type on Apollos
The default value for the parameter NUPD of Ntuple/Plot
has been changed from 30000 to 1000000.
All parameters referencing a histogram identifier are now
of type CHARACTER (important for macros).
The size of common/PAWC/ has been changed from 150000 to 220000
words on IBM.
![]() | Release Notes | Known bugs | FAQs | Contributions | Tutorial | Reference manual | Down load | Miscellaneous |