17 lines
485 B
Bash
17 lines
485 B
Bash
|
|
#!/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
|