File indexing completed on 2025-01-30 09:14:57
0001
0002
0003
0004
0005
0006
0007
0008 time_stamp=`date +%s%N`
0009 run_directory=propagation_timing_${time_stamp}
0010 mkdir ${run_directory}
0011 cd ${run_directory}
0012
0013 output_file='output.log'
0014
0015 magfield='--bf-map ../ATLASBField_xyz.root'
0016
0017
0018 echo "***************************************" > ${output_file}
0019 echo "* Test: $1" >> ${output_file}
0020 echo "* Events: $2" >> ${output_file}
0021 echo "* Tests/event: $300" >> ${output_file}
0022 echo "***************************************" >> ${output_file}
0023 echo "*"
0024 echo "* job | stepper | pt" >> ${output_file}
0025
0026 jobID=0
0027
0028
0029 for pt in 0.1 0.5 1.0 2.0 5.0 10.0 100.0 ; do
0030
0031 for stepper in {0..2} ; do
0032
0033
0034 executable="ActsExamplePropagation$1 -n$2 ${magfield} --prop-ntests $3 -j $4 --prop-pt-range ${pt} ${pt} --prop-stepper ${stepper} --output-root"
0035
0036 echo "${jobID}, ${stepper}, ${pt}" >> ${output_file}
0037 eval ${executable}
0038
0039
0040 mv timing.tsv timing_${jobID}.tsv
0041 mv propagation-steps.root propagation_steps_${jobID}.root
0042
0043
0044 let "jobID++"
0045
0046 done
0047 done