Announcing ROOT version 2.20

vdschaaf (vdschaaf@KVI.nl)
Fri, 18 Dec 1998 14:30:39 +0100


Hi,

I've a problem with TTree's.
If I have a big tree (say 200 Mb) and want to access ntuple data in it, I
typically say

f=new TFile(".....");
TTree *ntuple = (TTree*)gDirectory->Get("ntuple");
int nevent=ntuple->GetEntries();
for (i=0; i<nevent; i++) {
ntuple->GetEvent(i);
......
}

but after the Get, it starts to load 200 Mb of data into memory......That won't
work. Is there another method to access the data without loading everything
into memory first?

Thanx,Kjeld
-------------------------------------------------
Kjeld van der schaaf (vdschaaf@KVI.nl)
-------------------------------------------------