Include overflow and underflow bins

Dear all,
I have a histogram that gives the mean value of the mass of a particle. I want to see how the mass changes if I include the events from the overflow and underflow bins.

Is there any way to do this?

Thank you so much!

What about enlarging the axis ranges so the underflow and overflow are “in range” ?

TH1::StatOverflows + TH1::GetMean

Thank you so much!
Without including overflow and underflow, my legend shows the mean and std deviation. So I actually want to see the new statistics (including the overflow and underflow) in the same legend. Is that possible?
Basically, i want to see both the statistics (with and without including overflow and underflow) in the same legend of the plot.

Is there any way?

Does what I suggested helps ?

Hey, it helps too but that is not what i am looking for.

May be @moneta can help

Do what Wile_E_Coyote suggested. But you can’t visualise both at the same time


yes, i tried. That’s true. Thank u so much

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.