...
1.1 - Scripts to set some environment variables
The script .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.2 - Root macro to load root libraries
The macro \[\][ The macro LoadLibraries.C[] can be used to load (within a root session) the following root libraries: Wiki Markup
- libcommonRootData.so
- libmcRootData.so
- libdigiRootData.so
- libreconRootData.so
- libPhysics.so
...
Wiki Markup |
---|
_root \[0\] .x _ _[_LoadLibraries.C_|^LoadLibraries.C]_ _("BeamtestRelease-v3r0907p2")_ |
As it will be shown in the next section, one can also include this macro in another macro and execute it from there:
#include "LoadLibraries.C"
void sillymacro(TString softrelease = "BeamtestRelease-v3r0907p2")
...