add new tracking performance plots with gaus fit
1 unresolved thread
1 unresolved thread
Merge request reports
Activity
added reconstruction label
requested review from @sly2j
assigned to @shujie
added 10 commits
-
e2b17a8e...ff75cc6c - 9 commits from branch
master
- a6d78484 - add new tracking performance plots with gaus fit
-
e2b17a8e...ff75cc6c - 9 commits from branch
334 335 # ax.set_ylabel('Normalized Density / {:d} Bins'.format(nbins))#, fontsize=20) 336 ax.set_xlabel(r'$d\theta$ (rad)')#, fontsize=20) 337 338 # -----------------phi resolution---------------------- 339 ax = axs.flat[5] 340 rec_th = df.groupby('event')['phi'].first().values 341 sim_th = dfc.groupby('event')['phi'].first().values 342 dth_th = (rec_th - sim_th) 343 344 # print(np.vstack([rec_th, sim_th]).T) 345 # hval, hbins, _ = ax.hist(dth_th, bins=np.linspace(-0.002, 0.002, 101), 346 # weights=np.repeat(1./float(rec_th.shape[0]), rec_th.shape[0]), ec='k') 347 sig_ph,err_ph=hist_gaus(dth_th,ax,np.linspace(-ph_lim, ph_lim, nbins+1),klog=0,header=None) 348 # ax.set_ylabel('Normalized Counts / {:d} Bins'.format(nbins))#, fontsize=20) 349 ax.set_xlabel(r'$d\phi$ (rad)')#, fontsize=20)
Please register or sign in to reply