3 // Load some ROOT libraries
4 CheckLoadLibrary("libEG");
5 CheckLoadLibrary("libGeom");
7 // Load the ESD library
8 CheckLoadLibrary("libESD");
10 CheckLoadLibrary("libPWG0base");
12 // Set the include paths
13 gROOT->ProcessLine(".include PWG0base");
15 // Set our location, so that other packages can find us
16 gSystem->Setenv("PWG0base_INCLUDE", "PWG0base");
19 Int_t CheckLoadLibrary(const char* library)
21 // checks if a library is already loaded, if not loads the library
23 if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
26 return gSystem->Load(library);