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

As I said, you can start with my simple “fully working example” (just replace “Double_t” with “Float_t”).

1 Like