Dear rooters,
I only need to GetEntries of a ntuple with some selection.
I can do this via
TNtuple *ntuple;
int n;
…
ntuple->Draw(“x>>h”,“x>cut”);
n = h->GetEntries();
but if there is some way like this
int n = ntuple->GetEntries(“x>cut”);
it would be much convenient for me especially when I change cut frequently.