2 // Load the BASE library
3 CheckLoadLibrary("libPWG4JCORRAN");
4 gROOT->ProcessLine(".include PWG4JCORRAN");
5 // Set our location, so that other packages can find us
6 gSystem->Setenv("PWG4JCORRAN_INCLUDE", "PWG4JCORRAN");
9 Int_t CheckLoadLibrary(const char* library) {
10 // checks if a library is already loaded, if not loads the library
12 if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
15 return gSystem->Load(library);