$Id: InstallAida.txt,v 1.2 2008/09/22 14:43:38 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 <<OpenScientist install path>/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 - iAIDA
     -----
  Another package including AIDA is the iAIDA package: http://iaida.dynalias.net
  (an evolution of the former PI project http://cern.ch/pi)
  
  Once you have installed iAIDA in a specified local area $MYIAIDA, it is
  required to add the installation path to $PATH, i.e. for example, for
  release 1.0.11 of iAIDA:
  setenv PATH ${PATH}:$MYIAIDA/bin

  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
     
