Using the method Scan of TTree whitout drawing results

Hi,

I want to looking for a specific value in a TBrach.
For that I try to use the method Scan from TTree.
But, this method always draw the result.
I juste want to know if this value exist in my branch and I don’t want display it.

Chear

Quentin

Hi,

You could use TTree::GetEntries(const char *selection).

Cheers,
Philippe.

Thanks for your answer, it’s work !!

Chear.

Quentin