]>
Commit | Line | Data |
---|---|---|
d56b8915 | 1 | void SETUP() |
2 | { | |
c6109fad | 3 | // Load some ROOT libraries |
4 | ||
5 | gSystem->Load("libVMC"); | |
6 | gSystem->Load("libNet"); | |
7 | gSystem->Load("libTree"); | |
8 | ||
9 | // Load libSTEERBase, AOD depends on it | |
10 | gSystem->Load("libSTEERBase"); | |
11 | ||
12 | // Load the AOD library | |
8bfe3849 | 13 | TString dypath = TString::Format("%s:%s", gSystem->WorkingDirectory(), gSystem->GetDynamicPath()); |
14 | gSystem->SetDynamicPath(dypath); | |
d56b8915 | 15 | gSystem->Load("libAOD"); |
16 | ||
3e228187 | 17 | // Set the include paths |
816bbbf4 | 18 | gROOT->ProcessLine(".include AOD/AOD"); |
d56b8915 | 19 | |
20 | // Set our location, so that other packages can find us | |
1076657b | 21 | gSystem->Setenv("AOD_INCLUDE", "AOD/AOD"); |
8bfe3849 | 22 | |
23 | // Set our lib coordinates, so that other packages can link to us | |
24 | TString lib = TString::Format("-L%s -lAOD", gSystem->WorkingDirectory()); | |
25 | gSystem->Setenv("AOD_LIBS", lib.Data()); | |
d56b8915 | 26 | } |
8bfe3849 | 27 |