Skip to content
Snippets Groups Projects

Irt algo

Open Chandradoy Chatterjee requested to merge irt-algo into master
All threads resolved!
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -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)
Loading