next up previous contents index
Next: Ntuples Up: One and two Previous: Editing

Copy, rename, reset and delete

 

CALL HCOPY (ID1,ID2,CHTITL)
 

Action: Generates histogram ID2 as a copy of ID1, apart from the title.

Input parameter description:

ID1
existing identifier
ID2
non existing identifier
CHTITL
new title. CHTITL=' ' means that the old title is kept.

CALL HRENID (IDOLD,IDNEW)
 

Action: Renames a histogram or Ntuple.

Input parameter description:

IDOLD
Old histogram identifier.
IDNEW
New histogram identifier.

CALL HRESET (ID,CHTITL)
     

Action: Resets the contents of all channels of a histogram (and its projections) or Ntuple to zero and changes optionally the title.

Input parameter description:

ID
identifier of a histogram. ID=0 resets all existing histogram contents.
CHTITL
new title. CHTITL=' ' means that the old title is kept.

CALL HDELET (ID)
 

Action: Deletes a histogram and releases the corresponding storage space.

Input parameter description:

ID
identifier of a histogram. ID=0 deletes all existing histograms.

See section gif in the introductory chapter for a simple example of how to book, fill and print histograms.

     


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