take a look at the Event example in $ROOTSYS/test. It describes exactly the
structure you are asking about.
pasha.
--------------------------------------------------------------------------------
Diego Casadei writes:
> Hello Rooters!
> I would like to save my data with this structure:
>
> File: event 1 --> event 2 --> ... --> event N
> / | \
> / | \
> subdet1 subdet2 subdet3
> / | \
> / | \
> count1 count2 count3
>
> Is it possible to obtain it with a TTree structure?
>
> Thanks.
>
> PS. I know, I should understand it reading the online Root
> documentation, but I admit that it is not so easy for me...
>