Added run script. Change values if needed
This commit is contained in:
parent
eccdc31423
commit
19bd325801
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
source /opt/geant4/bin/geant4.sh
|
||||
source /opt/root/bin/thisroot.sh
|
||||
|
||||
tube=5
|
||||
cone=-10
|
||||
|
||||
echo "tube: $i cone: 0"
|
||||
./medtech -s 100 -t $tube -c $cone
|
|
@ -0,0 +1,33 @@
|
|||
#!/bin/bash
|
||||
|
||||
source /opt/geant4/bin/geant4.sh
|
||||
source /opt/root/bin/thisroot.sh
|
||||
|
||||
cstart=-30
|
||||
cend=30
|
||||
cstep=5
|
||||
|
||||
tstart=5
|
||||
tend=25
|
||||
tstep=5
|
||||
|
||||
#all=$((($tend-$tstart)/$tstep)*(($cend-$cstart)/$cstep))
|
||||
#all=$((($tend-$tstart)/$tstep*($cend-$cstart)/$cstep))
|
||||
|
||||
echo "$cstart $cend $cstep $tstart $tend $tstep //(cone)start end step (tube)start end step" > start.txt
|
||||
echo "$all //all step" >> start.txt
|
||||
|
||||
#for i in {$((start))..$((end))}
|
||||
#do
|
||||
# echo "tube: 10 cone: $i"
|
||||
#./medtech -s 100 -t 10 -c $i
|
||||
#done
|
||||
|
||||
for ((i=cstart; i<cend+1; i+=cstep));
|
||||
do
|
||||
for ((j=tstart; j<tend+1; j+=tstep));
|
||||
do
|
||||
./medtech -s 100 -t $j -c $i
|
||||
echo "tube: $j cone: $i"
|
||||
done
|
||||
done
|
Loading…
Reference in New Issue