Hi,
in your example $(ROOTSYS)/eventa.cxx in loop on all events is:
for (Int_t i=0;i<nevent;i++) {
…
nb += T->GetEntry(i);
event->Clear();
}
in $(ROOTSYS)/stress.cxx in function stress8read(Int_t nevent):
for (Int_t ev = 0; ev < nev; ev++) {
nb += tree->GetEntry(ev); //read complete event in memory
}
WITHOUT Clear(), why ?
I need clear array with Clear() for reading (only) any TTree ?
If yes, I need also call Track::Clear ( Event::Clear(“C”) ) ? or Clear() is only for write any TTree ?