[ROOT] Resetting histograms stored in TObjArray

From: Bernhard KETZER (Bernhard.Ketzer@cern.ch)
Date: Sun Oct 14 2001 - 02:08:35 MEST


Hi Rooters,

I store many histograms (TH1 and TH2) in a TObjArray to make it easier
to loop over. Now I would like to call a method of TH1 and TH2, e.g.
Reset(), for all TObjects in the TObjArray. Unfortunately, this doesn't
seem to work, since Reset() is not a method of TObjArray. Is there a way
to access the method Reset() of the TH1/TH2 for these objects?

Thank you for your help,

	Bernhard




This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:02 MET