Re: Putting objects in a root file [newbie]

From: Roger Mason <rmason_at_esd.mun.ca>
Date: Wed, 28 Sep 2005 07:53:42 -0230


Hello Roland,

Roland Kuhn <rkuhn_at_e18.physik.tu-muenchen.de> writes:
>
> Instead of writing everything which was created when TFile*f was the
> current directory (as has been pointed out by Sue Kasahara) you can
> also use ntuple->Write() after opening the output file. Writing
> individual objects gives you more control over what is written.
>
> Ciao,
> Roland
>
> --
> TU Muenchen, Physik-Department E18, James-Franck-Str. 85747 Garching
> Telefon 089/289-12592; Telefax 089/289-12570

Thank you for the tip. Given that one can write individual objects to file, then perhaps it is possible to save sufficent information that an interrupted session could be recovered subsequently.

Thanks again,

Roger Received on Wed Sep 28 2005 - 12:25:00 MEST

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