3D vector for TTree::Scan and Draw

Hello,

I am facing the same problem described in this post, i.e. using 3D vector from TTree:

I would like to use Scan and Draw interactively but all fields are zero.

Is there any solution or workaround for this?

ROOT Version: 6.26/10

Thanks!

Hi,

apologies things seem not to work out of the box for you.
Could you post a reproducer of the issue?

Cheers,
D

Thank you for the reply, Danilo.

Actually, if I try with the code attached by the user in the old post (I attach it here for simplicity), I can observe exactly the same problem:

root [2] t->Scan()
***********************************
*    Row   * Instance *         v *
***********************************
*        0 *        0 *         0 *
*        0 *        1 *           *
***********************************

Do you think it is enough?

Example.C (488 Bytes)

Potentially related:
https://its.cern.ch/jira/browse/ROOT-4302
https://its.cern.ch/jira/browse/ROOT-7757
https://its.cern.ch/jira/browse/ROOT-8726
https://its.cern.ch/jira/browse/ROOT-7622
https://its.cern.ch/jira/browse/ROOT-7348
https://its.cern.ch/jira/browse/ROOT-7465