(no subject)

From: vdschaaf (vdschaaf@KVI.nl)
Date: Fri Dec 18 1998 - 14:30:39 MET


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)
-------------------------------------------------



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