Hello,
How can I get the underflow, overflow and the total number of events for histograms, by code?
Cheers,
Luciano
Hello,
How can I get the underflow, overflow and the total number of events for histograms, by code?
Cheers,
Luciano
Hi Luciano,
see root.cern.ch/root/htmldoc/TH1.html under “Convention for numbering bins”. You can get over/underflow bin contents just as any other bin. GetEntries() returns the total.
Frank