The splitlevel=1 mechanism.

From: Maurik Holtrop (maurik.holtrop@unh.edu)
Date: Tue Jun 08 1999 - 02:32:35 MEST


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







This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:34 MET