Hi,

I have a simulation result root file containing X,Y,E which are the particle position and its energy.

I would like to plot a binned histogram of the created particles by their X,Y position, but instead of having the Z axis as events (T->Draw(“X:Y”)), I would like to see the following histograms:

- X:Y (2000:2000 bins) where Z axis will show total energy per bin.
- X:Y (2000:2000 bins) where Z axis will show mean energy per bin.
- X:Y (2000:2000 bins) where Z axis will show max energy per bin.

Any help would be appreciated,

Thanks