Access to files is via the File button. This is how you open data files (FZ files), D0DADF files, D0DAD catalog files, and STP files. The following details how to open files which result in events being read in. For STP files, you have to change the Attributes to specify ZEBSTP common and STP file type (see below on Attributes).


Quick access via:

Open Files - D0DAD Catalog Access - Output File


You should see the following picture when you push this button:

Note that each item in the menu list, where appropriate, has a ^z symbol associated with it (where "z" is P for Open Data File... and etc). This means you can access the item via control-z (e.g. control-P for Open).


Open Data File... ^P

This is how you get access to files (data, STP, or D0DADF) (keep reading!). Pushing this button will cause a "File Selection Box" to appear. It will look like this:

In the text area under the word "Filter" you see the string "top5$hroot:[e_jets.data]*.*". This particular string will be your current default directory. The program takes this "filter" and applies it (via "dir" or "ls") with the result displayed in the text under the word "Files". To the left of this is a list of directories, with the current directory, the one above, and all below. The following functionality is at your disposal:

Note that the program knows what to do to open a zebra data file, or a D0DADF file. You go through the same motions either way.

Note also that you do NOT need to close files - this will be done for you automatically (by D0OPEN).


D0DAD Catalog.... ^B

D0DAD stands for D0 Direct Access Data. John Hobbs is responsible for bringing the system from OPAL. What D0DAD does is to organize pointers to the data within files (D0DADF files) or to put event information into "catalogs" which themselves contain information about where events are located. Push this button (D0DAD Catalog...) if you want to access particular events via the catalogs (D0DADF files are accessed just like regular data files, see above), and the following window should appear:

The first thing to notice are the two buttons labelled Standard Catalog and Specify Catalog. The D0 RECO program will be putting data into standard catalogs hot off the press. The name of the catalog will be run-dependent, the program will know which catalog to open. Note that this will work transparently to any user on one of the FNAL machines, but if you are off site you will have to have the correct VMS logicals (or have the D0FS system file mounted if you are on unix) set up (it's d0$d0dad$catalogs:run*_mds.evtcat). The Standard Catalog button is set to tell you that the program will go to the standard D0 catalogs. However, if you want to open some other catalog, hit the Specify Catalog button. You'll get another File Selection window which will look like this on VMS:

Note that the "Filter" is set to point to the standard D0 catalog area.

Specifying the catalog of choice only tells the program which catalog to open. Nothing happens until you specify the Run and Event numbers by typing them into the appropriate boxes and hitting the button labeled Fetch Event. The program then goes to the catalog which you've specified, opens it, gets the information as to where the event lives, and goes and gets the event.


Output.... ^O

You can use D0X to write events into an output file. The control menu for output is accessed by clicking this button, and will look like this:


Attributes:

There is a series of buttons here which again you will almost never have to play with, but are described now.