1) Environment variables allowing flip and offset of anode wires 2) Environment variables allowing for selection of runs' start and stop time positions, to help with phi scanning runs 3) *fix histograms defined that incorporate step-ladder corrections applied to pcz, hard-coded currently in sx3cal/sx3z_vs_pcz/testmodel.h. Will need a better home in the future 4) EXFit2.C has the capability to now gainmatch all sx3 pads, and position along strip is still found from the central three pad edges. Treatment for (backE-missingfrontE) is being considered.
29 lines
964 B
Bash
29 lines
964 B
Bash
#rm results_run*.root
|
|
export DATASET="27Al"
|
|
export flip180="0"
|
|
#declare -i run=28
|
|
#while [[ $run -lt 34 ]]; do #runs 1 to 84
|
|
# wrun=$(printf "%03d" $run)
|
|
# root -q -l -b -x ../ANASEN_analysis/data/27Al_Data/Run_"$wrun"_mapped.root -e 'tree->Process("Make#Vertex.C+O")'; mv Analyzer_SX3.root 27Al_output/results_run$wrun.root;
|
|
# run=run+1
|
|
#done
|
|
|
|
declare -i run=50
|
|
while [[ $run -lt 59 ]]; do #runs 1 to 84
|
|
wrun=$(printf "%03d" $run)
|
|
root -q -l -b -x ../ANASEN_analysis/data/27Al_Data/Run_"$wrun"_mapped.root -e 'tree->Process("MakeVertex.C+O")'; mv Analyzer_SX3.root 27Al_output/results_run$wrun.root;
|
|
run=run+1
|
|
done
|
|
|
|
rm output.root
|
|
hadd -k -j 4 output.root 27Al_output/results_run*.root
|
|
mv output.root output_27Al.root
|
|
|
|
#root -q -l -b -x -e '.L MakeVertex.C+O';
|
|
#halfproc=3
|
|
#parallel --ctag --bar -j $halfproc ./run.sh ::: {028..034} ::: 27Al #color-tag, linebuffer, then run run.sh in parallel
|
|
|
|
unset souce_vertex
|
|
unset DATASET
|
|
unset flip180
|