Special variables in TTree::Draw

Hi,

could somebody point me to the/a documentation about the special variables of TTree::Draw (like Entry$, Entries$ etc)?

I was wondering whether there is one corresponding to the index of array branches. So e.g. if I have signal amplitudes of strips of a detector stored as amp[#strip], that I could draw the line shape with

tree->Draw(“amp:ArrayIdx$”)

if ArrayIdx$ would be the running index of the array entries.

Best regards and thanks,
Klaus

TTree::Draw

Hi, thanks!

I already found that but had the hope it could be incomplete. But it looks like there is no variable for the current array index of an array branch…

How about “Iteration$”?

Oops, you are right! I misunderstood the meaning of Iteration$ in the description…
Thanks again! :slight_smile:

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