Hello Rooters, I am not clear on to use booleans work in complex (>1 cut) selection expressions. For instance, if I have a tree with 2 floats, floatA and floatB, and a bool, boolA, I try the following 4 cases. Note: In my tree, all floatB's are greater than zero. The cut is included to illustrate my problem. boolA's are both true and false. a) tree->Draw("floatA", "floatB>0") b) tree->Draw("floatA", "boolA") c) tree->Draw("floatA", "(floatB>0)&&(boolA)") d) tree->Draw("floatA", "(floatB>0)*(boolA)") As expected, a) produces a plot of the full tree. As expected, b) produces a plot of the tree subset where bool is true. NOT as expected, c) & d) produced a plot of the whole tree. Somehow my bool test is not included in the selection criteria. What am I doing incorrectly? Thanks for your help, Chris
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:56 MET