[ROOT] best way to store my data

From: Allister Levi Sanchez (allister@hep.sc.niigata-u.ac.jp)
Date: Wed May 01 2002 - 07:00:47 MEST


Hi ROOTers,

I'm making a simulation of a calorimeter beam test.  I want to save,
say, the the number of shower particles and the energy deposit, etc., in
each scintillator tile for each event.  For each sampling layer, I have
nTiles(say, 9) tiles.  Then I have nLayers sampling layers.
I'd like to save my data into a TTree during the simulation.
Afterwards, I want to draw histograms easily from this TTree using a
ROOT macro.  I would appreciate any suggestion before I start writing my
code.

Thanks,
Allister Levi Sanchez

--
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-+
| Allister Levi C. Sanchez                     |        _________         |
| High Energy Physics Laboratory               |       /.-------.\        |
| Graduate School of Science and Technology    |      |II**   **II|       |
| Niigata University                           |      |II \\ // II|       |
| Ikarashi 2-no-cho 8050                       |  -=-=-=-=->X<-=-=-=-=-=- |
| Niigata 950-2181 JAPAN                       |      |II // \\ II|       |
| Tel: +81 25 262 6138                         |      |II**   **II|       |
| mailto: allister@hep.sc.niigata-u.ac.jp      |       \`-------'/        |
| http://www.hep.sc.niigata-u.ac.jp/~allister/ |        TTTTTTTTT         |
+-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-+
@lc$2002.04



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