[ROOT] TFile

From: Federico Roncarolo (Federico.Roncarolo@cern.ch)
Date: Mon Nov 25 2002 - 21:36:52 MET


Hello,

I built a ROOT GUI interface for my data analysis. One of the operations 
performed by a button handles a TFile object, I open it, write
something and close it. When I need to re-open the file and retrieve the
objects written in it, I get the message

Warning in <TFile::Init>: file
/afs/cern.ch/user/f/froncaro/GUI/version_0.2/ws_11e10_hor_nocorrect.root
has no keys

If I quit the application, re-start it and do exactlely the same action to
retrieve the data, everything works.

What should I do to properly record the keys and access them without
re-starting the application?

Thanks a lot,
Federico

__________________________________________________
Federico Roncarolo     federico.roncarolo@cern.ch       
                            alchemist@infinito.it     
CERN SL/BI 865 1-A27

Tel:
+41.(0)22.76.75611	Work 
+41.(0)79.6982190 	GSM                              
+33.(0)4.50.40.82.67 	Home
__________________________________________________



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:20 MET