[ROOT] TTree->GetEntry() Problem

From: Claus Horn (horn@mail.desy.de)
Date: Thu Feb 12 2004 - 19:35:15 MET


Hi Rooters,

why does:

    nSignalEvents = 1000;
    for (Int_t jentry=0; jentry < nSignalEvents; jentry++) {
	Int_t ientry(signal->LoadTree(jentry));
//	cout << "ientry: " << ientry << endl;  //is OK

	signal->b_ptmiss->GetEntry(ientry) << endl;

	cout << "ptmiss: " << signal->ptmiss << endl;
    }

give 1000 times the same value for ptmiss ?
The ntuple is OK, just GetEntry() does not work.

I would be very happy for any help,

Claus



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET