There was interest in seeing what the truth efficiencies are for the True Signed Distance distributions for differing magnetic fields. These two scripts do that; the scripts to create the Efficiency vs. Muon KE plots for muons (and mu+) for different B fields.
The first script, sign_distance_efficiency_vs_muon_true_ke.py creates reads in a TMS Reco file and actually does the "calculation". The output is a ROOT file and pngs and pdfs (see first image below, of red and blue hists). This
The second script plot_multiple_truth_signed_distances.py doesn't do any "work". It reads in the ROOT files made from the above script and plots them on the same axis using uproot. The result is a single plot of efficiencies for different B fields. So in the case here, TMS Reco files were read in for 0 T, 1 T, and 2 T fields. The output of this script is the second plot below with three curves on it.
There was interest in seeing what the truth efficiencies are for the True Signed Distance distributions for differing magnetic fields. These two scripts do that; the scripts to create the Efficiency vs. Muon KE plots for muons (and mu+) for different B fields.
The first script,
sign_distance_efficiency_vs_muon_true_ke.py
creates reads in a TMS Reco file and actually does the "calculation". The output is a ROOT file and pngs and pdfs (see first image below, of red and blue hists). ThisThe second script
plot_multiple_truth_signed_distances.py
doesn't do any "work". It reads in the ROOT files made from the above script and plots them on the same axis usinguproot
. The result is a single plot of efficiencies for different B fields. So in the case here, TMS Reco files were read in for 0 T, 1 T, and 2 T fields. The output of this script is the second plot below with three curves on it.This was presented at the Santa Fe meeting.