Hello,
I’m trying to get data from branch, but when running the macro I get
Error in <TTree::SetBranchAddress>: The pointer type given "vector<float>" does not correspond to the type needed "Float_t" (5) by the branch: Energy
Error in <TTree::SetBranchAddress>: The pointer type given "vector<Long64_t>" does not correspond to the type needed "Long64_t" (16) by the branch: Timestamp
*** Break *** segmentation violation
it looks like that it doesn’t want the vector, but the branch is vectorial branch, indeed I’ve Energy[0], Energy[1], etc. in the root file