From aa256676a44aefccc3121f640725169da056b362 Mon Sep 17 00:00:00 2001
From: Tooba Ali <alit1@myumanitoba.ca>
Date: Thu, 1 Jun 2023 20:39:19 +0000
Subject: [PATCH] copy ${REC_FILE} to ${RESULTS_PATH} for all number of events

---
 benchmarks/dis/dis.sh | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/benchmarks/dis/dis.sh b/benchmarks/dis/dis.sh
index c537d35a..80c4df89 100755
--- a/benchmarks/dis/dis.sh
+++ b/benchmarks/dis/dis.sh
@@ -80,6 +80,7 @@ fi
 ## =============================================================================
 ## Step 3: Run digitization & reconstruction
 echo "Running the digitization and reconstruction"
+rm fieldmaps
 if [ ${RECO} == "eicrecon" ] ; then
   /usr/bin/time -v eicrecon ${SIM_FILE} -Ppodio:output_file=${REC_FILE}
   if [ "$?" -ne "0" ] ; then
@@ -139,11 +140,11 @@ fi
 ## Step 5: finalize
 echo "Finalizing DIS benchmark"
 
-## Move over reconsturction artifacts as long as we don't have
-## too many events
-if [ "${JUGGLER_N_EVENTS}" -lt "500" ] ; then 
-  cp ${REC_FILE} ${RESULTS_PATH}
-fi
+## Move over reconsturction artifacts 
+# as long as we don't have too many events
+# if [ "${JUGGLER_N_EVENTS}" -lt "500" ] ; then 
+cp ${REC_FILE} ${RESULTS_PATH}
+# fi
 
 ## =============================================================================
 ## All done!
-- 
GitLab