The error message after not setting the branch address

Dear ROOTers,

I’ve just fixed a bug in my code, that pointed me to a part in ROOT that perhaps could be improved. I was creating several TTree branches, some with simple types, some with ROOT.vector(“string”). Then I was calling ResetBranchAddresses() on the TTree and attempting to Fill(). ROOT complained only about those branches having the vector, that their address is not set. It did not complain about the branches with simple types, although I bet the same lack of address happened to them.

Would it be possible to have the same error message for simple types?

@pcanal can perhaps give his opinion here? Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.