No, <Draw "a" if b is non-zero> is obtained with: ntuple->Draw("a","b!=0") ntuple->Draw("a","b") will histogram "a" with a weight "b" See the doc of TTree::Draw discussing this example. http://root.cern.ch/root/htmldoc/TTree.html#TTree:Draw Rene Brun On Fri, 5 Apr 2002, Ahmet Sedat Ayan wrote: > > > 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