Home | News | Documentation | Download

Array name can not be shown correctly in TreeViewer


#1

Dear you,

My ROOT version is: ROOT 5.32/00 (tags/v5-32-00@42375, Dec 02 2011, 12:42:25 on win32) Debug
My OS is: Windows 7, Chinese

The array name can not be shown correctly in the TreeViewer.
In the attached picture, the ‘treev1.gif’ is the result of the example ‘tree4.C’ in the ‘$(ROOTSYS)tutorials’, the strange charactors are corresponding to ‘Double32_t fVertex[3];’ in the source file ‘Event.h’.


The ‘treev2.gif’ is my own class.

Any help is appriciated.

I have checked that on:
ROOT 5.27/06 (trunk@35856, Sep 29 2010, 11:29:35 on win32) Debug
it is OK.


#2

Hi,

This has been fixed in the trunk (rev. 43728). Thanks for reporting this issue.

Cheers, Bertrand.


#3

A similar problem with the TTreeViewer (in ROOT 5.30 and 5.32 but NOT in 5.28) was reported here: [url]Array of a custom class not recognized by TTree


#4

Hi Pepe,

Many thanks for the info! (I didn’t see it… :blush:)
And for info, this is also fixed in 5.32 patches (rev. 43729).

Cheers, Bertrand.


Tree Viewer gives corrupted Leaf names