Object selection in TClonesArray

Hello to all,

I have a specific question concerning TClonesArray an how to access objects in it.
I have a root file with a tree containing just a branch with a TClonesArray. If I access
this array and make a Print() it shows me that the objects are properly found

OBJ: myObject myObject
… (according to the number of object in array)

I didn’t found a way to get a pointer to these objects. Some hints would be helpful.

Thanks

To access an object (say of class MyClass) in a TClonesArray* clones, do
MyClass obj = (MyClass)clones->At(n);
where n is teh object number in the array.

Rene