Chain tree entry id access in Draw()

Hi rooters,

If I have N trees in the chain and like to have the access to tree ID from the chain.Draw() is it possible?

For example: from the TTree:Draw function I can access tree entry as: tree.Draw(“Entry$”)
in case of chain it plots the entry number for each tree as well.

In case of chain it could be nice to have 2 more options - smth like:
chain.Draw(“ChainEntry$”) - for the cumulative entry number in the chain
chain.Draw(“TreeEntry$”) - to access the tree ID (from 1 to N in my example).

Valeri Tioukov


We are planning on adding a new feature that will give you access no only to these value but also to all the information from the underlying tree. We will let you know as soon as it is available.