Viewing "Out of Range" Events TH2F


Say I have a TH2F “g” that was filled via g->Fill(x,y), but the x coordinate falls out of the range of my histogram’s defined window. Is there anyway to see these out of range events? I’ve tried the SetAxisRange method, and I’ve also tried creating a new Pad with a range that includes the x value, but neither of these seem to work.

Thanks in advance!

By definition of a 2D binned histogram, it has nx,xmin,xmax,by,ymin,ymax.
Any entry outside the limits is counted in the underflow/overflow bins.
The only thing that you can do is to display the number of entries in theese u/o bins.
If you have a stats box, click on the stats box and setstats to eg 11111111