Hello,
I would like to count the entries of a 2D Histogram within a region given by a graphical cut (TCutG).
With myHisto->Draw("[mycut]");
I can draw a histogram where only the selected bins appear, but the statistics window still gives the total number of entries in the Histogram (not only those which passed the cut).
Using TH2F::Integral
also doesn’t help me to get the number of events passing the cut.
How to I get the number of entries left over by the cut?
Cheers, J.