From 53f6d4a6758e9f7cd460fb1a5862fdcccec69afd Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Fri, 7 Oct 2022 00:58:54 +0000 Subject: [PATCH] feat: gaudirun to eicrecon for tracking benchmarks --- benchmarks/tracking/central_electrons.sh | 7 +++---- benchmarks/tracking/central_pions.sh | 7 +++---- benchmarks/tracking/multiple_tracks.sh | 7 +++---- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/benchmarks/tracking/central_electrons.sh b/benchmarks/tracking/central_electrons.sh index d3c3cace..1a6e9c2a 100644 --- a/benchmarks/tracking/central_electrons.sh +++ b/benchmarks/tracking/central_electrons.sh @@ -97,10 +97,9 @@ rootls -t ${JUGGLER_SIM_FILE} if [[ -z "${ANALYSIS_ONLY}" ]] ; then - # Need to figure out how to pass file name to juggler from the commandline - gaudirun.py benchmarks/tracking/options/track_reconstruction.py - if [[ "$?" -ne "0" ]] ; then - echo "ERROR running juggler" + JANA_HOME=/usr/local/lib/EICrecon eicrecon -Ppodio:output_file=${JUGGLER_REC_FILE} ${JUGGLER_SIM_FILE} + if [ "$?" -ne "0" ] ; then + echo "ERROR running eicrecon" exit 1 fi fi diff --git a/benchmarks/tracking/central_pions.sh b/benchmarks/tracking/central_pions.sh index 587ec115..f3b3d4ff 100644 --- a/benchmarks/tracking/central_pions.sh +++ b/benchmarks/tracking/central_pions.sh @@ -96,10 +96,9 @@ rootls -t ${JUGGLER_SIM_FILE} if [[ -z "${ANALYSIS_ONLY}" ]] ; then - # Need to figure out how to pass file name to juggler from the commandline - gaudirun.py benchmarks/tracking/options/track_reconstruction.py - if [[ "$?" -ne "0" ]] ; then - echo "ERROR running juggler" + JANA_HOME=/usr/local/lib/EICrecon eicrecon -Ppodio:output_file=${JUGGLER_REC_FILE} ${JUGGLER_SIM_FILE} + if [ "$?" -ne "0" ] ; then + echo "ERROR running eicrecon" exit 1 fi fi diff --git a/benchmarks/tracking/multiple_tracks.sh b/benchmarks/tracking/multiple_tracks.sh index 11500869..ec072a5b 100644 --- a/benchmarks/tracking/multiple_tracks.sh +++ b/benchmarks/tracking/multiple_tracks.sh @@ -97,10 +97,9 @@ rootls -t ${JUGGLER_SIM_FILE} if [[ -z "${ANALYSIS_ONLY}" ]] ; then - # Need to figure out how to pass file name to juggler from the commandline - gaudirun.py benchmarks/tracking/options/track_reconstruction.py - if [[ "$?" -ne "0" ]] ; then - echo "ERROR running juggler" + JANA_HOME=/usr/local/lib/EICrecon eicrecon -Ppodio:output_file=${JUGGLER_REC_FILE} ${JUGGLER_SIM_FILE} + if [ "$?" -ne "0" ] ; then + echo "ERROR running eicrecon" exit 1 fi fi -- GitLab