enabled QA
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 28 Jan 2009 08:51:08 +0000 (08:51 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 28 Jan 2009 08:51:08 +0000 (08:51 +0000)
test/ppbench/rec.C
test/ppbench/sim.C

index 6da03f96cafd79b7caeaccf1055a8b95a36d458b..f44ec250c37f933f973fc695fe2df0d83cfd9cb5 100644 (file)
@@ -8,6 +8,15 @@ void rec() {
   reco.SetSpecificStorage("GRP/GRP/Data",
                          Form("local://%s",gSystem->pwd()));
 
   reco.SetSpecificStorage("GRP/GRP/Data",
                          Form("local://%s",gSystem->pwd()));
 
+  reco.SetRunQA("ALL:ALL") ;
+  
+  AliQA::SetQARefStorage("local://$ALICE_ROOT") ;
+  
+  for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
+    reco.SetQACycles(det, 999) ;
+    reco.SetQAWriteExpert(det) ; 
+  }
+  
   TStopwatch timer;
   timer.Start();
   reco.Run();
   TStopwatch timer;
   timer.Start();
   reco.Run();
index 8cc6a254a2ca7766a2f3f2738469fc8ed90d6b3b..bdeb38dfde4ec3e50d034d59ed4032c82b47242b 100644 (file)
@@ -7,7 +7,13 @@ void sim(Int_t nev=20) {
   simulator.SetDefaultStorage("local://$ALICE_ROOT");
   simulator.SetSpecificStorage("GRP/GRP/Data",
                               Form("local://%s",gSystem->pwd()));
   simulator.SetDefaultStorage("local://$ALICE_ROOT");
   simulator.SetSpecificStorage("GRP/GRP/Data",
                               Form("local://%s",gSystem->pwd()));
+  simulator.SetRunQA("ALL:ALL") ; 
+  AliQA::SetQARefStorage("local://$ALICE_ROOT") ;
+  
+  for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
+    simulator.SetQACycles(det, nev+1) ;
+  }
+  
   TStopwatch timer;
   timer.Start();
   simulator.Run(nev);
   TStopwatch timer;
   timer.Start();
   simulator.Run(nev);