Hi Rene, As a matter of fact, we just figured out that splitlevel 0 will do the job. A value -1, as you suggested, produces the same results as kTRUE (which is indeed incorrect). On Tue, 17 Jul 2001, Rene Brun wrote: > Hi Gerco, > > TPolyLine3D is one of the few ROOT classes still with a hand-written Streamer. > Classes with a hand-written Streamer cannot be used in split mode in a branch. > You can force the branch to not use the split mode and call the Streamer > function by using split=-1. We expect this to be automatic in the next release. > So, in your example, change the line: > > TBranch *b = tree->Branch("tracks", "TPolyLine3D", &l, 64000,kTRUE); > to > TBranch *b = tree->Branch("tracks", "TPolyLine3D", &l, 64000,-1); > > Note that your argument kTRUE was not correct. -- Gerco Dr. C.J.G. Onderwater Nuclear Physics Laboratory 401B Loomis Laboratory of Physics University of Illinois at Urbana-Champaign 1110 West Green Street Urbana, IL 61801-3080 Phone : (217) 244-7363 Fax : (217) 333-1215 E-mail: onderwat@uiuc.edu
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:52 MET