2 void ProofEnableAliRoot(const char* location = "/usr/local/grid/AliRoot/v4-05-Release")
4 // enables a locally deployed AliRoot in a PROOF cluster
6 printf("Load libraries: %s \n",location);
7 gProof->Exec(Form("TString str(gSystem->ExpandPathName(\"%s\")); gSystem->Setenv(\"ALICE_ROOT\", str);", location), kTRUE);
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));
15 gProof->AddDynamicPath(Form("%s/lib/tgt_linuxx8664gcc", location));
18 gProof->Exec("gROOT->Macro(\"$ALICE_ROOT/PWG0/dNdPt/macros/LoadMyLibs.C\")",kTRUE);