Skip to content
Snippets Groups Projects
Commit 53cd569e authored by Chandradoy Chatterjee's avatar Chandradoy Chatterjee
Browse files

fix: histo name typo error

parent 3e9f7197
Branches
No related tags found
1 merge request!309Irt algo
This commit is part of merge request !309. Comments created here will be created in the context of that merge request.
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment