2 CheckLoadLibrary("libSTEER");
3 CheckLoadLibrary("libFMDbase");
4 CheckLoadLibrary("libFMDsim");
5 CheckLoadLibrary("libPWGLFforward2");
6 CheckLoadLibrary("libPWGLFforwardhit");
8 // Set the include paths
9 gROOT->ProcessLine(".include PWGLFforward2/FORWARD/analysis2");
11 // Set our location, so that other packages can find us
12 gSystem->Setenv("PWGLFforwardhit_INCLUDE", "PWGLFforward2/FORWARD/analysis2");
15 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);