From 7fe0ac30a4a3f74dddfa56b84507b686a055e288 Mon Sep 17 00:00:00 2001
From: Whitney Armstrong <warmstrong@anl.gov>
Date: Mon, 23 Aug 2021 01:47:30 -0500
Subject: [PATCH] 	modified:  
 benchmarks/track_finding/multiple_tracks.sh

---
 benchmarks/track_finding/multiple_tracks.sh | 40 ++++++++++-----------
 1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/benchmarks/track_finding/multiple_tracks.sh b/benchmarks/track_finding/multiple_tracks.sh
index 096d0733..0ea376ef 100644
--- a/benchmarks/track_finding/multiple_tracks.sh
+++ b/benchmarks/track_finding/multiple_tracks.sh
@@ -54,26 +54,26 @@ export JUGGLER_REC_FILE="rec_${JUGGLER_FILE_NAME_TAG}.root"
 echo "JUGGLER_N_EVENTS = ${JUGGLER_N_EVENTS}"
 echo "JUGGLER_DETECTOR = ${JUGGLER_DETECTOR}"
 
-### generate the input events
-#root -b -q "benchmarks/track_finding/scripts/gen_multiple_tracks.cxx(${JUGGLER_N_EVENTS}, \"${JUGGLER_FILE_NAME_TAG}.hepmc\")"
-#if [[ "$?" -ne "0" ]] ; then
-#  echo "ERROR running script"
-#  exit 1
-#fi
-#
-#echo "Running geant4 simulation"
-### run geant4 simulations
-#npsim --runType batch \
-#  --part.minimalKineticEnergy 1000*GeV  \
-#  -v WARNING \
-#  --numberOfEvents ${JUGGLER_N_EVENTS} \
-#  --compactFile ${DETECTOR_PATH}/${JUGGLER_DETECTOR}.xml \
-#  --inputFiles  ${JUGGLER_FILE_NAME_TAG}.hepmc \
-#  --outputFile  ${JUGGLER_SIM_FILE}
-#if [[ "$?" -ne "0" ]] ; then
-#  echo "ERROR running script"
-#  exit 1
-#fi
+## generate the input events
+root -b -q "benchmarks/track_finding/scripts/gen_multiple_tracks.cxx(${JUGGLER_N_EVENTS}, \"${JUGGLER_FILE_NAME_TAG}.hepmc\")"
+if [[ "$?" -ne "0" ]] ; then
+  echo "ERROR running script"
+  exit 1
+fi
+
+echo "Running geant4 simulation"
+## run geant4 simulations
+npsim --runType batch \
+  --part.minimalKineticEnergy 1000*GeV  \
+  -v WARNING \
+  --numberOfEvents ${JUGGLER_N_EVENTS} \
+  --compactFile ${DETECTOR_PATH}/${JUGGLER_DETECTOR}.xml \
+  --inputFiles  ${JUGGLER_FILE_NAME_TAG}.hepmc \
+  --outputFile  ${JUGGLER_SIM_FILE}
+if [[ "$?" -ne "0" ]] ; then
+  echo "ERROR running script"
+  exit 1
+fi
 
 rootls -t ${JUGGLER_SIM_FILE}
 
-- 
GitLab