How to TTree Nomalize?

Hi

If TTree have branch element named “x” ,simply type,
tree->Draw(“x”);
We can draw x distribution.X-axis is “x” ,Y-axis is yield.Now I want to draw “x” distribution that Y-axis is scaled.I want to get histgram that X-axis is “x” ,Y-axis is “yield*weight”(weight is constant weight)
Please tell me how to.

Regards

Kimiaki

do

tree->Draw("x","weight"); see doc of TTree::Draw

Rene

Thank you Rene !!!

Regard

Kimiaki