Skip to content

Commit 08bd84a

Browse files
committed
Adding the rest of the miscellaneous plotters with a read me file
1 parent c184418 commit 08bd84a

27 files changed

Lines changed: 11576 additions & 1 deletion

‎tools/simp-search-tools/README.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ bk_eff_selection.y: contains any tools deemed entirely corresponding to backgrou
1616

1717

1818
plot-making
19-
This file contains many/most of the scripts required for plotting tight optimization estimated yields (after optimizing things) as well as roc curves for individual scans (ann,bdt,miny0) to compare things relatively. The scripts contained therein are: ann_score_data_mc_overlay.py make_maxZbi_grid_worker_v2.py submit_maxZbi_grid.sh write_roc_overlay_all3.py
19+
This file contains many/most of the scripts required for plotting tight optimization estimated yields (after optimizing things) as well as roc curves for individual scans (ann,bdt,miny0) to compare things relatively. The scripts contained therein are: ann_score_data_mc_overlay.py make_maxZbi_grid_worker_v2.py submit_maxZbi_grid.sh write_roc_overlay_all3.py. This directory also includes misc, which is a ton of miscellaneous python ploting files. The README.txt file there gives a brief description of each. Some are legacy code, in that they rely on older versions of things included in this directory. Enough is supplied so that Claude should be able to infer how to fix it ;)
2020

2121
ann_score_data_mc_overlay.py:
2222
Plots the ann response curve for data and data-like MC on top of eachother given the locations of ann npz scaling files and classifier pickle files. Is used as a final test to establish that indeed it is not learning data MC discriminating features rather than signal background discriminating features.
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
plot_all_featured_and_2d_debug.py
2+
Plot unit normalized distributions for all variables; now needs signal and background normalization.
3+
4+
plot_all_features_and_do_tables_2.py
5+
Plots some accurately normalized distributions. First script to obtain accurate yields in signal and background, an iteration that worked is included in STUFF_WORKS.
6+
7+
plot_all_features_and_do_tables_3_MULTI_just_z_fit.py
8+
Does the above task but only for the z distribution, allowing the z profile to be fit and checked against the expected post-resampling behavior.
9+
Dependencies: plot_all_features_and_do_tables_3_MULTI.py
10+
11+
plot_all_features_and_do_tables_3_MULTI.py
12+
Does the tables with the additional constraint that multiple signals are overlaid for differing pairs of masses and epsilon.
13+
14+
plot_all_features_and_do_tables_3.py
15+
Performs tight selection and operation of previous scripts, but with two val cuts, one for significance and one for min y0.
16+
Dependencies: decayLength7sel.py
17+
18+
plot_all_features_and_do_tables_4_MULTI_just_z_fit.py
19+
Same as the 3_MULTI_just_z_fit version, but for the version 4 workflow, which uses reweighting rather than down-sampling, with no cutoffs and true_vd.
20+
Dependencies: plot_all_features_and_do_tables_4_MULTI.py
21+
22+
plot_all_features_and_do_tables_4_MULTI.py
23+
Same as the version 3 MULTI workflow, but uses reweighting rather than down-sampling, with no cutoffs and true_vd.
24+
25+
plot_all_features_and_do_tables_4.py
26+
Same as the version 3 workflow, but uses reweighting rather than down-sampling, with no cutoffs and true_vd.
27+
28+
plot_all_features_and_do_tables_BDT.py
29+
Does the tables for the BDT to compare its performance against the selection-based cuts.
30+
Dependencies: decayLength8sel.py, /bdt_trainer/train_bdt_classifier.py
31+
32+
plot_all_features_and_do_tables_BK_w_CUTs.py
33+
Plots the invM of the background as selection cuts are increased.
34+
35+
plot_all_features_and_do_tables.py
36+
37+
plot_all_together_vals.py
38+
Plots the contour levels for a given value for all vals, useful for checking whether one cut is better than the rest.
39+
40+
plot_ann_vs_bdt.py
41+
42+
plot_bg_shell_feature_diffs_ann_bdt2.py
43+
44+
plot_bg_shell_feature_diffs_ann_bdt.py
45+
46+
plot_features_normed.py
47+
Plots histograms for cut variables, weighted by their actual physical values after tight selection.
48+
49+
plot_psum_compare.py
50+
Compares the psum for different interpretations.
51+
52+
plot_psum_from_vertex_only.py
53+
Plots the psum from quantities calculated independently, rather than using the psum already stored in the ROOT file.
54+
55+
plot_psum_from_vertex.py
56+
Plots the psum, used to evaluate whether it had the desired shape.
57+
58+
plot_significance_surfaces.py
59+
Makes 25 contour plots for the various cuts, with 2D histograms and color contours for significance as a function of cut value.
60+
61+
plot_sig_vs_mass.py
62+
Plots the significance as a function of mass, i.e. cut val, for various values of epsilon and val that are fed in.
63+
64+
plot_sig_vs_val.py
65+
Plots the significance as a function of val, i.e. cut val, for various values of mass and epsilon that are fed in.
66+
67+
plot_z0_dist.py
68+
Plots unit normalized distributions of cut variables; they are not weighted by physical weighting.
69+
70+
plot_z0_signal_v_back.py
71+
Plots unit normalized distributions of cut variables; at this point it is min y0.

0 commit comments

Comments
 (0)