next up previous contents index
Next: Filling a RWN Up: Row-Wise-Ntuples (RWN) Previous: Row-Wise-Ntuples (RWN)

Booking a RWN

 

CALL HBOOKN (ID,CHTITL,NVAR,CHRZPA,NWBUFF,CHTAGS)

Action: Books a RWN in memory or with automatic overflow on an RZ file. Only single precision floating point numbers (REAL*4 on 32 bit machines) can be stored, no data compression is provided.

Input parameters:
ID
Identifier of the Ntuple.
CHTITL
Character variable containing the title associated with the Ntuple.
NVAR
Number of variables per event (NVAR$\leq$512)
CHRZPA
Character variable containing the path name of a RZ file onto which the contents of the Ntuple can overflow.
' '
Memory resident Ntuples:
  A bank of NWBUFF words is created. Further banks of the same size are added in a linear chain should additional space be required at filling time.
'RZTOP'
Disk resident Ntuples: (recommended)
  A disk resident Ntuple is created if the CHRZPA argument specifies the top directory name of an existing RZ file that has already been opened with HROPEN or HRFILE. A bank of length NWBUFF is created, as in the case of memory resident Ntuples. However, each time the bank becomes full it is automatically flushed to the RZ file, rather than creating additional banks in memory.
NWBUFF
Number of words for the primary allocation for the Ntuple.
CHTAGS
Character array of length NVAR, providing a short name (up to eight characters) tagging scheme for each variable.

Example of the declaration of a memory resident RWN

      CHARACTER*2 CHTAGS(5)
      DATA CHTAGS/'Px','Py','Pz','Q2','NU'/
 *
      CALL HBOOKN(10,'My first NTUPLE',5,' ',1000,CHTAGS)


Last update: Tue May 16 09:09:27 METDST 1995