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

Loop over rec options; don't compile analysis

parent a74f0467
No related branches found
No related tags found
1 merge request!80Single simulation test on standard reconstruction
This commit is part of merge request !80. Comments created here will be created in the context of that merge request.
......@@ -24,14 +24,18 @@ if [[ "$?" -ne "0" ]] ; then
fi
# Reconstruct
gaudirun.py options/reconstruction.py
for rec in options/*.py ; do
unset tag
[[ $(basename ${rec} .py) =~ (.*)\.(.*) ]] && tag=".${BASH_REMATCH[2]}"
JUGGLER_REC_FILE=${JUGGLER_REC_FILE/.root/${tag:-}.root} \
if [[ "$?" -ne "0" ]] ; then
echo "ERROR running juggler"
exit 1
fi
done
# Analysis
root -l -b -q "benchmarks/single/analysis/analyze.cxx+(\"${JUGGLER_REC_FILE}\")"
root -l -b -q "benchmarks/single/analysis/analyze.cxx(\"${JUGGLER_REC_FILE}\")"
if [[ "$?" -ne "0" ]] ; then
echo "ERROR analysis failed"
exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment