Segmentation violation when accesing vector

see tree->SetBranchAddress() modifies tree? for the seg fault problem.

BR