How to convert CSV file to root file for further analysis

I am new to ROOT. I used ROOT in GATE simulation ( for analysing the radiation counts in the detector.

Now I have some data as CSV file from another simulation software. This data contains x,y,z points of gamma radiation at the detector. I want to analyze this data using ROOT. How can I convert CSV file to root file?

Thanks in Advance !

Have a look at the guides and tutorials here.
You can read and save in different ways (histograms, trees,…); for your case maybe you can use the “basic2.C” tutorial here.