3 // Load some ROOT libraries
4 CheckLoadLibrary("libTree");
5 CheckLoadLibrary("libGeom");
6 CheckLoadLibrary("libVMC");
8 // Load the ESD library
9 CheckLoadLibrary("libANALYSIS");
10 CheckLoadLibrary("libSTEERBase");
11 CheckLoadLibrary("libESD");
12 CheckLoadLibrary("libAOD");
13 CheckLoadLibrary("libANALYSISalice");
14 CheckLoadLibrary("libPWG3muon");
17 // Set the include paths
18 gROOT->ProcessLine(".include PWG3muon");
20 // Set our location, so that other packages can find us
21 gSystem->Setenv("PWG3muon_INCLUDE", "PWG3muon");
24 Int_t CheckLoadLibrary(const char* library)
26 // checks if a library is already loaded, if not loads the library
28 if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
31 return gSystem->Load(library);