D0Scan logo
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

D0Scan Documentation

Please note that this version is no longer under development (although it is still maintained in running condition). The main version is currently d0scan_qt.

D0Scan is a 3D interactive event and detector package. The D0Scan program is an OpenInventor SceneViewer tailored for the D0 environment. It requires a valid OpenInventor license (available to D0 personnel) and an OpenGL-capable viewer. (Exceed with the 3D extension or the WRQ Reflection X server can furnish this for many NT-based systems). There is currently no native NT version of D0Scan although work is being done using Qt/SoQt to replace Xt/SoXt.

The Linux version currently relies on the use of the Mesa library which substitutes 2D X-Windows calls for OpenGL. There is currently a new release of the X manager/Mesa which may change this. (See the article in LinuxWorld and instructions from CD on how to install this on your own Linux box.)

D0Scan lifts much of its structure and classes from the HEPVis project. The basic information on how to manipulate a scene in 3D, how to get a new event, how to pick, etc, has been extracted and placed inside D0Scan.

D0Scan is purposely designed to only display information which is already present in the input stream. If you want to take raw data and display found tracks, you must either reconstruct it yourself or use D0Scan_data (which is basically D0Scan plus unpackers and reconstructors).

Following the procedure indicated in the next few lines should take care of most cases.

setup n32 (on IRIX only)
setup D0RunII t01.35.00
newrel -t t01.35.00 scan_135
cd scan_135
d0setwa
setup sam # if using SAM as the event input
setup d0cvs
cvs checkout D0Scan/rcp
#
# Running:
#
# Either
# 1) run using the input as a command line parameter:
<d0mino> D0Scan_x -rcp D0Scan/rcp/D0Scan_test.rcp -input_file /prj_root/736/mc_3/serban/d0simdata/d0reco126.isajet.zee_188143608_2000
# or
# 2) edit io_packages/rcp/ReadEvent.rcp to use your input file. 
D0Scan_x -rcp D0Scan/rcp/D0Scan_test.rcp # for ReadEvent
#

SAM input is no longer supported directly in D0Scan since that has been moved to the D0Scan_data package.

If you are working remotely, you'll need to set your DISPLAY environmental variable to match your host. If you are working remotely on a Linux box without true OpenGL support, you should use the Linux version rather than the SGI version or do a setup Mesa.

D0Scan depends upon geometry information from all of the detector components which can be visualized (which as of this release consists of the muon system, the central fiber tracker, central calorimetry and the silicon tracker). It also displays the following event data: muon PDT/MDT and scintillator hits, GTracks, jets, missing ET, barrel SMT hits, barrel calorimetery, CFT fibers, CPS 3D hits, vertices, and Monte Carlo tracks (both generator level and as propagated). There is also a LEGO-style plot which shows the energy deposition in the calorimeter.

To see the available detector elements, pull down the Show menu. Select the ones which you wish to see and push the refresh button. (If nothing is visible, it may be because there is a missing select box higher up the chain or that you are in the central region and the detector is surrounding your viewpoint. Try panning out...)

with D0Scan_data

Bugs