PROOF: TTree::Draw() strangeness with canvas handling

From: Thiemo Nagel <thiemo.nagel_at_ph.tum.de>
Date: Mon, 19 Jan 2009 19:00:42 +0100


Hello,

I noticed strange things when using the same TTree::Draw() with PROOF multiple times. Eg. when calling

t->Draw("var", "", "", 100);
t->Draw("var", "", "", 100);
t->Draw("var", "", "", 100);
t->Draw("var", "", "", 100);
t->Draw("var", "", "", 100);
t->Draw("var", "", "", 100);
t->Draw("var", "", "", 100);

the scaling of the x axis will vary between calls whereas I'd expect it to be identical every time.

The situation gets worse when opening a second Canvas:

t->Draw("var", "", "", 100);
menu action: File ---> New Canvas
t->Draw("var", "", "", 100);

This time, the newly opened canvas will contain the histogram alright, but at the same time, the histogram is plotted a 2nd time inside the first canvas with all values being multiplied by a factor of two.

How can that happen?

BTW: t->SetProof(false);

removes this kind of strange behaviour.

Thank you and kind regards,

Thiemo

-- 
+-------------------------+-------------------------+

| TU Muenchen | Room PH1 3558 |
| Physik-Department E18 | |
| James-Franck-Strasse | Phone +49 89 289-12592 |
| D-85747 Garching | Fax +49 89 289-12570 |
+-------------------------+-------------------------+
Received on Mon Jan 19 2009 - 19:00:47 CET

This archive was generated by hypermail 2.2.0 : Tue Jan 20 2009 - 23:50:01 CET