correct for the reconstruction of raw
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Feb 2009 11:31:48 +0000 (11:31 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Feb 2009 11:31:48 +0000 (11:31 +0000)
test/ppbench/recraw.C [new file with mode: 0644]

diff --git a/test/ppbench/recraw.C b/test/ppbench/recraw.C
new file mode 100644 (file)
index 0000000..801a493
--- /dev/null
@@ -0,0 +1,25 @@
+void recraw() {
+  AliReconstruction reco;
+
+  reco.SetWriteESDfriend();
+  reco.SetWriteAlignmentData();
+  reco.SetInput("raw.root");
+  reco.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
+  reco.SetSpecificStorage("GRP/GRP/Data",
+                         Form("local://%s",gSystem->pwd()));
+
+  reco.SetRunQA("ALL:ALL") ;
+  
+  AliQA::SetQARefStorage("local://$ALICE_ROOT/OCDB") ;
+  
+  for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
+    reco.SetQACycles(det, 999) ;
+    reco.SetQAWriteExpert(det) ; 
+  }
+  
+  TStopwatch timer;
+  timer.Start();
+  reco.Run();
+  timer.Stop();
+  timer.Print();
+}