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

draw_benchmark.py variable renamed of commit 95d4a855

parent 95d4a855
Branches
No related tags found
1 merge request!309Irt algo
......@@ -183,9 +183,9 @@ for rad in ["Aerogel", "Gas"]:
hist.Fit("gaus", "", "", resid_mode - nsigma*resid_dev, resid_mode + nsigma*resid_dev)
if hist.GetFunction("gaus"):
hist.GetFunction("gaus").SetLineWidth(5)
meanV = hist.GetFunction("gaus").GetParameter(1)
centralV = hist.GetFunction("gaus").GetParameter(2)
if meanV > 0.2*centralV :
centralV = hist.GetFunction("gaus").GetParameter(1)
sigmaV = hist.GetFunction("gaus").GetParameter(2)
if centralV > 0.2*sigmaV :
print("dRICH Warning : residual plot has starnge central value")
canv.cd(5)
ana_file.Get(f'{pid_name}/highestWeight_dist_{rad}').Draw()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment