Hi Thomas, all non THxx objects need to be explicitely added to the map file. Do something like: TF1 *f = new TF1(...); mfile->Add(f); //mfile is pointer to TMapFile Cheers, Fons. > Dear Rooters, > > I am using the two examples concerning Shared Memory (hprod.C and > hcons.C) from the ROOT Tutorials. I would like to add additional objects > to the shared memory area via the TMapFile class. If I try to add > histograms, everything works fine, but if I try to add s.th. else, like > say TF1 or TGraph objects, they do not appear in the shared memory. > I use ROOT Version 2.21/08 18 March 1999 > on a Linux PC (SuSe 6.0). > > Can anybody help ? > -- > Thomas Eberl Phone: (+49 89) 289 1 2425 > Physik-Department E12, Technische Universitaet Muenchen > James-Franck-Strasse *** 85748 Garching b. Muenchen > Email: Thomas.Eberl@physik.tu-muenchen.de > -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:32 MET