3 // Load some ROOT libraries
4 CheckLoadLibrary("libEG");
5 CheckLoadLibrary("libGeom");
7 // Load the ESD library
8 CheckLoadLibrary("libANALYSIS");
9 CheckLoadLibrary("libESD");
10 CheckLoadLibrary("libPWGUDbase");
13 // Set the include paths
14 gROOT->ProcessLine(".include PWGUDbase");
16 // Set our location, so that other packages can find us
17 gSystem->Setenv("PWGUDbase_INCLUDE", "PWGUDbase");
20 Int_t CheckLoadLibrary(const char* library)
22 // checks if a library is already loaded, if not loads the library
24 if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
27 return gSystem->Load(library);