Error in <TTree::SetBranchAddress>: The pointer type given "vector<float>" does not correspond to the type needed "Float_t" (5) by the branch: m

Looks like you’ve already had a similar problem, which has been solved (you now have “Float_t” variables, and previously there were “Double_t” ones):