[ROOT] Writing Matrix to TTree

From: Alessio Sarti (Alessio.Sarti@lnf.infn.it)
Date: Fri Apr 30 2004 - 12:24:53 MEST

Hi all,
I'm trying to understand if it is possible, in root, to write a matrix to
a Tree. 
Let's say: I have a matrix filled per event and I'd like to have it dumped
in the Tree via the Fill method.
This is because the matrix has lots of variables that have similar meaning
and having them packed up in a per event matrix would save a lot of
variables copy-paste and would enlarge the flexibility of the code.
So, instead of

Int_t ADC1[100];
Int_t ADC2[100];
Int_t ADC100[100];

I'd like to have
Int_t ADC[100][100];

Is that possible?

Alessio Sarti     INFN Frascati

>>>I'm in Frascati<<<

Cell   +39-06-94038166
Office +39-06-94032776
Fax    +39-06-94032427

"... e a un Dio 'fatti il culo' non credere mai..."
(F. De Andre')

"He was turning over in his mind an intresting new concept in
Thau-dimensional physics which unified time, space, magnetism, gravity
and, for some reason, broccoli".  (T. Pratchett: "Pyramids")

This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET