X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=PWGLF%2FPROOF-INF.PWGLFforward2%2FSETUP.C;fp=PWGLF%2FPROOF-INF.PWGLFforward2%2FSETUP.C;h=0000000000000000000000000000000000000000;hp=473823e0092fc1ef38716e26ec45655718353153;hb=c627660e3ea095ed462f5ce4ad36a184f40e0dd7;hpb=d85f6819269447083582dbf4349395fe419ff1f5 diff --git a/PWGLF/PROOF-INF.PWGLFforward2/SETUP.C b/PWGLF/PROOF-INF.PWGLFforward2/SETUP.C deleted file mode 100644 index 473823e0092..00000000000 --- a/PWGLF/PROOF-INF.PWGLFforward2/SETUP.C +++ /dev/null @@ -1,22 +0,0 @@ -void SETUP() { - CheckLoadLibrary("libPWGLFforward2"); - - // Set the include paths - gROOT->ProcessLine(".include PWGLFforward2/FORWARD/analysis2"); - - // Set our location, so that other packages can find us - gSystem->Setenv("PWGLFforward2_INCLUDE", "PWGLFforward2/FORWARD/analysis2"); -} - -Int_t CheckLoadLibrary(const char* library) { - // checks if a library is already loaded, if not loads the library - - if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0) - return 1; - // Make sure current directory is in the load path so we load the right - // library in case the target library already exist on the system (ProofLite) - gSystem->SetDynamicPath(Form("%s:%s", gSystem->WorkingDirectory(), - gSystem->GetDynamicPath())); - - return gSystem->Load(library); -}