]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG3/PROOF-INF.PWG3base/SETUP.C
New options: 1)raw data type. 2)initialization of reconstruction paramteres. Clean up.
[u/mrichter/AliRoot.git] / PWG3 / PROOF-INF.PWG3base / SETUP.C
CommitLineData
7673d405 1void SETUP()
2{
3 // Load some ROOT libraries
4 CheckLoadLibrary("libEG");
5 CheckLoadLibrary("libTree");
6 CheckLoadLibrary("libGeom");
7 CheckLoadLibrary("libVMC");
8
9 // Load the ESD library
10 CheckLoadLibrary("libANALYSIS");
11 CheckLoadLibrary("libSTEERBase");
12 CheckLoadLibrary("libESD");
13 CheckLoadLibrary("libAOD");
14 CheckLoadLibrary("libPWG3base");
15
16
17 // Set the include paths
18 gROOT->ProcessLine(".include PWG3base");
19
20 // Set our location, so that other packages can find us
21 gSystem->Setenv("PWG3base_INCLUDE", "PWG3base");
22}
23
24Int_t CheckLoadLibrary(const char* library)
25{
26 // checks if a library is already loaded, if not loads the library
27
28 if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
29 return 1;
30
31 return gSystem->Load(library);
32}