[ROOT] Deleting a directory from a file

From: Jens Ahrens (ahrej000@mail.uni-mainz.de)
Date: Wed Jun 13 2001 - 15:57:05 MEST


Hi everybody

I want to delete a TDirectory including theTH1F histograms (it contains)
from my ROOT file. I tried :
TDirectory *mydir = (TDirectory *) myfile->Get("dirname");
mydir->Delete("*;*");
But it doesn't work.

Does anyone have a clue?

Thanks
Jens



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