From 94e6e138d44a2dea009a4b3aca756eb960d532bc Mon Sep 17 00:00:00 2001 From: Farouk Date: Fri, 23 Feb 2024 19:13:31 +0100 Subject: [PATCH] up --- .../make_templates_diffbins_diffchannels.py | 10 +++++----- .../templates/v11/hists_templates_Run2.pkl | Bin 2676942 -> 2676930 bytes 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/combine/make_templates_diffbins_diffchannels.py b/combine/make_templates_diffbins_diffchannels.py index da37dddc8..56062ba22 100644 --- a/combine/make_templates_diffbins_diffchannels.py +++ b/combine/make_templates_diffbins_diffchannels.py @@ -129,7 +129,7 @@ def get_templates(years, channels, samples, samples_dir, regions_sel, regions_ma hists = {} for ch in channels: # e.g. mu, ele for region, region_sel in regions_sel.items(): # e.g. pass, fail, top control region, etc. - hists[f"{region}_{ch}"] = hist2.Hist( + hists[f"{region}{ch}"] = hist2.Hist( hist2.axis.StrCategory([], name="Sample", growth=True), hist2.axis.StrCategory([], name="Systematic", growth=True), hist2.axis.Variable( @@ -236,7 +236,7 @@ def get_templates(years, channels, samples, samples_dir, regions_sel, regions_ma nominal = np.ones_like(df["fj_pt"]) else: nominal = W * event_weight - hists[f"{region}_{ch}"].fill( + hists[f"{region}{ch}"].fill( Sample=sample_to_use, Systematic="nominal", mass_observable=df["rec_higgs_m"], @@ -258,7 +258,7 @@ def get_templates(years, channels, samples, samples_dir, regions_sel, regions_ma except KeyError: w = nominal - hists[f"{region}_{ch}"].fill( + hists[f"{region}{ch}"].fill( Sample=sample_to_use, Systematic=f"{weight}_up", mass_observable=df["rec_higgs_m"], @@ -274,7 +274,7 @@ def get_templates(years, channels, samples, samples_dir, regions_sel, regions_ma except KeyError: w = nominal - hists[f"{region}_{ch}"].fill( + hists[f"{region}{ch}"].fill( Sample=sample_to_use, Systematic=f"{weight}_down", mass_observable=df["rec_higgs_m"], @@ -288,7 +288,7 @@ def get_templates(years, channels, samples, samples_dir, regions_sel, regions_ma else: x = rec_higgs_m_variation - hists[f"{region}_{ch}"].fill( + hists[f"{region}{ch}"].fill( Sample=sample_to_use, Systematic=rec_higgs_m_variation, mass_observable=df[x], diff --git a/combine/templates/v11/hists_templates_Run2.pkl b/combine/templates/v11/hists_templates_Run2.pkl index 9d84bff495bec67a2a463fb04edd119a45474813..6982006f272f6d647491f18d94191a2a706b1897 100644 GIT binary patch delta 632 zcmX@NaWUf|AQo+4nfi%?0Ss!VX!Nj$Ik{PyH;T22F>V!OS|_0H2$h^tG9?L!O53I+ z^$4Y>0~MJTlo**Bl;j&5803~tH>?peX;%?FxcyTiEd%0n}ZRZ(<5J z!a$O(-9VBZh&h0mbGv~g7tn~G><}knbp=p&Nxo-Z8q5_Aid^juirm{B6nXYo$ys3W z0B5*YYDuwk5LCx>pu4@d&rcCp!QSqa!UM#-K+Lz@DTV*we;G3@2C#?Z7ociy2Wkgm zK_C_aVqu_hBAM(`hFCOnfWvtDgC05k_MjXQAQs&olq0r{pRsHDQ2{0ukc|2C{1Xb^ z?Hg*ufLI)eC4g9R`-U2+jqE^WS0&hxluZXJZ1;g$dZ delta 524 zcmX@KaWUgLAQo$2nfjT70Ss!VX!LM|Ik{Py$2W?$iZX5$Wm+dNePfTD>~y&rF%IVV z+|ucdEm9`!a)L}i%nZaVK+L*bPLOR2J6IvNv4KHJzKN*;Of683=`(w~f+8CbgJ_QJ z3W}Tu|1yI+bR5DNjZ@OHlxkuB_uMqpFf zIU)X?Ue_X}-|n3w0>q-*y>rC2@iTUVRS1csrvpR8w4lVu6zDae|KdT4d#BIM5#egz zTO$U<;y^3`#FE?h)=14^$IuB6ly;y_AeIJV86cM3Ue_XL%)#i4W)m>{O7cDP(!e&E zxAXSO0kQmc-d+V3YsMz9Voq*YaDZIX)V}_N0uU<#u@Vp~Z(n~xWg|Od1Jsit`31m$ a1KK84#L@odh6)g?0