Versions Compared

Key

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

...

1.1 - Scripts to set some environment variables 

 

Wiki MarkupThe script [.SetSoftRelease|^.SetSoftRelease](\[\][.SetSoftRelease_bash|^.SetSoftRelease_bash] for bash or sh shell) sets the environement variables CMTCONFIG (to "rh9_gcc32opt"), GLAST_EXT (to "/afs/slac/g/glast/ground/GLAST_EXT/$CMTCONFIG") and the variable CMTPATH. The first 2 point to the directory where all the software packages hang, therefore they DO NOT need to be replaced. On the other hand, the variable CMTPATH points to the specific software package to be used, and consequently it needs to be modified every time you want to change software package or release. Because of that, the script has 2 arguments:

 

  1. Software package; _ BeamtestRelease, EngineeringModel... _
  1. Release version: v3r0907p2, v6r070329p17 ...

...

I have this script in my home directory, which allows me to call it from everywhere in the following way:

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.

...

1.2 - Root macro to load root libraries

Wiki Markup The macro [LoadLibraries.C|^LoadLibraries.C]\[\] can be used to load (within a root session) the following root  The macro LoadLibraries.C can be used to load (within a root session) the following root libraries:

  •  libcommonRootData.so
  •  libmcRootData.so
  •  libdigiRootData.so
  •  libreconRootData.so
  •  libPhysics.so

...