]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGCF/PROOF-INF.PWGCFebye/SETUP.C
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGCF / PROOF-INF.PWGCFebye / SETUP.C
CommitLineData
93143d65 1void SETUP() {
370084a4 2 CheckLoadLibrary("libPWGCFebye");
93143d65 3
4 // Set the include paths
370084a4 5 gROOT->ProcessLine(".include PWGCFebye/EBYE");
816bbbf4 6 gROOT->ProcessLine(".include PWGCFebye/EBYE/BalanceFunctions");
7 gROOT->ProcessLine(".include PWGCFebye/EBYE/LRC");
8 gROOT->ProcessLine(".include PWGCFebye/EBYE/MeanPtFluctuations");
93143d65 9
10 // Set our location, so that other packages can find us
370084a4 11 gSystem->Setenv("PWGCFebye_INCLUDE", "PWGCFebye");
93143d65 12}
13
14Int_t CheckLoadLibrary(const char* library) {
15 // checks if a library is already loaded, if not loads the library
16
9a3036c4 17 if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
93143d65 18 return 1;
19
20 return gSystem->Load(library);
21}