Newbie question: How to store arrays (in an NTuple)?

From: Robert Casties (casties@mail.desy.de)
Date: Wed Feb 26 1997 - 14:56:24 MET


Hello!

A beginners question: How do I store and process arrays (16x16 Bytes) as
event-data?

I would like to store one array per event in an NTuple or such. I want to
do some manipulation on the data as computing means, subtracting pedestals
and eliminating bad events. Afterwards I need to do some histograms and
statistics.

Can I use the NTuple-class for my purpose? I have seen that it is possible
to allocate arbitrary variables and store the data via pointer. But how do
I get the data back out? Or do I have to write my own TTree subclass and
which methods does it have to have?


Hope for some advice

	Robert



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:18 MET