TTree drawing without plotting

Hi,

I am trying to figure out how to extract an histogram from the result of TTree::Draw() (or more exactly TChain::Draw()), without actually plotting the result on a TCanvas. Is there any way to do this ? I can’t find the good keywords to get useful results from the forum search tool…

Thanks.

t.Draw("x","myselection","goff");
Rene

Ah, yes, “goff” ! I knew I had already used it before. And it’s even written several times in the doc, how could I not see it… :blush:

Many thanks for the quick reply !