]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
recraw.C removed, using recraw/rec.C instead. Restoring the original test layout
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Mar 2009 13:52:19 +0000 (13:52 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Mar 2009 13:52:19 +0000 (13:52 +0000)
test/ppbench/recraw.C [deleted file]
test/ppbench/recraw/rec.C
test/ppbench/runtest.sh

diff --git a/test/ppbench/recraw.C b/test/ppbench/recraw.C
deleted file mode 100644 (file)
index 801a493..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-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();
-}
index 0e035a40213a22000e2e91f70da107ba8bc7e6af..d8afb2415ca3b8aec43dae811666d44a603e371c 100644 (file)
@@ -14,6 +14,15 @@ void rec() {
   reco.SetSpecificStorage("GRP/GRP/Data",
                          Form("local://%s/..",gSystem->pwd()));
 
+  reco.SetRunQA("ALL:ALL") ;
+  
+  AliQA::SetQARefStorage("local://$ALICE_ROOT/QAref") ;
+  
+  for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
+    reco.SetQACycles(det, 999) ;
+    reco.SetQAWriteExpert(det) ; 
+  }
+
   TStopwatch timer;
   timer.Start();
   reco.Run();
index 797b7db9d28844fa868fa36dae3ca17cd6e1a256..4b69e143f33eaf08becb4796516348d99f64fbad 100755 (executable)
 
 rm -rf *.root *.dat *.log fort* hlt hough raw* recraw/*.root recraw/*.log
 aliroot -b -q $1sim.C      2>&1 | tee sim.log
+mv syswatch.log simwatch.log
 aliroot -b -q $1rec.C      2>&1 | tee rec.log
+mv syswatch.log recwatch.log
 aliroot -b -q ${ALICE_ROOT}/STEER/CheckESD.C 2>&1 | tee check.log
 aliroot -b -q ${ALICE_ROOT}/STEER/CreateAODfromESD.C 2>&1 | tee aod.log
 
-if [ ! -e recraw ] ; then 
- mkdir recraw
-fi
 cd recraw
 ln -s ../raw.root
-ln -s ../GRP
-aliroot -b -q ../recraw.C      2>&1 | tee rec.log
+aliroot -b -q rec.C      2>&1 | tee rec.log
 aliroot -b -q ${ALICE_ROOT}/STEER/CreateAODfromESD.C 2>&1 | tee aod.log