From 5d8a61777f8d7a65402c3bbd776041c9466d33c9 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Sun, 30 Aug 2020 09:15:20 -0500 Subject: update bins when adding energy resolution This commit updates the first bins that we use before applying the energy resolution in the chi2 script. The reason we do this is because when adding the energy resolution, events outside of the original bins may migrate into the first and last bin. --- utils/chi2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/chi2') diff --git a/utils/chi2 b/utils/chi2 index 960d87c..0a8fc00 100755 --- a/utils/chi2 +++ b/utils/chi2 @@ -112,7 +112,7 @@ def get_mc_hists_fast(ke_dict,x,bins,apply_norm=False): mc_hists = {} # FIXME: May need to increase number of bins here - bins2 = np.logspace(np.log10(20),np.log10(10e3),100) + bins2 = np.logspace(np.log10(10),np.log10(20e3),100) bincenters2 = (bins2[1:] + bins2[:-1])/2 for id in (20,22,2020,2022,2222): -- cgit