From 22ce7c763f26ca2c3d161992e420886b21360d2f Mon Sep 17 00:00:00 2001 From: Whitney Armstrong <warmstrong@anl.gov> Date: Tue, 20 Apr 2021 21:33:57 -0500 Subject: [PATCH] modified: roman_pot_simu.sh --- benchmarks/roman_pots/roman_pot_simu.sh | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/benchmarks/roman_pots/roman_pot_simu.sh b/benchmarks/roman_pots/roman_pot_simu.sh index 4520c52d..ca29f180 100755 --- a/benchmarks/roman_pots/roman_pot_simu.sh +++ b/benchmarks/roman_pots/roman_pot_simu.sh @@ -1,6 +1,19 @@ #!/bin/bash +if [[ ! -n "${JUGGLER_DETECTOR}" ]] ; then + export JUGGLER_DETECTOR="topside" +fi + +if [[ ! -n "${JUGGLER_N_EVENTS}" ]] ; then + export JUGGLER_N_EVENTS=1000 +fi + ddsim --runType batch -N 300 \ + +npsim --runType batch \ + -v WARNING \ + --part.minimalKineticEnergy 0.5*GeV \ + --numberOfEvents ${JUGGLER_N_EVENTS} \ + --compactFile ${DETECTOR_PATH}/${JUGGLER_DETECTOR}.xml \ --inputFiles ./data/forward_ions.hepmc \ - --compactFile benchmarks/trackers/roman_pot.xml \ - --outputFile ./sim_output/roman_pot_out.root + --outputFile sim_output/${JUGGLER_SIM_FILE} -- GitLab