Update master to aliroot
[u/mrichter/AliRoot.git] / STEER / PROOF-INF.ESD / SETUP.C
CommitLineData
20da6657 1void SETUP()
2{
9d094d0c 3 // Load some ROOT libraries
c6109fad 4
5 gSystem->Load("libVMC");
6 gSystem->Load("libNet");
7 gSystem->Load("libTree");
8
9 // Load libSTEERBase, ESD depends on it
10 gSystem->Load("libSTEERBase");
9d094d0c 11
20da6657 12 // Load the ESD library
8bfe3849 13 TString dypath = TString::Format("%s:%s", gSystem->WorkingDirectory(), gSystem->GetDynamicPath());
14 gSystem->SetDynamicPath(dypath);
9d094d0c 15 gSystem->Load("libESD");
20da6657 16
3e228187 17 // Set the include paths
816bbbf4 18 gROOT->ProcessLine(".include ESD/ESD");
20da6657 19
20 // Set our location, so that other packages can find us
1076657b 21 gSystem->Setenv("ESD_INCLUDE", "ESD/ESD");
8bfe3849 22
23 // Set our lib coordinates, so that other packages can link to us
24 TString lib = TString::Format("-L%s -lESD", gSystem->WorkingDirectory());
25 gSystem->Setenv("ESD_LIBS", lib.Data());
20da6657 26}
8bfe3849 27