Philippe,
Your answer is not completly correct ::)
ntuple->Draw("a","b")
histograms "a" with a weight "b". This is not the same
as histogramming "a*b"
Rene Brun
On Fri, 5 Apr 2002, Philippe Canal wrote:
> Hi Ahmet,
>
> The 2nd argument is actually a 'weight'. So
> ntuple->Draw("a","b")
> plots "a*b" if b is non-zero.
>
> Cheers,
> Philippe.
>
> -----Original Message-----
> From: owner-roottalk@pcroot.cern.ch
> [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Ahmet Sedat Ayan
> Sent: Friday, April 05, 2002 1:30 PM
> To: roottalk@pcroot.cern.ch
> Subject: [ROOT] meaning of ntuple->Draw("a","b")
>
>
>
>
> Hi Rooters,
>
> What is meaning of the following if we have an ntuple with variables, a,
> b, c,.. etc ? Can I take it as <<Draw "a" if b is non-zero>> ?
>
> ntuple->Draw("a","b")
>
> cheers,
> ahmet
>
> ***************
>
> Ahmet Sedat Ayan
>
> Physics & Astronomy Dept.
> Van Allen Hall
> University of Iowa
> Iowa City, IA, 52242
>
> Voice : (++ 1 319) 335-1941 (W) (GMT-6)
> Occupation : Ph.D Candidate (But still dreamer!)
> e-mail : ayan@cms.physics.uiowa.edu
> web : http://jazz.physics.uiowa.edu/~ayan
>
>
>
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:48 MET