Hi,
I have the following event structure (based on Event.cxx example):
A class MyEvent which contains a TClonesArray* of class MyDTag, coded in the same was as the Tracks are in the Event.cxx example. MyDTag constains a TClonesArray* of class MyCand, coded in an analogous way.
The reason for this structure is the the signal candidates (MyCand) are built from tracks not used in the tag (MyDTag), yet there may be more than one MyCand per MyDTag.
I find that if I include the MyCand level, I get runtime crashes. Without that level everything works fine.
Any suggestions of what might be wrong or how to do this in a better way? Or a nice example of such hierarchy would be extremely helpful.
Thanks,
Alex Smith