ANASEN_analysis/scratch/phiscan.sh

12 lines
260 B
Bash

declare -i i=-7
while [[ $i -lt 3 ]]; do
echo "offset_c1 = -4*k +"$i"*k - TMath::TwoPi()/48;" > testing.h
cd ..
bash run_sx3.sh
j=$(echo $i+3 | bc)
cp results_run12.root results_run12case$j.root
cd -
i=i+1
done
echo "" > testing.h