]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - test/ppbench/sim.C
QA ref defaut storage setter in sim and rec
[u/mrichter/AliRoot.git] / test / ppbench / sim.C
index a989354ee01ded817c562fc26dfdb2a7b6814ecb..c88e6d90e0d43db278ab795d810650f653f91a26 100644 (file)
@@ -1,6 +1,7 @@
 void sim(Int_t nev=20) {
   if (gSystem->Getenv("EVENT"))
    nev = atoi(gSystem->Getenv("EVENT")) ;   
 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");
   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.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
   simulator.SetSpecificStorage("GRP/GRP/Data",
                               Form("local://%s",gSystem->pwd()));
+  
   simulator.SetRunQA("ALL:ALL") ; 
   simulator.SetRunQA("ALL:ALL") ; 
-  AliQA::SetQARefStorage("local://$ALICE_ROOT/QAref") ;
   
   
+  simulator.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
+
   for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
     simulator.SetQACycles(det, nev+1) ;
   }
   for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
     simulator.SetQACycles(det, nev+1) ;
   }