next up previous contents index
Next: Book a 2-dimensional histogram Up: Booking and Filling Histograms/Ntuples Previous: Booking and Filling Histograms/Ntuples   Contents   Index


Book a 1-dimensional histogram

\fbox {CALL QBOOK1 (ID, CHTITL, NX, XMI, XMA, VMX)}

The arguments are the same as for CALL HBOOK1 (...):

Input arguments:
ID
histogram ID number - nonzero integer
CHTITL
histogram title - character variable up to 80 characters
NX
number of bins
XMI
lower edge of lowest bin
XMA
upper edge of highest bin
VMX
normally set equal to 0.- see HBOOK manual for details.

HBOOK1 always deletes an existing histogram and creates a new one. To make it possible to update existing histograms (see 4.7.1), QBOOK1 creates a new histogram only if it does not yet exist. An existing histogram remains unchanged. Therefore, whenever you want to update histogram files, use QBOOK1 instead of HBOOK1. For new histograms, QBOOK1 and HBOOK1 are identical.



Joel Closier
2000-02-07