]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/PROOF-INF.PWGLFforwardhit/SETUP.C
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGLF / PROOF-INF.PWGLFforwardhit / SETUP.C
CommitLineData
41aae192 1void SETUP() {
66ee9f2f 2 CheckLoadLibrary("libSTEER");
3 CheckLoadLibrary("libFMDbase");
4 CheckLoadLibrary("libFMDsim");
5 CheckLoadLibrary("libPWGLFforward2");
6 CheckLoadLibrary("libPWGLFforwardhit");
41aae192 7
8 // Set the include paths
66ee9f2f 9 gROOT->ProcessLine(".include PWGLFforward2/FORWARD/analysis2");
41aae192 10
11 // Set our location, so that other packages can find us
66ee9f2f 12 gSystem->Setenv("PWGLFforwardhit_INCLUDE", "PWGLFforward2/FORWARD/analysis2");
41aae192 13}
14
15Int_t CheckLoadLibrary(const char* library) {
16 // checks if a library is already loaded, if not loads the library
17
9a3036c4 18 if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
41aae192 19 return 1;
20
21 return gSystem->Load(library);
22}