BTL This macro is designed to run in ROOT. Directions from terminal window: root -l .L convert_test.cpp++ convert_test("filename.dat") The macro will creat a ROOT file with the same name as the input file