synchronized with ppbench
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 20 Feb 2009 15:22:08 +0000 (15:22 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 20 Feb 2009 15:22:08 +0000 (15:22 +0000)
test/PbPbbench/rec.C
test/PbPbbench/recraw.C [new file with mode: 0644]
test/PbPbbench/runtest.sh
test/PbPbbench/sim.C

index 7d4db5568b6a9ec9b47b6e5edf20c89104b62fef..c9c881a73c29421b67abcc7777144547eaea4ee5 100644 (file)
@@ -9,7 +9,7 @@ void rec() {
                          Form("local://%s",gSystem->pwd()));
   reco.SetRunQA("ALL:ALL") ;
   
-  AliQA::SetQARefStorage("local://$ALICE_ROOT/OCDB") ;
+  AliQA::SetQARefStorage("local://$ALICE_ROOT/QAref") ;
   
   for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
     reco.SetQACycles(det, 999) ;
diff --git a/test/PbPbbench/recraw.C b/test/PbPbbench/recraw.C
new file mode 100644 (file)
index 0000000..6bad063
--- /dev/null
@@ -0,0 +1,24 @@
+void rec() {
+  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/QAref") ;
+  
+  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 df9ae9f110b8e256d2f9c18fa148191b150040e7..38641e75332a1a671388676a3d0bf843e48ff747 100755 (executable)
@@ -23,7 +23,8 @@ if [ ! -e recraw ] ; then
 fi
 cd recraw
 ln -s ../raw.root
-aliroot -b -q rec.C      2>&1 | tee rec.log
+ln -s ../GRP
+aliroot -b -q recraw.C      2>&1 | tee rec.log
 aliroot -b -q ${ALICE_ROOT}/STEER/CreateAODfromESD.C 2>&1 | tee aod.log
 
 
index 6cbe042efa545e257e02a61c7de3a2567cef2fae..2918ddcda28dee6b181c27c047be23e3056c0220 100644 (file)
@@ -8,7 +8,7 @@ void sim(Int_t nev=1) {
   simulator.SetSpecificStorage("GRP/GRP/Data",
                               Form("local://%s",gSystem->pwd()));
   simulator.SetRunQA("ALL:ALL") ; 
-  AliQA::SetQARefStorage("local://$ALICE_ROOT/OCDB") ;
+  AliQA::SetQARefStorage("local://$ALICE_ROOT/QAref") ;
   
   for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
     simulator.SetQACycles(det, nev+1) ;