Is there an elegant way to plot the sum of the bin content? I read that TProfile always plots the bincontent vs. the number of entries in bin.
Easily I can multiply the bincontent with the number of bin-entries when I call the fill-method, but I wanna know if there is a better way…
I don’t want to plot the average of my data in every bin, but the sum (without dividing by the number of the bin).
The root manual says:“
H(J) = sum Y
h(J) = H(J)/L(J)
The displayed bin content for bin J of a TProfile is always h(J).”