Versions Compared

Key

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

...

source $HOME/.SetSoftRelease BeamtestRelease v3r0907p2

 
It is important to note that different software packages might be using different root versions. That is the case (at August 2006) for the BeamtestRelease and the EngineeringModel, which uses root 5 and root 4 respectively. That implies that the root version (and related environment variables) have to be also modified when switching between these two software packages.

The script SetSoftCode_Generic.csh (SetSoftCode_Generic.sh for bash or sh SHELL) can be used to set both, the software package environment variables and the root environment variable ROOTSYS (updating also LD_LIBRARY_PATH and PATH appropriately). An example of how to use it follows:

 
source SetSoftCode_Generic.csh BeamtestRelease v3r0907p2
Here i also provide few scripts which can be used to set some (useful) selected combinations of software package and release version.

  • BeamtestRelease-v3r0907p2.csh       (BeamtestRelease-v3r0907p2.sh for bash )
  • BeamtestRelease-v4r0909p2.csh       (BeamtestRelease-v4r0909p2.sh for bash )
  • EngineeringModel-v6r070329p16.csh  (EngineeringModel-v6r070329p16.sh for bash)

An example of how to use them follows:

source  BeamtestRelease-v4r0909p2.csh

Important Remarks 

  • The above mentioined scripts use the script  .SetSoftRelease, and they all assume that this script is located in the $HOME directory. Therefore, if you want to place .SetSoftRelease in any other place, you have to change the scripts accordingly...
  • I do have csh and sh scripts because, even though I particularly use csh, FRED wants to use bash (see section 3), and therefore I need both. I do not know whether this applies to you... but that might be useful.

 

2 -  Useful macro to select  the events you want to display with FRED

...