From 1506065684605b14c5e3eb03f9d7b43e9de33a4f Mon Sep 17 00:00:00 2001
From: Tooba Ali <alit1@myumanitoba.ca>
Date: Tue, 18 Oct 2022 15:46:30 +0000
Subject: [PATCH] include truth_reconstruction script in benchmarks/dis/dis.sh

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

diff --git a/benchmarks/dis/dis.sh b/benchmarks/dis/dis.sh
index 4b3fe736..e08fe30d 100755
--- a/benchmarks/dis/dis.sh
+++ b/benchmarks/dis/dis.sh
@@ -128,6 +128,12 @@ if [[ "$?" -ne "0" ]] ; then
   exit 1
 fi
 
+python benchmarks/dis/analysis/truth_reconstruction.py --rec_file ${REC_FILE} --ebeam ${EBEAM} --pbeam ${PBEAM} --minq2 ${MINQ2} --nevents ${JUGGLER_N_EVENTS}
+if [[ "$?" -ne "0" ]] ; then
+  echo "ERROR running truth_reconstruction script"
+  exit 1
+fi
+
 CONFIG="${TMP_PATH}/${PLOT_TAG}.raw.json"
 cat << EOF > ${CONFIG}
 {
-- 
GitLab