[ROOT] Loading branches for quick selections

From: Peter H Fisher (fisherp@mit.edu)
Date: Thu Jun 05 2003 - 15:05:55 MEST


Hi Rooter,

I have having some trouble with branches.  I'm using a Loop function
generated by MakeClassand in the selection, I have:

for(jentry=0;...)
{
  Int_t ientry=LoadTree(jentry);
  b_npart->GetEntry(jentry);
  if(npart!=1) quickcut=-1;
.
.
}

npart is the only leaf of the branch b_npart.  This works fine through the
first file in the chain, but sticks on the last value of the first file
thereafter.  Is there something I need to do to take care of the changing
files in the chain?

Peter


Peter Fisher                                   Office 617-253-8561
Professor of Physics                           Fax    617-253-4100
44-118 MIT	                               email  fisherp@mit.edu
Cambridge, MA, 02139



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET