]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - test/ppbench/sim.C
Corrected library names and paths to macros
[u/mrichter/AliRoot.git] / test / ppbench / sim.C
index 65f9234609749de885ad3aef257f23fea8548af1..0095afad7be8e68c92af01a403c2dac9b324eaa3 100644 (file)
@@ -1,4 +1,13 @@
-void sim(Int_t nev=1) {
+void sim(Int_t nev=20) {
+
+  gSystem->Load("liblhapdf");
+  gSystem->Load("libEGPythia6");
+  gSystem->Load("libpythia6");
+  gSystem->Load("libAliPythia6");
+  gSystem->Load("libHIJING");
+  gSystem->Load("libTHijing");
+  gSystem->Load("libgeant321");
+
   if (gSystem->Getenv("EVENT"))
    nev = atoi(gSystem->Getenv("EVENT")) ;   
   
@@ -16,7 +25,7 @@ void sim(Int_t nev=1) {
   simulator.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
 
   for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
-    simulator.SetQACycles(det, nev+1) ;
+    simulator.SetQACycles((AliQAv1::DETECTORINDEX_t)det, nev+1) ;
   }
   
   TStopwatch timer;