Is object->Tru_ParentIDs initialized? Is ‘size’ really set to the actually size of the outer vector? Does the code work in compile mode? Did you try running in compile mode with valgrind?
[quote=“pcanal”]Is object->Tru_ParentIDs initialized? Is ‘size’ really set to the actually size of the outer vector? Does the code work in compile mode? Did you try running in compile mode with valgrind?
[/quote]
Hi philippe,
yes it is initialized (i made the class via TTree::MakeClass() ) and size=object->Tru_ParentIDs->size()
So far i did try to run it only in interprete mode. i’ll try compiling it .
Now , object->Tru_ParentIDs[i][j] works fine but not via at() method.