rkd314 / csvtoroot Goto Github PK
View Code? Open in Web Editor NEWThis is a shell script that takes two arguments: the full path of a CSV file (or just the name+extension of the file if it's in the directory you run the macro from), and the name you want to give the ROOT TTree that will hold the info in the CSV. The macro will make a directory containing: a .dat file from the .csv; a macro to generate a .root file from the .csv; the .root file generated by that macro. You must have ROOT installed to use this.
License: MIT License