Hi, I have a very simple tree : ------------------------------------------------------------------------------ root [0] TFile *f=new TFile("wiremap.root","OLD") root [1] f->ls() TFile** wiremap.root TFile* wiremap.root KEY: TTree WireMap;1 WireMap root [2] WireMap->Print() ****************************************************************************** *Tree :WireMap : WireMap * *Entries : 27648 : Total = 1073258 bytes File Size = 302514 * * : : Tree compression factor = 5.21 * ****************************************************************************** *Br 0 :WireInfo : fCrate/I:fModule/I:fBoard/I:fChannel/I:fView/I:fWire/I * *Entries : 27648 : Total Size= 741190 bytes File Size = 122863 * *Baskets : 10 : Basket Size= 64000 bytes Compression= 5.21 * *............................................................................* ------------------------------------------------------------------------------ The code : fFile = new TFile(filename, "READ"); fTree = (TTree *)fFile->Get("WireMap"); fTree->SetBranchAddress("WireInfo", &fCrate); that was happily running UP TO 3.02/07 brakes in 3.03/09 : Error in <TTree::SetBranchAddress>: unknown branch -> WireInfo Thanks in advance, Jacek.
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:23 MET