New methods Energy25Barrel and Energy25Endcap give back the total energy of the 5x5 neighbourhood around the crystal with max energy. In input they need the coordinates (eta, phi) or (x,y,z) where z identifies which endcap is, and the rechitcollection.
We can use them in order to recalculate EoP.
In the next two graphs here's the results, runned on
In blue "classic" EoP, in red EoP with E re-evaluated on the 5x5 neighbourhood.