]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/PROOF-INF.STEERBase/SETUP.C
Root does not give precedence anymore to current directory in the dynamic library...
[u/mrichter/AliRoot.git] / STEER / PROOF-INF.STEERBase / SETUP.C
1 void SETUP()
2 {
3    // Load some Root libraries needed by STEERBase
4    gSystem->Load("libVMC");
5    gSystem->Load("libNet");
6    gSystem->Load("libTree");
7    gSystem->Load("libPhysics");
8
9    // Load the STEERBase library
10    TString dypath = gSystem->GetDynamicPath();
11    dypath.Prepend(".:");
12    gSystem->SetDynamicPath(dypath);
13    gSystem->Load("libSTEERBase");
14
15    // Set the include paths
16    gROOT->ProcessLine(".include STEERBase");
17
18    // Set our location, so that other packages can find us
19    gSystem->Setenv("STEERBase_INCLUDE", "STEERBase");
20 }