SLAC logo WIRED logo
WIRED3 Users Home Page


Release Notes

27 May 2005 - Version 3.14.1
Bug Fixes and Usability Improvements - details
18 March 2005 - Version 3.14.0
Major New Release - Many Improvements - details
4 November 2004 - Version 3.13.2
New feature - autoExport - details
24 September 2004 - Version 3.13.1
Minor improvements mostly related to special running modes - details
18 August 2004 - Version 3.13.0
Added Cut Feature, Overhauled Handling of Startup Options, Overhauled Menus and Controls, Changed Label Control, Remember Settings from Session to Session, and More (plus complete rewrite of home page) - details
8 July 2004 - Version 3.12.6
Handled HepRep Files that Have Undefined Attributes - details
7 July 2004 - Version 3.12.5
Added Label Feature, Added Control on Number of Significant Figures, Show Units, More Startup Options, Installation Fix for Mac and Many Small Fixes - details
9 June 2004 - Version 3.12.4
Added Startup Options to Control Initial Number and Content of Views, Added PickToTransform, Fixed Phi and Theta of Circles - details
For complete details on these and earlier release notes, see Release Notes for WIRED3

Introduction

WIRED3 is a Java program that was developed to let physicsts visualize single event data on any platform. It has evolved into a browser for data from any source that either provides HepRep XML files or a HepRep-enabled HepEventServer. This data may be particle physics events, Geant4 detector geometries or some other hierarchical graphics data. The data source may be another process on the same computer as WIRED3 or it may be a server an ocean away.

The client code is written as 100 percent pure Java to provide a true "runs anywhere" capability. This means that the desktop machine does NOT have to be one of your experiment's standard supported platforms; it can be any machine on which Java has been properly installed. WIRED3 is currently being used on all versions of Windows (from Windows 95 to XP), Linux, Unix and Mac OSX.

Users are encouraged to install and run WIRED3 on their desktop machines rather than running it via x-windows from central Unix systems. WIRED3 will work either way, but the best performance comes when it runs on the desktop (and this frees central Unix CPUs for more suitable work).

A few more historical and technical details are provided in a later section of this document.


Installation

The following instructions show you how to install WIRED3 by downloading and running a single install file.

Users are encouraged to install and run WIRED3 on their desktop machines rather than running it via x-windows from central Unix systems. Wired will work either way, but the best performance comes when it runs on the desktop (and this frees central Unix CPUs for more suitable work).

If you have the standard BaBar unix or linux setup, you can skip the WIRED installation - it is already installed for you. Just type "wired -exp babar".

Installing Java

Start by making sure you have an appropriate version of Java on your system, a version number of 1.4.1 or greater, and it MUST NOT Be one called libgcj.

You can check the version number by typing the following from a terminal window (or on Windows, a command or cygwin window):

   java -version

If the response includes the words "libgcj", watch out, this is not a real Java version. Rather, it is a minimal version that some Linux distributions include as a place-holder for a real Java. While it may be sufficient to run some simple web applets, it is not sufficient to run serious Java applications such as Wired3.

If you don't already have the appropriate Java:

Additional notes for Linux users:

Installing WIRED3

Note that the WIRED3 installer does not make any changes to your registry or other system files. You can always remove WIRED3 by just deleting the single directory structure into which WIRED3 is installed. So don't worry - give it a try on any machine.

