You must open the file in "update" mode TFile in("file.root","update"); Rene Brun On Sun, 4 Jan 2004, Peter H Fisher wrote: > Hi, > > It is not clear to me how to purge cycles of, for example, histograms. > For example, I try, > > TFile in("file.root") > gDirectory->Purge() > > and do not get any sort of error, but the old version do not go away. > Does anyone have a howto? > > Peter > > > Peter Fisher Office 617-253-8561 > Professor of Physics Fax 617-253-4100 > 44-118 MIT email fisherp@mit.edu > Cambridge, MA, 02139 >
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET