Hi,
I'm not sure if this is a bug, or by design.
I have a TTree with a clonesarray e.g.
TClonesArray* hits; // points to collection of MyHit objects
With TTree::Draw, I can do
mytree->Draw("hits.charge"), and it will iterate over hits in all events.
however if I want to find the max charge in all the hits in the tree,
mytree->GetMaximum("hits.charge")
only looks at hits[0].charge,
I assumed that the draw and GetMaximum used the same bit of code to
convert the string into an iteration over events.
It seems that the (rather useful)iteratrion over collections in only
supported in some TTree functions, but its not documented which.
Cheers
Caius
____________________________
CAIUS HOWCROFT
+44 (0)1223 764 128 UK(office)
AOL IM: sumsmug
Yahoo IM: sumsmug
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:16 MET