]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - test/ppbench/sim.C
New ResetDetector method required by AMORE
[u/mrichter/AliRoot.git] / test / ppbench / sim.C
index 8749c865236ab8bd56fc8b98c0cf90a45b0760c1..c88e6d90e0d43db278ab795d810650f653f91a26 100644 (file)
@@ -1,6 +1,7 @@
 void sim(Int_t nev=20) {
   if (gSystem->Getenv("EVENT"))
    nev = atoi(gSystem->Getenv("EVENT")) ;   
+  
   AliSimulation simulator;
   simulator.SetMakeSDigits("TRD TOF PHOS HMPID EMCAL MUON FMD ZDC PMD T0 VZERO");
   simulator.SetMakeDigitsFromHits("ITS TPC");
@@ -9,9 +10,11 @@ void sim(Int_t nev=20) {
   simulator.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
   simulator.SetSpecificStorage("GRP/GRP/Data",
                               Form("local://%s",gSystem->pwd()));
+  
   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) ;
   }