Hi Rooters I was working on d0mino (D0 machine at Fermilab) and suddenly I am no longer able to write histograms to file which used to work few days ago. fout = new TFile("fit_quality.root", "recreate"); fout->cd(); for( box=0 ; box<12 ; box++ ) { h_slope[box]->Write(); h_inter[box]->Write(); } fout->ls(); fout->Close(); The instruction fout->ls() gives only TFile** fit_quality.root TFile* fit_quality.root Also, when I read another root file, I have the diagnostic WARNING, class:TProfile StreamerInfo read from file:slopes.root has the same version:3 than the active class but a different checksum. You should update the version to ClassDef(TProfile,4). Do not try to write objects with the current class definition, the files will not be readable. I am not using any TProfile there!!! Help Thank you
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:37 MET