I would like to access a TTree’s Entry$ value the same way I access branch data. Eg. I would like to have
but, alas, that is not legal. I have also tried to use an alias and set the address to the alias…no dice! Any other suggestions?
Note: my reason for doing this is that the code that analyzes the TTree looks at both un-sampled data (that is the raw TTree where I am interested in Entry$) and sampled data (only some of the entries, where I store the raw TTree’s Entry$ value in branch.