Skip to content
Snippets Groups Projects
Commit abcdc1f8 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Skip draw clusters for ecce if not imaging

parent d00d0bc1
No related branches found
No related tags found
1 merge request!252Fixes to benchmarks to run with ecce:main
...@@ -127,18 +127,21 @@ for iev in "${ADDR[@]}"; do ...@@ -127,18 +127,21 @@ for iev in "${ADDR[@]}"; do
continue continue
fi fi
python ${CB_EMCAL_SCRIPT_DIR}/draw_cluster_layers.py \ if [[ ${JUGGLER_DETECTOR} =~ athena
${CB_EMCAL_REC_FILE} -e ${iev} --topo-size=1.0 --compact=${CB_EMCAL_COMPACT_PATH} -o results/${particle} || ${JUGGLER_DETECTOR} =~ ecce && ${JUGGLER_DETECTOR_CONFIG} =~ imaging ]] ; then
if [[ "$?" -ne "0" ]] ; then python ${CB_EMCAL_SCRIPT_DIR}/draw_cluster_layers.py \
echo "ERROR running analysis script: draw_cluster_layers" ${CB_EMCAL_REC_FILE} -e ${iev} --topo-size=1.0 --compact=${CB_EMCAL_COMPACT_PATH} -o results/${particle}
exit 1 if [[ "$?" -ne "0" ]] ; then
fi echo "ERROR running analysis script: draw_cluster_layers"
exit 1
python ${CB_EMCAL_SCRIPT_DIR}/draw_cluster.py \ fi
${CB_EMCAL_REC_FILE} -e ${iev} --topo-size=2.0 --compact=${CB_EMCAL_COMPACT_PATH} -o results/${particle}
if [[ "$?" -ne "0" ]] ; then python ${CB_EMCAL_SCRIPT_DIR}/draw_cluster.py \
echo "ERROR running analysis script: draw_cluster" ${CB_EMCAL_REC_FILE} -e ${iev} --topo-size=2.0 --compact=${CB_EMCAL_COMPACT_PATH} -o results/${particle}
exit 1 if [[ "$?" -ne "0" ]] ; then
echo "ERROR running analysis script: draw_cluster"
exit 1
fi
fi fi
done done
......
...@@ -128,18 +128,21 @@ for iev in "${ADDR[@]}"; do ...@@ -128,18 +128,21 @@ for iev in "${ADDR[@]}"; do
continue continue
fi fi
python ${CB_EMCAL_SCRIPT_DIR}/draw_cluster_layers.py \ if [[ ${JUGGLER_DETECTOR} =~ athena
${CB_EMCAL_REC_FILE} -e ${iev} --topo-size=1.0 --compact=${CB_EMCAL_COMPACT_PATH} -o results/${particle} || ${JUGGLER_DETECTOR} =~ ecce && ${JUGGLER_DETECTOR_CONFIG} =~ imaging ]] ; then
if [[ "$?" -ne "0" ]] ; then python ${CB_EMCAL_SCRIPT_DIR}/draw_cluster_layers.py \
echo "ERROR running analysis script: draw_cluster_layers" ${CB_EMCAL_REC_FILE} -e ${iev} --topo-size=1.0 --compact=${CB_EMCAL_COMPACT_PATH} -o results/${particle}
exit 1 if [[ "$?" -ne "0" ]] ; then
fi echo "ERROR running analysis script: draw_cluster_layers"
exit 1
python ${CB_EMCAL_SCRIPT_DIR}/draw_cluster.py \ fi
${CB_EMCAL_REC_FILE} -e ${iev} --topo-size=2.0 --compact=${CB_EMCAL_COMPACT_PATH} -o results/${particle}
if [[ "$?" -ne "0" ]] ; then python ${CB_EMCAL_SCRIPT_DIR}/draw_cluster.py \
echo "ERROR running analysis script: draw_cluster" ${CB_EMCAL_REC_FILE} -e ${iev} --topo-size=2.0 --compact=${CB_EMCAL_COMPACT_PATH} -o results/${particle}
exit 1 if [[ "$?" -ne "0" ]] ; then
echo "ERROR running analysis script: draw_cluster"
exit 1
fi
fi fi
done done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment