[ROOT] Tree Fit

From: Takefumi SORA (tak-sora@bg7.so-net.ne.jp)
Date: Tue Aug 20 2002 - 14:53:02 MEST


Hi,

I have three questions.

1.
Now I have two "Leaf".
I want to plot them 2-dimensionally and fit by "pol1".

To plot 2-dimensionally is easy.
tree->Draw("leaf1:leaf2",cut);

But I can not fit the 2-dimensional plot.
Please tell me how to fit.

2.
According to ROOT class reference, TTree::Fit funcition return
"Int_t". What does the "Int_t" parameter mean.

3.
In example
tree->Draw("leaf1:leaf2 >> objectA")
Must the objectA be TH class ?

-- 
Takefumi SORA <tak-sora@bg7.so-net.ne.jp>



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:05 MET