$Id: InstallAida.txt,v 1.1 2008/05/07 11:47:09 maire Exp $ -------------------------------------------------- -------------- Install AIDA -------------- To use histograms, at least one of the AIDA implementations should be available. You can use various file formats to write histograms (hbook, root, AIDA-XML). 1 - OpenScientist (lal/in2p3) ------------------------- OpenScientist is available at http://OpenScientist.lal.in2p3.fr. OpenScientist_batch is a small package ( ~ 6MB), easy to install. It provides an AIDA interface to write files in ROOT or PAW format. Download and gunzip (for Linux system) : http://openscientist.lal.in2p3.fr/download/16.3/osc_batch-v16r3-Linux-i386-gcc_323.zip (or more recent version, or Windows or Mac system) Installation: prompt%> cd osc_batch/v16r3 (or more recent version) prompt%> ./install prompt%> source aida-setup.csh (on Windows : dos%> call </aida-setup.bat) 2 - RAIDA (desy) ------------ It is a ROOT based AIDA interface. It can be downloaded from http://ilcsoft.desy.de/portal/software_packages/raida/index_eng.html 3 - PI (cern) --------- A package including AIDA and extended interfaces also using Python is PI, available from: http://cern.ch/pi Once installed PI or PI-Lite in a specified local area $MYPY, it is required to add the installation path to $PATH, i.e. for example, for release 1.2.1 of PI: setenv PATH ${PATH}:$MYPI/1.2.1/app/releases/PI/PI_1_2_1/rh73_gcc32/bin CERN users can use the PATH to the LCG area on AFS. Before running the example the command should be issued: eval `aida-config --runtime csh` 4 - JAIDA (slac) ------------ JAIDA is an implementation of AIDA in Java. To use it, one needs Java as well as AIDAJNI, a connector between AIDA-C++ and AIDA-Java. Available for: Linux-g++2, Linux-g++3, WIN32-VC, SUN-CC, Darwin-g++2, Darwin-g++3 To compile and link with JAIDA using AIDAJNI, make sure you have: 1. JAIDA version 3.2.0, see http://java.freehep.org/jaida 2. set enviroment variable JAIDA_HOME to your JAIDA installation 3. source the aida-setup script $JAIDA_HOME/bin/aida-setup.[sh|csh|win32] 4. AIDAJNI version 3.0.4 or 3.2.0, or better: see http://java.freehep.org/aidajni 5. set environment variable AIDAJNI_HOME to your AIDAJNI installation 6. set environment variable JDK_HOME to your Java Standard Development Kit (1.4.x or up). 7. source the aidajni-setup script $AIDAJNI_HOME/bin/$G4SYSTEM/aidajni-setup.[sh|csh|win32] now execute: source setup-analysis (.csh, .sh, .win32) gmake clean gmake