]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - test/PbPbbench/sim.C
Configurable when to add internally
[u/mrichter/AliRoot.git] / test / PbPbbench / sim.C
index 6cbe042efa545e257e02a61c7de3a2567cef2fae..4fe6586460cdc1f5a8ffa6995a01d65760ae9bfb 100644 (file)
@@ -1,4 +1,14 @@
 void sim(Int_t nev=1) {
+
+  gSystem->Load("liblhapdf");
+  gSystem->Load("libEGPythia6");
+  gSystem->Load("libpythia6");
+  gSystem->Load("libAliPythia6");
+  gSystem->Load("libgeant321");
+  
+  gSystem->Load("libhijing");
+  gSystem->Load("libTHijing");
+
   AliSimulation simulator;
   if (gSystem->Getenv("EVENT"))
    nev = atoi(gSystem->Getenv("EVENT")) ;   
@@ -7,11 +17,13 @@ void sim(Int_t nev=1) {
   simulator.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
   simulator.SetSpecificStorage("GRP/GRP/Data",
                               Form("local://%s",gSystem->pwd()));
+  simulator.SetSpecificStorage("VZERO/Calib/Data",
+                              "local://$ALICE_ROOT/OCDB/VZERO/PbPb");
   simulator.SetRunQA("ALL:ALL") ; 
-  AliQA::SetQARefStorage("local://$ALICE_ROOT/OCDB") ;
+  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;
   timer.Start();