From e5ae8be8f99b7798ccdf80a789f20f801d49581d Mon Sep 17 00:00:00 2001
From: Fernando Torales Acosta <ftorales@borax2.llnl.gov>
Date: Mon, 22 Aug 2022 15:37:43 -0700
Subject: [PATCH] small edits for slurm

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

diff --git a/benchmarks/clustering/full_cal_clusters.sh b/benchmarks/clustering/full_cal_clusters.sh
index a9b440ae..56722b26 100755
--- a/benchmarks/clustering/full_cal_clusters.sh
+++ b/benchmarks/clustering/full_cal_clusters.sh
@@ -12,6 +12,7 @@ function print_the_help {
   echo "    -n,--nevents     Number of events"
   echo "    -t,--nametag     name tag"
   echo "    -p,--particle    particle type"
+  echo "    -o,--outputdir   output directory for reco,gen, and hepmc files"
   echo "    --pmin           minimum particle momentum (GeV)"
   echo "    --pmax           maximum particle momentum (GeV)"
   echo "                     allowed types: pion0, pion+, pion-, kaon0, kaon+, kaon-, proton, neutron, electron, positron, photon"
@@ -38,6 +39,11 @@ do
       shift # past argument
       shift # past value
       ;;
+    -o|--outputdir)
+      outputdir="$2"
+      shift # past argument
+      shift # past value
+      ;;
     -n|--nevents)
       export JUGGLER_N_EVENTS="$2"
       shift # past argument
-- 
GitLab