I have a file with two TTree. The first tree contain the objects vertex
of the event, one entry for each vertex, the second tree the objects
tracks of the event, one entry for each track. I would like to link the
vertices to the tracks and vice versa using TRef (each track has two
pointers two two vertices) and TRefArray (each vertex has an array of
pointers to tracks).
Is this possible in the sense that when I read one entry in the vertex tree the entries of the tree of tracks to which the TRef are pointing are automatically load in memory?
Do I have to call come particular method of TTree to do this (TTree::BranchRef())?
Thanks a lot
Stefano
Received on Fri Oct 09 2009 - 16:58:05 CEST
This archive was generated by hypermail 2.2.0 : Fri Oct 09 2009 - 23:50:03 CEST