From 53cd569e5d85589f6778d7df73a15d24cd86c143 Mon Sep 17 00:00:00 2001
From: chchatte92 <chandradoy.chatterjee@ts.infn.it>
Date: Fri, 6 Oct 2023 23:08:57 +0200
Subject: [PATCH] fix: histo name typo error

---
 benchmarks/rich/draw_benchmark.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/benchmarks/rich/draw_benchmark.py b/benchmarks/rich/draw_benchmark.py
index e8e3483b..4b39934c 100755
--- a/benchmarks/rich/draw_benchmark.py
+++ b/benchmarks/rich/draw_benchmark.py
@@ -174,7 +174,7 @@ for rad in ["Aerogel", "Gas"]:
     hist = ana_file.Get(f'{pid_name}/thetaResid_dist_{rad}')
     hist.DrawCopy()
     canv.cd(4)
-    hist = ana_file.Get(f'{pid_name}/speThetaResid_dist_{rad}')
+    hist = ana_file.Get(f'{pid_name}/speResid_dist_{rad}')
     hist.SetTitle(hist.GetTitle() + " - ZOOM")
     hist.GetXaxis().SetRangeUser(-RESID_MAX, RESID_MAX)
     hist.Draw()
@@ -203,7 +203,7 @@ for rad in ["Aerogel", "Gas"]:
         if centralV > 0.2*sigmaV :
             print("dRICH Warning : ring residual plot has starnge central value")
     canv.cd(6)
-    hist = ana_file.Get(f'{pid_name}/speThetaResid_dist_{rad}')
+    hist = ana_file.Get(f'{pid_name}/speResid_dist_{rad}')
     hist.DrawCopy()
     canv.cd(7)
     ana_file.Get(f'{pid_name}/highestWeight_dist_{rad}').Draw()
@@ -245,7 +245,7 @@ for rad in ["Aerogel", "Gas"]:
     hist = ana_file.Get(f'{pid_name}/spetheta_vs_eta_{rad}')
     draw_profile(hist, rad)
     canv.cd(18)
-    hist = ana_file.Get(f'{pid_name}/spethetaResid_vs_eta_{rad}')
+    hist = ana_file.Get(f'{pid_name}/speResid_vs_eta_{rad}')
     hist.GetYaxis().SetRangeUser(-RESID_MAX, RESID_MAX)
     draw_profile(hist, rad)
     
-- 
GitLab