- V0s tree added
[u/mrichter/AliRoot.git] / PWGLF / SPECTRA / ChargedHadrons / dNdPt / macros / ProofEnableAliRootGSI.C
CommitLineData
4fa29112 1
8259e035 2void ProofEnableAliRootGSI(const char* location = "/usr/local/grid/AliRoot/v4-05-Release")
4fa29112 3{
4 // enables a locally deployed AliRoot in a PROOF cluster
5
6 printf("Load libraries: %s \n",location);
7 gProof->Exec(Form("TString str(gSystem->ExpandPathName(\"%s\")); gSystem->Setenv(\"ALICE_ROOT\", str);", location), kTRUE);
8
9 gProof->AddIncludePath(Form("%s/include", location));
10 gProof->AddIncludePath(Form("%s/TPC", location));
91326969 11 gProof->AddIncludePath(Form("%s/PWGLF", location));
12 gProof->AddIncludePath(Form("%s/PWGLF/SPECTRA/ChargedHadrons/dNdPt", location));
4fa29112 13 gProof->AddIncludePath(Form("%s/ANALYSIS", location));
14
15 gProof->AddDynamicPath(Form("%s/lib/tgt_linuxx8664gcc", location));
16
17 // load all libraries
91326969 18 gProof->Exec("gROOT->Macro(\"$ALICE_ROOT/PWGLF/SPECTRA/ChargedHadrons/dNdPt/macros/LoadMyLibs.C\")",kTRUE);
4fa29112 19}