- Changed Kinematics.h to use TLorentzVector - doesn't affect Ex calculations at all - 27Al, 17F analyses fleshed out to identify vertexz regions sensitive to a, d, p ejectiles - Better handling of dE using detector hyperboloids, dE4 introduced. Marginal improvement over dE3. This is a function inside PC_Stepladder_Correction.h which needs to be renamed. - Anode-wire #23 seems to have disproportionally large # of counts compared to the other wires. - Move towards wire-wise dE/E gates. Not yet fully implemented. - This push sees some Ex plots that appear to be from (a,p) on 27Al(a,p). 17F(a,p) is a lot less clear-cut. - Updated beam starting energies to improved guesses, for p+a, 17F and 27Al data.
43 lines
1.5 KiB
Bash
43 lines
1.5 KiB
Bash
rm results_run*.root
|
|
export DATASET="17F"
|
|
export flip180="0"
|
|
export flipa=0
|
|
export reactiondata=1
|
|
export anode_offset=0
|
|
export pressure_in_torr=350
|
|
root -l -q -x -e ".L MakeVertex.C++g"
|
|
rm 17F_output/*.root
|
|
|
|
#17F reaction data
|
|
#declare -i run=231 #49
|
|
#while [[ $run -lt 258 ]]; do #392
|
|
# wrun=$(printf "%03d" $run)
|
|
# file_exists=$(test -f ../ANASEN_analysis/data/17F_Data/Run_"$wrun"_mapped.root)
|
|
# if [[ $file_exists -ne 0 ]]; then continue; fi
|
|
# root -q -l -b -x ../ANASEN_analysis/data/17F_Data/Run_"$wrun"_mapped.root -e 'tree->Process("MakeVertex.C+O")'; mv Analyzer_SX3.root results_run$wrun.root;
|
|
# run=run+1
|
|
#done
|
|
|
|
function run_once() {
|
|
wrun=$(printf "%03d" $1)
|
|
file_exists=$(test -f /home/sud/Desktop/Software2/ANASEN_analysis/data/17F_fsu_files/Run_"$wrun"_mapped.root)
|
|
if [[ $file_exists -ne 0 ]]; then return; fi
|
|
root -q -l -b -x /home/sud/Desktop/Software2/ANASEN_analysis/data/17F_fsu_files/Run_"$wrun"_mapped.root -e 'gInterpreter->ProcessLine("#define ADD_NEW_BRANCHES 1");' -e $(printf 'tree->Process("MakeVertex.C+","analyzed_run%s.root")' "$wrun");
|
|
mv analyzed_run$wrun.root 17F_output/results_run$wrun.root;
|
|
}
|
|
|
|
export -f run_once
|
|
#run_once 351
|
|
time parallel -j 6 --ctag run_once {1} ::: {350..400}
|
|
#parallel -j 6 --ctag run_once {1} ::: {380..400}
|
|
#parallel -j 6 --ctag run_once {1} ::: {350..360}
|
|
rm output_17F.root
|
|
hadd -j 4 -k output_17F.root 17F_output/results_run3*.root
|
|
|
|
unset souce_vertex
|
|
unset DATASET
|
|
unset flip180
|
|
unset flipa
|
|
unset anode_offset
|
|
unset reactiondata
|