From 70234a2d1d6ff58bd49deec7e8a0ba83cc627b86 Mon Sep 17 00:00:00 2001 From: eduard322 <1HArleey1@gmail.com> Date: Mon, 1 Dec 2025 14:15:46 +0100 Subject: [PATCH 1/2] Fixed the strange 50 GeV cut neutrino momentum while producing the P-Pt histograms --- macro/makeDecay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macro/makeDecay.py b/macro/makeDecay.py index e0d712f552..a27d24e96b 100644 --- a/macro/makeDecay.py +++ b/macro/makeDecay.py @@ -142,8 +142,8 @@ if par.id()<0: idhnu+=1000 pt2=par.px()**2+par.py()**2 ptot=ROOT.TMath.Sqrt(pt2+par.pz()**2) - l10ptot=min(max(ROOT.TMath.Log10(ptot),-0.3),1.69999) - l10pt=min(max(ROOT.TMath.Log10(ROOT.TMath.Sqrt(pt2)),-2.),0.4999) + l10ptot= max(ROOT.TMath.Log10(ptot),-0.3) + l10pt= max(ROOT.TMath.Log10(ROOT.TMath.Sqrt(pt2)),-2.) h[str(idhnu)].Fill(ptot,wspill) h[str(idhnu+100)].Fill(l10ptot,l10pt,wspill) h[str(idhnu+200)].Fill(l10ptot,l10pt,wspill) From d265f2564041331c0698b454dd9713b20c88ed68 Mon Sep 17 00:00:00 2001 From: eduard322 <1HArleey1@gmail.com> Date: Mon, 1 Dec 2025 14:17:04 +0100 Subject: [PATCH 2/2] Changelog updated --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38038d909e..f60655c8eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -208,6 +208,7 @@ it in future. - Update Python code in shipDigiReco.py to use modern constructors - Bump ClassDef versions to 2 for schema evolution - Add TrackInfo to RNTuple I/O test suite +* Fixed the weird cut on P in the script that produces P and P-Pt histograms for neutrinos ### Removed