Hi All,
I have a TBranchObject from a TTree, ‘Reco_QQ_4mom’, that I would like to loop through.I believe it is an array of TLorentzVector’s. If I use the ->GetClassName() function on the TBranch it returns TClonesArray, but if I try to use relevant TClonesArray functions on ‘Reco_QQ_4mom’ (such as ->At(i) ) to try loop through it, I get the error " error: no member named ‘First’ in ‘TBranch’ ". Is anyone able to inform me of what is going wrong or provide an alternative approach?
Cheers!