Search/Navigation:
Related:
SLAC/EPP/HPS Public
Jefferson Lab/Hall B/HPS Run Wiki
S30XL-LESA/LDMX
Java Analysis Workstation 3 (JAS3) is a graphical workbench application that can be used for viewing and manipulating AIDA histograms, viewing event displays, and looking at basic information contained in LCIO files.
If you have installed JAS previously, then you may want to remove the existing plugin configuration to avoid conflicts with the new installation.
cd ~/.JAS3 mv extensions extensions.backup
The new plugin jars will be downloaded automatically later when configuring the plugins within JAS.
You can download the latest distribution from the download area either by clicking the links and using the browser or executing a command like this.
wget http://java.freehep.org/maven2/org/freehep/jas-assembly/3.1.0/jas-assembly-3.1.0-distribution.tar.gz
The above command is just an example. In general, the current distribution should be used.
Once the tarball is downloaded, you can unpack it with a Unix command.
tar -zxvf jas-assembly-3.1.0-distribution.tar.gz
This will create the directory jas-assembly-3.1.0 which is the root directory for running JAS.
Finally, you can simply run JAS from the command line using a simple command such as the following.
./jas-assembly-3.1.0/jas3
You should now see the GUI load.
Next we need to install the plugins used for analyzing HPS data.
In the View menu, click on the Plugin Manager item and find the HPS Java plugin in the tree menu.
You can install the plugin by clicking on the Install selected plugins button.
When prompted, restart JAS3 by clicking on the Restart Now button.
The other plugins on which HPS Java depends will be installed automatically through dependency resolution, so you should be good to go now!
How Do JAS3 Plugins Work
JAS installs jar files for plugins into ~/.JAS3/extensions which are automatically loaded when the application starts.
When developing HPS Java, you may want to update JAS3 with changes from your local installation. In order to do this, you will need to install the hps-plugin module.
It can be installed by itself as follows.
cd hps/java/trunk/plugin mvn
Once this is done, you will need to restart JAS for it to load the modified jar files.
The plugin is also installed automatically when building the entire trunk.
cd hps/java/trunk mvn -DskipTests
This should make sure that JAS sees your local version of the HPS Java Plugin.