From ae098cce6948bab841d9e16e577d6e36e2c93902 Mon Sep 17 00:00:00 2001 From: achiefa Date: Mon, 9 Dec 2024 12:02:19 +0000 Subject: [PATCH] Update filters and process_options --- validphys2/src/validphys/cuts/filters.yaml | 6 +++--- validphys2/src/validphys/process_options.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/validphys2/src/validphys/cuts/filters.yaml b/validphys2/src/validphys/cuts/filters.yaml index a95d50d7a3..30dbb8ad2d 100644 --- a/validphys2/src/validphys/cuts/filters.yaml +++ b/validphys2/src/validphys/cuts/filters.yaml @@ -246,17 +246,17 @@ - dataset: CMS_Z0J_8TEV_PT-Y reason: Avoid the region where resummation effects become important. - rule: "pT2 >= 30**2" + rule: "pT >= 30" - dataset: CMS_Z0J_8TEV_PT-Y reason: Avoid the region where EWK corrections are important. - rule: "pT2 <= 170**2" + rule: "pT <= 170" - dataset: CMS_Z0J_8TEV_PT-Y reason: | removes the last rapidity bin, where we cannot provide a decent description due to unknown reasons. - rule: "etay <= 1.6" + rule: "abs_y <= 1.6" - dataset: ATLAS_Z0_8TEV_LOWMASS_M-Y reason: Avoid overlap with the high mass ATLAS2DDY8TEV dataset. diff --git a/validphys2/src/validphys/process_options.py b/validphys2/src/validphys/process_options.py index 2c5a46c7a5..e90ca8ba33 100644 --- a/validphys2/src/validphys/process_options.py +++ b/validphys2/src/validphys/process_options.py @@ -280,8 +280,8 @@ def _dybosonptrap_xq2map(kin_info): using the rapidity of the final lepton pair. """ pT = kin_info[_Vars.pT] - eta = kin_info.get_one_of(_Vars.eta, _Vars.y) - m_ll2 = kin_info[_Vars.m_ll2] + eta = kin_info.get_one_of(_Vars.eta, _Vars.y, _Vars.abs_y) + m_ll2 = kin_info.get_one_of(_Vars.m_ll2, _Vars.m_Z2) sqrts = kin_info[_Vars.sqrts] ET2 = m_ll2 + pT * pT x1 = (np.sqrt(ET2) + pT) / sqrts * np.exp(-eta)