Hi ROOTers, what's wrong with the following macro: ( pads pad1 and pad2 exist, ntuple MW21 with the parameters exists) { pad1->cd(); MW21->Draw("dMW21r>>hdMW21", "dMW21r > 0"); // draw coordinate with cut, save in (not yet existing) histogram hdMW21 pad2->cd(); MW21->Draw("dMW21u>>+hdMW21", "dMW21u > 0"); // draw other coordinate with cut, add to histogram hdMW21 } histogram hdMW21 is correctly filled after macro execution, and the graph in pad2 is okay, but pad1 contains the same as pad2! If I enter these commands at the ROOT command line, pad1 is also okay! This behaviour is the same on Linux V2.0 (ROOT 2.00/08) and AIX V4.1 (ROOT 2.00/07)! Best Regards, Horst Goeringer -- ----------------------------------------------------------------- Dr. Horst Goeringer email: H.Goeringer@gsi.de GSI Computing Center Tel: +49-6159-71-2553 Planckstr. 1 Fax: +49-6159-71-2986 D-64291 Darmstadt, Germany -----------------------------------------------------------------
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:34 MET