why the h->Draw() does not wotk in the loop

From: Zhong Liu <zliu_at_ph.ed.ac.uk>
Date: Tue, 8 Feb 2005 14:38:43 +0000 (GMT)

Dear ROOT experts,

I'm comparing (by display) histogrames with identical names but located in different root files.

I wrote a simple named script(in the attchment), but the Draw method did not work within the loop, the Canvas only show up after the loop is finished.

I'm wonering I've made some very stupid mistake, please give a help.

Thanks a lot.


Dr. Zhong Liu
School of Physics,		              Email: zhong.liu_at_ed.ac.uk
The University of Edinburgh,			Tel: +44 131 650 5284 (office)
James Clerk Maxwell Building,			Tel: +44 131 650 5282 (lab)
The King's Buildings,				Fax: +44 131 650 7174
Edinburgh. EH9 3JZ. UK.

Received on Tue Feb 08 2005 - 15:38:54 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:04 MET