TTree::Draw() and Sumw2()

Dear ROOTers!

I have a general question about easy creation of 1D histograms via TTree::Draw(). Is this correct that before the creation of such histogram Sumw2() is called?

Thanks,

Kirill

Hi,

Only if you pass the option ‘e’: tree->Draw("…","…",“e”);

Cheers,
Philippe.

Thank you very much!

[quote=“pcanal”]Hi,

Only if you pass the option ‘e’: tree->Draw("…","…",“e”);

Cheers,
Philippe.[/quote]