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.
NVAR$\leq$512
)
NWBUFF
words is created.
Further banks of the same size are added in a linear
chain should additional space be required at filling time.
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.
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)