Make TH1::GetCumulative account for underflows and overflows


I couldn’t help but notice that TH1::GetCumulative does not account for either underflows or overflows. Wouldn’t it be wiser to do so? Or, even better, to let a user decide if he/she wants to have the underflow/overflow bins to be accounted for?

Maybe @moneta can comment on this

It should probably use the axis range as many similar functions do. Can you please open a JIRA item for this ? Thank you


Hi Lorenzo,



Thank you !

Did you have a fix on this issue? I am facing the same issue last time. But no response from anyone and couldn’t find the topic troubleshooting in google.

See this commit