Dott. Pappalardo G.S. wrote:
>
> Dear ROOTers,
>
> I need to know how to condition a variable belonging to a branch of a tree
> with a variable belonging to another branch.
> For example: I ha a variable a belonging to branch A and a variable b
> belonging to a branch B. I need for example, the spectrum of variable a
> when b>0.
> Any help will be appreciated
> thanks
> Giuseppe Pappalardo
Hi Giuseppe,
Have a look at URL:
http://root.cern.ch/root/HowtoReadTree.html
simply do:
tree->Draw("a","b>0")
Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:39 MET