Dear all,
I have read an example named "Event.*" in the $ROOTSYS/test directory, when I was looking for a tutorial for the usage of TRefArray with TClonesArray as a data-member of an object to be stored in a TTree.
In the definition of the "Event" class, I find that there are two TClonesArray data members, one is static and another is not. I didn't understand properly whay this is done that way and what problem could occur if one defines an "Event" object which has only the non-static data member.
The idea is building something similar to create a TTree with many "Event" objects, and I would like to understand if the structure presented in that example is somehow necessary to avoid problems when building such a TTree.
Thanks
Best regards
Alberto Received on Fri Feb 22 2008 - 19:27:56 CET
This archive was generated by hypermail 2.2.0 : Fri Feb 22 2008 - 23:50:01 CET