4 if [ "$1" == "-local" ] && [ ! -z $2 ]
15 echo "Reconstructing into reco/local/run$2 and redirecting output to the file reco/local/run$2/stdout"
17 unbuffer aliroot -q ../../rec.C\($2,$nev,$fev\) 2>&1 | tee stdout
21 if [ "$1" != "-force" ]
23 pgrep aliroot > /dev/null
26 echo "Error: You can only start one rec.sh at a time. Please wait for the other session to terminate or close it."
33 [ -z $1 ] && { echo "Usage: rec.sh [-local] <run_number>"; exit 1; }
39 aliroot -q run.C\($1,$nev,$fev\)