I have questions regarding TChain::LoadTree(Long64_t entry)

The manual says:

Find the tree which contains entry, and set it as the current tree.

What happens when there are multiple trees in the file that contain at least entry+1 entries? How is the tree selected? Will the method return entry when the tree containing at least entry+1 entries is selected?

Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided

I guess it is clear if you read further:

The input argument entry is the entry serial number in the whole chain.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.