]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Do not use Root shell but bash to run the simulation and reconstruction
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 21 Apr 2008 13:28:30 +0000 (13:28 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 21 Apr 2008 13:28:30 +0000 (13:28 +0000)
test/pploadlibs/run.C [deleted file]
test/pploadlibs/runtest.sh [new file with mode: 0755]

diff --git a/test/pploadlibs/run.C b/test/pploadlibs/run.C
deleted file mode 100644 (file)
index 7ce1c3d..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-void run() 
-{
-  TStopwatch timer;
-  timer.Start();
-  gSystem->Exec("root.exe -q sim.C > sim.log 2>&1");
-  gSystem->Exec("root.exe -q rec.C > rec.log 2>&1");
-  timer.Stop();
-  timer.Print();
-}
diff --git a/test/pploadlibs/runtest.sh b/test/pploadlibs/runtest.sh
new file mode 100755 (executable)
index 0000000..21d30cf
--- /dev/null
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+if [ "$ALICE_TARGET" = "win32gcc" ]
+    then
+    REXE=root_exe.exe
+else
+    REXE=root.exe
+fi
+
+rm -rf *.root *.dat *.log fort* hlt hough raw* *~
+
+${REXE} -b -q sim.C      2>&1 | tee sim.log
+${REXE} -b -q rec.C      2>&1 | tee rec.log
+${REXE} -b -q ${ALICE_ROOT}/STEER/CreateAODfromESD.C 2>&1 | tee aod.log
+
+
+
+