File indexing completed on 2025-01-18 10:18:38
0001
0002 source strict-mode.sh
0003
0004 source benchmarks/your_benchmark/setup.config $*
0005
0006 if [ -f ${INPUT_FILE} ]; then
0007 echo "ERROR: Input simulation file ${INPUT_FILE} does not exist."
0008 else
0009 echo "GOOD: Input simulation file ${INPUT_FILE} exists!"
0010 fi
0011
0012
0013 ddsim --runType batch \
0014 -v WARNING \
0015 --numberOfEvents ${N_EVENTS} \
0016 --part.minimalKineticEnergy 100*GeV \
0017 --filter.tracker edep0 \
0018 --compactFile ${DETECTOR_PATH}/${DETECTOR_CONFIG}.xml \
0019 --inputFiles ${INPUT_FILE} \
0020 --outputFile ${OUTPUT_FILE}
0021 if [[ "$?" -ne "0" ]] ; then
0022 echo "ERROR running ddsim"
0023 exit 1
0024 fi