https://github.com/root-project/root
Revision 9c12d484718248ca7a4c124df210b22b6875a88c authored by Rene Brun on 08 July 2004, 08:08:52 UTC, committed by Rene Brun on 08 July 2004, 08:08:52 UTC
to TTreePlayer::BuildIndex.

New function TTree::LoadTreeFriend(Int_t entry, TTree *T)
  // called by TTree::LoadTree when TTree *T looks for the entry
  // number in a friend Tree (this) corresponding to the entry number in T.
  // If the friend Tree has no TTreeIndex, entry in the friend and entry
  // in T are the same.
  // If the friend Tree has an index, one must find the value pair major,minor
  // in T to locate the corresponding entry in the friend Tree.

TTree::LoadTree has been modified to call the new function TTree::LoadTreeFriend.

The functions: TTree::GetEntryNumberWithBestIndex,
               TTree::GetEntryNumberWithIndex and TTree::GetEntryWithIndex
have been modified to call the corresponding functions in the TTreeIndex.

TTree::Streamer issues a Warning when reading an old style Index.


git-svn-id: http://root.cern.ch/svn/root/trunk@9431 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent bacb3c8
History
Tip revision: 9c12d484718248ca7a4c124df210b22b6875a88c authored by Rene Brun on 08 July 2004, 08:08:52 UTC
The function BuildIndex is replaced by a call (via the TVirtualtreePlayer)
Tip revision: 9c12d48

back to top