Accessing TClonesArrays from a tree

Hi All,

Can anyone help me I am trying to access TClonesArrays that have bee written to a tree. I am looping over the tree using the GetEvent(int) function and hope to use the TClonesArrays to cut certain data out before writing to a new tree.

Thanks for your help,

Ben

see example in ROOT tutorial $ROOTSYS/tutorials/tree/tcl.C

Rene