[ROOT] print Char_t[32] branch

From: Valeri Tioukov (Valeri.Tioukov@na.infn.it)
Date: Tue Apr 30 2002 - 20:16:36 MEST


Hi rooters,

If I have tree with a branch defined as:

....
Char_t comment[32]; // comment line
....

what is the conventional way to display it contents? I mean - just to printout
these lines:

tree->Scan("comment")        diplays just 9 letters,
tree->Show(1) prints smth like :
comment[32]        = 35 53 48 51 45 51 45 55 51 49 45 51 0 0 0 0 0 0 0 ...

Only tree->Draw("comment") does smth correct: it displays amusing plot with
customised X-lables (correctly btw) but it is not what i need.

Of cause I can write special function to do this, but it looks so stupy to
write the program for doing such a simple thing...

Generally speaking table-like data presentation sometimes very usefull, but both
tree->Scan() and tree->Show() looks more like debugging tools than persentation
ones. Are there any plans of developinig in this direction?

Regards,
Valeri



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:51 MET