Hi Maurik, The rules for splitting/no-splitting are described at URL: http://root.cern.ch/root/HowtoWriteTree.html look at section Making a Tree with many branches To give you more advice, I will need a copy of your class description. Rene Brun Maurik Holtrop wrote: > > Dear ROOT, > > According to the documentation and roottalk digest, it seems that ROOT i/o > functions best with the splitlevel=1 turned on. I already noticed that with > splitlevel=0 the creation operator is called for each read, and this seems a > bit in efficient. It is not called for a splitlevel=1. So far so good. > I have a class that needs it's own streamer, since the class contains a > pointer to a set of structures that point into another big array. All this > because the I/O library I use is BOS... > > I can read and write my object successfully with splitlevel=0 using my own > streamer. However, with splitlevel=1, my streamer never even get's called, > and so nothing is written out for the object. > > What routines do I need to "hand code" for ROOT i/o with splitlevel=1? Are > there any examples? (I could not find a reference when searching the web > pages for splitlevel...) > > Cheers, > > Maurik Holtrop > > ------------------------------------------------------------------------ > > Maurik Holtrop <maurik.holtrop@unh.edu> > UNH Nuclear Physics > > Maurik Holtrop > UNH Nuclear Physics <maurik.holtrop@unh.edu> > 9 Library Way Fax: (603) 862-2998 > Lee Home: (603) 659-8765 > NH Work: (603) 862-2019 > 03824 Netscape Conference Address > USA > Additional Information: > Last Name Holtrop > First Name Maurik > Version 2.1
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:34 MET