]>
Commit | Line | Data |
---|---|---|
6bc03c45 | 1 | void SETUP() |
2 | { | |
c6109fad | 3 | // Load some Root libraries needed by STEERBase |
830f5072 | 4 | gSystem->Load("libVMC"); |
c6109fad | 5 | gSystem->Load("libNet"); |
6 | gSystem->Load("libTree"); | |
2c39fad9 | 7 | gSystem->Load("libPhysics"); |
53fdb519 | 8 | gSystem->Load("libMinuit"); |
c6109fad | 9 | |
10 | // Load the STEERBase library | |
bffad3dc | 11 | TString dypath = gSystem->GetDynamicPath(); |
12 | dypath.Prepend(".:"); | |
13 | gSystem->SetDynamicPath(dypath); | |
6bc03c45 | 14 | gSystem->Load("libSTEERBase"); |
15 | ||
3e228187 | 16 | // Set the include paths |
816bbbf4 | 17 | gROOT->ProcessLine(".include STEERBase/STEERBase"); |
6bc03c45 | 18 | |
19 | // Set our location, so that other packages can find us | |
1076657b | 20 | gSystem->Setenv("STEERBase_INCLUDE", "STEERBase/STEERBase"); |
6bc03c45 | 21 | } |