]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - test/generators/therminator/runtest.sh
Adding tests for different generators (Natalia)
[u/mrichter/AliRoot.git] / test / generators / therminator / runtest.sh
diff --git a/test/generators/therminator/runtest.sh b/test/generators/therminator/runtest.sh
new file mode 100755 (executable)
index 0000000..4b69e14
--- /dev/null
@@ -0,0 +1,30 @@
+#!/bin/sh
+# Root
+# export ROOTSYS=/afs/cern.ch/alice/library/root/new
+# export PATH=$ROOTSYS/bin:$PATH
+# export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
+# AliRoot
+# export ALICE=/afs/cern.ch/alice/library
+# export ALICE_LEVEL=new
+# export ALICE_ROOT=$ALICE/$ALICE_LEVEL
+# export ALICE_TARGET=`$ROOTSYS/bin/root-config --arch`
+# export PATH=$ALICE_ROOT/bin/tgt_${ALICE_TARGET}:$PATH
+# export LD_LIBRARY_PATH=$ALICE_ROOT/lib/tgt_${ALICE_TARGET}:$LD_LIBRARY_PATH
+# Geant3
+# export LD_LIBRARY_PATH=$ALICE/geant3/lib/tgt_${ALICE_TARGET}:$LD_LIBRARY_PATH
+
+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
+
+cd recraw
+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
+
+
+