Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Installing and configuring Netbeans and JDK

...

On this web page we will describe how to install the necessary software to work with the lcsim software framework. The lcsim reconstruction and analysis framework is java based and therefore works on linux, windows and MacOSX. In this tutorial we describe the installation and configuration of the following three software packages.

  • netbeans: An IDE (Integrated Development Environment) that simplifies editing and developing the code, building it etc.
  • lcsim.org: the java based reconstruction framework.
  • JAS3: is a general purpose, open-source, data analysis tool with the following features
    • Plotting of 1d, 2d and 3d histograms, XY plots, scatterplots etc.
    • High quality print output.
    • Fitting (binned or unbinned) using an extensible set of optimizers including Minuit.
    • Export of plots in a variety of formats including PS, EPS, PDF, SVG, GIF, PNG.
    • Easy to learn GUI for performing common analysis tasks (plotting, ntuple-analysis, fitting etc.).
    • More complex analysis can be performed using a variety of scripting languages (pnuts, jython, etc.), or by writing Java analysis modules.
    • Able to read data in a variety of formats including: SQL databases, text-files (see also HEP specific features).
    • AIDA compliant analysis system.
    • Built-in editor and compiler.
    • Simple spreadsheet capabilities.
    • Logbook for recording analysis tasks, and optionally publishing results to the web.
    • Highly modular structure allows addition, replacement or removal of modules to customize application for a particular problem domain.
    • Plugins provide:
      • Event browser for files in stdhep and lcio format
      • WIRED Event display

Preferred Installation

The machines at the Fermilab computer training center were preinstalled with Scientific Linux Fermi (SLF) 6.3 (32 Bit).  For both windows and Linux we recommend using the netbeans jdk bundle. To install it.

First get the netbeans java jdk bundle from below.

...

Wiki Markup
{{/\[path to your Download area\]//Downloads/jdk-6u38-nb-7_2_1-linux-i586-ml.sh}}

On MacOSX Java is usually installed and  it one can just use the existing version. If it is not installed one can get it from the Apple download side:

http://support.apple.com/downloads/#java

Then one can obtain netbeans from:

http://netbeans.org/downloads/

Alternate Installation of NetBeans and JDK

...

(Note: if you have properly built the org.lcsim package in NetBeans, the org.lcsim plug-in should already be listed as installed in the Plugin Manager when you first run JAS3)
from hep -> linearcollider

  • org.lcsim

Make If you used the netbeans jdk bundle (windows and linux)  make sure you use the same Java that was bundled with netbeans and that you build lcsim etc. with:

...

Wiki Markup
and set to the correct javac:
{{/\[path from which you ran the JDK+NetBeans installer\]/jdk1.6.0_38/bin/javac}}

(Note: on MacOSX this step is not necessary)
(Note: if you used the Alternate Installation instructions, JAS will likely already have the correct compiler set. If not, try /usr/bin/javac)

For instructions on creating and running your own analysis, check out the parent page:https://confluence.slac.stanford.edu/display/ilc/LCSim+Tutorials