Commit c176fe96 authored by Lucas Mello Schnorr's avatar Lucas Mello Schnorr
Browse files

use env var + continue command

parent 165fdb61
...@@ -142,11 +142,16 @@ elif [ "$DEFAULT_ANIMATION" = "false" ]; then ...@@ -142,11 +142,16 @@ elif [ "$DEFAULT_ANIMATION" = "false" ]; then
################################################# #################################################
for EVENT_ID in "$(seq ${FIRST_EVENT} ${LAST_EVENT})"; do for EVENT_ID in "$(seq ${FIRST_EVENT} ${LAST_EVENT})"; do
echo $EVENT_ID echo $EVENT_ID
###############################################
# Phase 1: aliroot extract data from an event #
###############################################
aliroot -q -b "runAnalysis.C(${EVENT_ID})" aliroot -q -b "runAnalysis.C(${EVENT_ID})"
ESD_DETAIL=${ALIROOT_SCRIPT_DIR}/esd-detail.dat if ! [[ -f "$FILE_WITH_DATA" ]]
if ! [[ -f "$ESD_DETAIL" ]]
then then
echo "ERROR: aliRoot analysis on event ${EVENT_ID} went wrong." echo "WARNING: aliRoot extraction for event ${EVENT_ID} went wrong."
echo "We are ignoring this and proceed to next event."
continue
fi fi
############################## ##############################
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment