From 3d9221390991def61d48afdb48d0dfd2c0372c9a Mon Sep 17 00:00:00 2001
From: Chao Peng <cpeng@anl.gov>
Date: Tue, 4 May 2021 21:47:02 -0500
Subject: [PATCH] fix another typo

---
 benchmarks/sampling_ecal/sim_emcal_barrel_electrons.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/benchmarks/sampling_ecal/sim_emcal_barrel_electrons.sh b/benchmarks/sampling_ecal/sim_emcal_barrel_electrons.sh
index 67f22377..99935bdd 100644
--- a/benchmarks/sampling_ecal/sim_emcal_barrel_electrons.sh
+++ b/benchmarks/sampling_ecal/sim_emcal_barrel_electrons.sh
@@ -29,7 +29,8 @@ echo "CB_EMCAL_NUMEV = ${CB_EMCAL_NUMEV}"
 echo "CB_EMCAL_COMPACT_PATH = ${CB_EMCAL_COMPACT_PATH}"
 
 # Generate the input events
-python benchmarks/sampling_ecal/gen_particles.py ${CB_EMCAL_GEN_FILE} --angmin 90 --angmax 90 --parray ${CB_EMCAL_ENERGY} --particles 11
+python benchmarks/sampling_ecal/scripts/gen_particles.py ${CB_EMCAL_GEN_FILE} \
+    --angmin 90 --angmax 90 --parray ${CB_EMCAL_ENERGY} --particles="-11"
 if [[ "$?" -ne "0" ]] ; then
   echo "ERROR running script: generating input events"
   exit 1
-- 
GitLab