Re: [ROOT] cometics on TTree::Draw

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Oct 22 2001 - 11:50:45 MEST


Hi Kirill,

When you use the notation >>histname, The Draw function cannot change
the histogram title. You may have given a meaningful histogram title
when you created it.
The only thing that i can suggest is to set the title yourself
to include the "cut".
One could also add a function in the TreePlayer class to set the default
number of channels for the automatically generated histogram.

Rene Brun

Kirill Shileev wrote:
> 
> Hi rooters,
> I must be missed something on options of the subj
> Suppose i do
> fpChain->Draw("what to draw","cut")
> it gives 100 channels hist with "what to draw" and "cut" printed on.
> If i need say 1000 channel hist, i say
> fpChain->Draw("blablabla>>histname","cut") and get hist drawn without
> prints. What do i need to say to get them back preferable using TLatex?
> Using root 3.01.06 on afs at CERN.
> Regards, Kirill



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:03 MET