diff --git a/benchmarks/roman_pots/roman_pot_simu.sh b/benchmarks/roman_pots/roman_pot_simu.sh index 4520c52d59dbf5412e5023f8e4aa57bd0e1dde39..ca29f1809d93a4d2c93480303cf3bfb748e6d5b4 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}