]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Adding reconstruction of raw data
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 20 Apr 2007 08:21:50 +0000 (08:21 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 20 Apr 2007 08:21:50 +0000 (08:21 +0000)
test/gun/GetESD.sh
test/gun/sim.C

index 765037cc79d59167c0e5b24a7a3ff42553a30c9d..ce8b4042e05fcd875273dbe1104bb66ec1dbd546 100755 (executable)
 # Geant3
 # export LD_LIBRARY_PATH=$ALICE/geant3/lib/tgt_${ALICE_TARGET}:$LD_LIBRARY_PATH
 
-rm -rf *.root *.dat *.log fort* hlt hough *raw*
+rm -rf *.root *.dat *.log fort* hlt hough raw* recraw/*.root recraw/*.log
 aliroot -b -q sim.C      2>&1 | tee sim.log
 aliroot -b -q rec.C      2>&1 | tee rec.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
 
-
+cd recraw
+ln -s ../geometry.root
+ln -s ../raw.root
+aliroot -b -q rec.C      2>&1 | tee rec.log
+aliroot -b -q ${ALICE_ROOT}/STEER/CreateAODfromESD.C 2>&1 | tee aod.log
 
index 176009327705ddd7c52183a7898412c16e216e28..ef1e7d20279a44715f223eb6e42ff99188cd5178 100644 (file)
@@ -2,7 +2,7 @@ void sim(Int_t nev=4) {
   AliSimulation simulator;
   simulator.SetMakeSDigits("TRD TOF PHOS HMPID EMCAL MUON FMD ZDC PMD T0 VZERO");
   simulator.SetMakeDigitsFromHits("ITS TPC");
-  //  simulator.SetWriteRawData("ALL","raw.root",kTRUE);
+  simulator.SetWriteRawData("ALL","raw.root",kTRUE);
 
   TStopwatch timer;
   timer.Start();