aboutsummaryrefslogtreecommitdiff
path: root/utils/chi2
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2020-08-30 09:15:20 -0500
committertlatorre <tlatorre@uchicago.edu>2020-08-30 09:15:20 -0500
commit5d8a61777f8d7a65402c3bbd776041c9466d33c9 (patch)
tree59637b196f7d38c50312b0853e484a5f16d9ae79 /utils/chi2
parentaf9dc4f29d548fe4a3c9b9ef68540d88c2a1fc9e (diff)
downloadsddm-5d8a61777f8d7a65402c3bbd776041c9466d33c9.tar.gz
sddm-5d8a61777f8d7a65402c3bbd776041c9466d33c9.tar.bz2
sddm-5d8a61777f8d7a65402c3bbd776041c9466d33c9.zip
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.
Diffstat (limited to 'utils/chi2')
-rwxr-xr-xutils/chi22
1 files changed, 1 insertions, 1 deletions
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):