Added some more scripts
[u/mrichter/AliRoot.git] / PWG2 / FORWARD / analysis2 / scripts / LoadPars.C
CommitLineData
ab0f914c 1/**
2 * Set-up for a PROOF analysis job. Make TProof object and load pars.
3 *
4 */
5void
6LoadPars()
7{
8 TProof::Open("workers=2");
9 const char* pkgs[] = { "STEERBase", "ESD", "AOD", "ANALYSIS",
10 "ANALYSISalice", "PWG2forward2", 0};
11 const char** pkg = pkgs;
12 while (*pkg) {
13 gProof->UploadPackage(Form("${ALICE_ROOT}/%s.par",*pkg));
14 gProof->EnablePackage(*pkg);
15 pkg++;
16 }
17}
18//
19// EOF
20//