The following example illustrates my problem. When a TTreeViewer is destroyed, it removes the TTree it was using from the current directory. Is this the intended behavior? root [0] TFile f("Event.root") root [1] TTree *t = (TTree *)f.Get("T") root [2] t->StartViewer() root [3] f.ls() TFile** Event.root TTree benchmark ROOT file TFile* Event.root TTree benchmark ROOT file OBJ: TTree T An example of a ROOT tree : 0 KEY: TProcessID ProcessID0;1 4a4fd0d4-5c41-11d6-a2d0-14a2f280beef KEY: TH1F htime;1 Real-Time to write versus time KEY: TTree T;1 An example of a ROOT tree KEY: TH1F hstat;1 Event Histogram root [4] // manually delete the TTreeViewer root [5] f.ls() TFile** Event.root TTree benchmark ROOT file TFile* Event.root TTree benchmark ROOT file KEY: TProcessID ProcessID0;1 4a4fd0d4-5c41-11d6-a2d0-14a2f280beef KEY: TH1F htime;1 Real-Time to write versus time KEY: TTree T;1 An example of a ROOT tree KEY: TH1F hstat;1 Event Histogram root [6] t->Draw("fNseg") // <--- Nothing is drawn Thanks for the help, Glen
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:52 MET