I would like to read 2D array from a text file and would like to store the contents of the array in a TTree.
I am attaching the text file, where I have the mass and TKE of particles stored in a 2D array. I want to read the contents of the array and want to store the correlated mass and TKE in two separate branches of a TTree.
I don’t really understand how to do this (seeing the text file, which is the output from GEF calculations).
Any help will be really appreciated.
test.txt (29.4 KB)