New class for common functions of D2H analyses (not yet included in compilation)
[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));
11 gProof->AddIncludePath(Form("%s/PWG0", location));
12 gProof->AddIncludePath(Form("%s/PWG0/dNdPt", location));
13 gProof->AddIncludePath(Form("%s/ANALYSIS", location));
14
15 gProof->AddDynamicPath(Form("%s/lib/tgt_linuxx8664gcc", location));
16
17 // load all libraries
18 gProof->Exec("gROOT->Macro(\"$ALICE_ROOT/PWG0/dNdPt/macros/LoadMyLibs.C\")",kTRUE);
19}
20
21