Recover the AOD test
[u/mrichter/AliRoot.git] / test / pileup / aod.C
index a87c0b34b1b1ebb75bfc856c3cf199ec2d4bd91c..64e6aae0f5ab7bad93b5aea47ddca39de2896bbc 100644 (file)
@@ -1,16 +1,19 @@
 void aod(){
-  if (!strcmp(gSystem->GetBuildArch(),"win32gcc")) {
-    gSystem->Load("libProof");
-    gSystem->Load("libGui");
-    gROOT->Macro("loadlibs.C");
-    new AliRun("gAlice","The ALICE Off-line Simulation Framework");
-  }
-
   gSystem->Load("liblhapdf");      // Parton density functions
   gSystem->Load("libEGPythia6");   // TGenerator interface
   gSystem->Load("libpythia6");     // Pythia
   gSystem->Load("libAliPythia6");  // ALICE specific implementations
   gSystem->Load("libdpmjet");
   gSystem->Load("libTDPMjet");
-  gROOT->Macro("$ALICE_ROOT/STEER/CreateAODfromESD.C");
+  gSystem->Load("libANALYSIS");
+  gSystem->Load("libANALYSISalice");
+  gSystem->Load("libCORRFW");
+  gSystem->Load("libPWGHFbase");
+  gSystem->Load("libPWGmuon");
+  gSystem->Load("libESDfilter");
+  gSystem->Load("libTENDER");
+  gSystem->Load("libPWGPP");
+
+  gROOT->Macro("${ALICE_ROOT}/STEER/CreateAODfromESD.C(\"AliESDs.root\",\"AliAODs.root\",\"local://$ALICE_ROOT/OCDB\",\"local://.\")");
 }