preparing for using ROOT at RCF with UNIX

This can be done in several ways. At some level PHENIX/RCF maintain standard setup of root. This is done through the common area
  /opt/rhic/root/lib
                /bin
		/...
Installation of new versions has up to now been annouchned via the list-server archives for the rhic software list. A common script is available to define the ROOT environment for the different RCF platforms. Before using this script you should set the environment variable ROOTSYS to point to the approbiate root e.g.
  setenv ROOTSYS /opt/rhic/root

Since there early on was some problems with the RCF installations ROOT was compiled locally and is available in

  /brahms/u/brahmlib/root/linux/
			       /bin
		               /...
for the redhat 5.0 compiled with gcc2.7.3.

A script [rootenv.csh] which is useful to change the path, and setup the library path for sharebale libraries is here.
Note. If you intend to also use brat you should follow the procedure outlined in the next section.

Setting up to use BRAT at RCF

Note : This is not complete-Ask an expert for help

The production libraries and code will be available from a default directory which is pointed by the environment variables BRATSYS and BRATHOME. The setup depends on wheter you have BRAT checkout or exported, or just refering to a production version of libraries.

  1. Checked out version. You have the brat system checked out from cvs. This means that you have a directory tree like
    	brat
    	brat/lib
    	brat/base
    	brat/bb
    	brat/..
    
    The checkout should have left a file brat_setup in the brat directory. To setup all environment variables source this script. the only requirements for proper execution is that ROOTSYS is defined and the the script is executed from the brat directory.
    	source brat_setup
    	setenv BRATSYS $BRATHOME
    
  2. Using production libraries. Presumably all thst is to be done is to let BRATSYS and BRATHOME point to the production root e.g.
    	setenv BRATSYS /brahms/u/brahmlib/brat
    	setenv BRATHOME /brahms/u/brahmlib/brat
    

Some warnings
The location of the production directories has yet to be determined. Also it is not routinely updated.

Prequisites for other machines and platforms

  1. gmake
    To be able to work with ROOT you will need gmake on the UNIX platforms, and nmake on Windows platforms. Some experience has been gained with the Cygnus tools for WinNT and they seem quite useful.

  2. Root executable, libraries and include files
    You should get and have a standard installation of root at your site.

  3. Environment variables
    The standard ROOT variables, ROOTSYS and the LD_LIBRARY_PATH must be setup for your platform. Besides that, you also need ROOTSYS and an addition to LD_LIBRARY_PATH in order to run Root. Please have a look at the file AA_README in the Root distribution. 

Last Update: 15 September, 1998 by F.Videbaek