Dear ROOTers, I want to be able to recall saved spectra from previous runs to compare them with the data I'm getting online. So, what I would like to do is open a file (*f), read the keys (f->GetListOfKeys()) and get the spectrum I'm interested in (TObj*)f->Get("MyHist") (call it with a different name to avoid conflict with what is already in memory), then CLOSE the file and look for an other one. But, as it is stated in the manual, the CLOSE process destroy all objects which are "linked" to this file. Is there any way to force an histogram to stay in memory once it has been "uploaded" ? Thanks Fred
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:54 MET