Part II

HSDIR Directory Tool

hsdir is a directory tool which will display a directory of the contents of a Histo-Scope formatted file, including uid, category, title, and data type. Simply type the command hsdir followed by a filename specification. For example:

% hsdir random.hs

Directory of Histo-Scope format file: random.hs

	uid	category 	title 	         type

--- -------- ----- ----

21 HS INDICATOR EXAMPLE Indic

22 HS 2D HIST EXAMPLE 2dHist

23 HS EXAMPLE 1D HIST 1dHist

24 HS EXAMPLE NTUPLE Ntuple

Total of 4 items listed in file

%

The filename may have a wildcard and if there is more than one file meeting the criteria of the wildcard, the directories for all these files will be listed.

tohbook Tool

tohbook is a tool which can be used to convert a Histo-Scope-format file to a HBOOK-format file. Simply type the command tohbook followed by a filename specification. For example:

%tohbook random.hs

In the above example, tohbook will produce a HBOOK-format file called random.hbook of all the histograms and ntuples in random.hs.