4 gSystem->SetDynamicPath(Form("%s:%s", gSystem->pwd(), gSystem->GetDynamicPath()));
5 CheckLoadLibrary("libPWGLFresonances");
7 gROOT->ProcessLine(".include PWGLFresonances");
8 gROOT->ProcessLine(".include PWGLFresonances/RESONANCES");
10 // Set our location, so that other packages can find us
11 gSystem->Setenv("PWGLFresonances_INCLUDE", "PWGLFresonances/RESONANCES");
14 Int_t CheckLoadLibrary(const char* library)
16 // checks if a library is already loaded, if not loads the library
18 if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
21 return gSystem->Load(library);