Fill Tree from cvs File

Hi, would like to fill the Data from this csv File:
raw_date.csv (89.8 KB)
in a TTree. The example which I found on the web, are very complicated. Is there a way to fill each line in a array and then to the variables for the TTree.

Here is what I have for the moment:

get_raw_data.C (9.85 KB)

Thx a lot for the help.


does it work without any add-on on my macro?

i just have to ad this line and remove the first line of the csv-file and it will work?

just to be clear. no fill statement needed anymore?

You only need to declare your TTree. ReadFile does the filling.
An example here.