diff --git a/benchmarks/imaging_ecal/scripts/draw_cluster.py b/benchmarks/imaging_ecal/scripts/draw_cluster.py index a2925f2bd9291ddc3dd58341bbc809e0f52deaef..f810b6a9a93e8d4c335b0e39e79986efb86b3939 100644 --- a/benchmarks/imaging_ecal/scripts/draw_cluster.py +++ b/benchmarks/imaging_ecal/scripts/draw_cluster.py @@ -238,7 +238,7 @@ if __name__ == '__main__': bins=(np.arange(*eta_rg, step=args.topo_size/1000.), np.arange(*phi_rg, step=args.topo_size)), cmap=cmap, cmin=0., pc_kw=dict(alpha=0.8, edgecolor='k')) # draw true decaying particle position - if len(dfdecaymcp) > 0: + if len(dftemp) > 0: ax.scatter(dfdecaymcp['eta'].values, dfdecaymcp['phi'].values, marker='x', color='red', s=22**2, linewidth=5.0) ax.set_ylabel(r'$\phi$ (mrad)', fontsize=32)