G4ava/runskripts/run_BGO_template.sh
2026-05-11 16:58:54 +02:00

17 lines
No EOL
485 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
echo "🚀 12 JOBS: 4 Teilchen × 3 Macros = 48 Energien!"
cd /home/et189/Geant4/G4ava/build/
mkdir -p outfiles logs
for particle in proton helium muon "e-"; do
for set in 1 2 3; do
echo "📊 BGO6cm_${particle}_${set}.mac"
./sim ../gdml/bgo_zylinder_6cm.gdml ../macros/BGO6cm_${particle}_${set}.mac > logs/${particle}_${set}.log 2>&1 &
done
done
echo "⏳ 12 Jobs laufen... (~25min)"
wait
echo "🎉 12.000 Events!"
ls -lh outfiles/*hits | wc -l