The splitlevel=1 mechanism.

Maurik Holtrop (maurik.holtrop@unh.edu)
Tue, 08 Jun 1999 00:32:35 +0000


This is a multi-part message in MIME format.
--------------821F17340AE0FE2F82534ED0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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

--------------821F17340AE0FE2F82534ED0
Content-Type: text/x-vcard; charset=us-ascii;
name="maurik.holtrop.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Maurik Holtrop
Content-Disposition: attachment;
filename="maurik.holtrop.vcf"

begin:vcard
n:Holtrop;Maurik
tel;fax:(603) 862-2998
tel;home:(603) 659-8765
tel;work:(603) 862-2019
x-mozilla-html:FALSE
url:http://www.physics.unh.edu/Maurik
org:UNH Nuclear Physics
adr:;;9 Library Way;Lee;NH;03824;USA
version:2.1
email;internet:maurik.holtrop@unh.edu
x-mozilla-cpt:;1216
fn:Maurik Holtrop
end:vcard

--------------821F17340AE0FE2F82534ED0--