To download WIRED3, copy a single file of about 6.5M to your own directory (it doesn't matter where you put it, the install procedure will later ask you where you really want to install WIRED3):
http://www.slac.stanford.edu/~wiredces/wired3_14_2beta4/install.class

Open a command window and go to the directory where you copied install.class. Before you actually run the installer, note one thing:

Now run the installer by typing the following command:

   java -cp . install

If you are running through x-windows, the install procedure may have trouble getting the correct fonts to show the install dialog boxes. You can instead just skip the dialog boxes by typing:

   java -cp . install /p
The result will be as if you had selected all of the default options. WIRED3 will be installed to the directory "Wired".

Upgrading

WIRED3 is entirely self-contained; it does not add or modify any files outside of its own file structure. The upgrade procedure is therefore very simple.

Starting

The executable is in Wired3's bin directory. Run it by typing:
   wired
or
   wired -exp babar
or
   wired -exp glast
The "-exp" is necessary to invoke the experiment specific behaviors (for BaBar, knowing where the BaBar servers are and preloading the BaBar detector outlines, for GLAST, knowing to use appropriate coordinate labels).

If you have the standard BaBar unix or linux setup, you can just type "wired" from any directory.

The "-exp" value, and a large number of other startup options can also be provided as part of a user.properties file in your current directory, but this discussion is left for later.

Additional Notes for Cygwin, Linux, Windows ME, Windows 98 and Windows 95 Users

Wait a moment for WIRED3 to open its first view window. You will see a large black area with the title "no data loaded", and the "Open Data" icon, that looks like a file folder, will turn yellow to indicate that WIRED is ready.

If you would like to run with a step by step tutorial showing exactly what output you should see at each step, try the Tutorial that was developed for a recent Geant4 Users Workshop. Otherwise, read on below.


Basic Operation


The Main Toolbar

Use the Open Data button to select some data.

Use the reload button to reread data that may have changed.

The previous and next event buttons read the next data from your chosen data source.

The up and down buttons navigate up and down lists of specific event IDs.

The AutoUpdate button lets you continually update to new data.

The New View button creates a new view window.

The Data Visibility Control button turns on and off the data visibility tree (which is turned on by default).


The Orientation Toolbar

The bottom of the view window contains the Orientation Toolbar. These buttons control zoom, rotate and translation functions.

The View Popup Menu

To see other options, place the cursor into the window that contains the view and hit the right mouse button (Macintosh users, hit control and mouse button).

The File Menu

The File Menu provides functions for opening and saving data.

The Options Menu

The Options Menu lets you control an assortment of features.

The Window Menu

The Window Menu lets you create and lay out additional view windows (so that you can do things like have a front, top and side view of your data at the same time).

The Help Menu

The Help Menu points your default web browser at relevant help pages. It assumes you have internet access.

Advanced Features


Labels

WIRED3 can label any object with any of its HepRep attributes. For example, the label could appear as follows:

Labelling follows the flexible scheme envisioned in the HepRep standard. For example, if there is a Track that has a Transverse Momentum of 3.143 GeV, you can choose to

Labels are anchored to whatever point of the object appears closest to a screen edge. This has the desireable affect that when you zoom in on a track, while the end of the track may fall off the screen, the label will slide along the track, remaining on the screen, unless the track falls completely off the screen.

Labels can be controlled from a Label Control Dialog or from startup options.


Cuts

WIRED can hide objects based on cuts that you provide. For example, you could cut out all calorimeter clusters that have less than some specified energy. Cuts can be based on any HepRep attribute.

Cuts can be controlled from a Cut Control Dialog or from startup options.

The type of value tested can be either integer, float or string as long as it matches the type of value of the relevant HepRep attribute (which can be seen from the attribute popup or by using the labelling feature.

Whenever cuts are in force, the cut will be listed in the lower right corner of the view window, and this list will be included in any exported graphics.


Selecting Server Data

The Open Data Dialog has many advanced features to help you select data.

Startup Options

WIRED3 respects a large selection of startup options to save you effort. Most users will not need any of these options, but any of them can be used by including them after the WIRED command, as in:
   wired -fullScreen true

Each option is preceded by a dash and follwed by a value. You may string together as many of these options as you wish (there is no order-dependence).

Options provided as part of the WIRED command are in effect only for the current session. To set options in a more permanent way, put them in your "user.properties" file.

The first time you start WIRED3, a properties file is created:

   user.properties

WIRED3 stores various values in this file so that it can remember some of your settings (size and location of the main WIRED window, directory from which you last read a HepRep file, etc.). You can edit this file to add addtional startup options.

The complete list of available startup options, along with their default values and explanatory comments is contained in the file included with your WIRED3 installation:
    wired/source/default.properties

To change any of those defaults, copy the corresponding line into your user.properties file. Your value will override the default. Take care not to modify the default file itself (if you find that you have done that, replace it with a fresh copy from the above link).

Note that some option values are case sensitive (for example, projection name must be Perspective, not perspective).

One special option which can be used only from the command line is "-opt". Use this to specify an alternate properties file (instead of user.properties), as in:

   wired -opt myspecial.properties

To Make Your Own Server

SLAC WIRED is fundamentally experiment-independent. Any experiment that implements the HepRep and HepEventServer protocols can serve events to this same WIRED client. To learn how to do this, first study the HepRep and HepEventServer documentation, then contact Joseph Perl for general guidance (including the latest example code from BaBar and GLAST).

Although BaBar already has many production WIRED servers, individual BaBar users may want to run their own servers to look at a special database, to run special reconstruction code or to develop the server itself. Due to BaBar's Computing Model 2 conversion, the HOWTO for this is currently in transition. The general sense of how this is done can be seen from Customized Servers for BaBar WIRED, but before starting ask for more recent information from the BaBar WIRED maintainers at wiredces@slac.stanford.edu.


Historical and Technical Details

WIRED3 grew out of earlier WIRED event display work at CERN (originally a web applet, WIRED stood for World-Wide Web Interactive Remote Event Display). With the addition at SLAC of the HepRep Generic Interface Definition for HEP Event Display Representables and the HepEventServer Generic Design for HEP Event Data Servers, WIRED become WIRED3 - a generic, experiment-independent HepRep browser that can serve many different user communities.

WIRED3 can communicate via CORBA or XML architectures to a variety of servers which provide HepRep format data through the HepEventServer event server protocol. Pools of such servers may be managed using the JProcMan process management system. An overview of how all of these components fit together can be seen at A Component Approach to HEP Event Displays.

WIRED3 uses its own unique projection engine (rather than a conventional hardware graphics engine) to allow creation of specialized, often non-linear, projections of interest to physicists. A special layering model insures that certain data such as raw hits are always layered on top of their associated found tracks no matter what orientation the view is presented in. The work is analogous to how a cartographer layers data on a map to maximize the presentation of useful information.


Additional Features Coming Soon

Many improvements are planned, including faster response and continued debugging.

Some highlights of work going on at this moment are:

For a complete description of the functionality we eventually intend to achieve, see:


For More Information


Send us your Feedback

Questions and feedback are always welcome.

In Case of BaBar Server Problems

The BaBar WIRED Event Display servers get their data from the standard BaBar databases and run on standard SLAC interactive machines such as shire. They contain at their heart a standard BaBar analysis job. They are therefore unable to serve events when these databases are down or when the SLAC BaBar interactive machines are experiencing system problems. In most cases, the event display servers will come back up as soon as the underlying system issues are resolved.

If a server goes down, you will be given the option to browse the server logs. The tail of the log should show you something about why the server failed. You can also check the server logs at any time by clicking on the Help menu's "Browse Server Logs" option or directly viewing the Server Status Page.

You can ask for a new server of the same kind by first clicking on the minus sign next to the server description (which closes that part of the tree) and then again clicking on the plus sign next to the server description.

Please consider the following possible problems before assuming this is a problem with the WIRED3 system itself:

Relevant problems will often be reported in the BaBar Hypernews groups:

Most suspected BaBar WIRED server crashes turn out to actually be crashes that would occur in any equivalent BaBar interactive analysis job. So please, if you have the time, try an equivalent analysis job (using the same release as the server) to check if this problem is really specific to the WIRED servers.

Having said all that, we really do want to hear from you if there are any problems. Please contact us through the above feedback links.


WIRED3 and this web page are currently maintained by Joseph Perl.
WIRED3 is based on earlier WIRED versions by Mark Donszelmann, Joseph Perl and many others.

22 September 2005