I have an ntuple which contain variables var1, var2 and var3. Now, the selection ntuple->Draw("var1>>hist(256,-0.5,255.5)", "var2==0) gives zero entries. The question is why it draws nothing instead of an empty histogram. In addition (TH1F *)gPad->GetPrimitive("hist") gives a zero pointer. I know why it gives a zero pointer because the pad is empty. But it would be reasonable to get a pointer to a histogram with zero entries. Thank you Seng
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET