Convert binary files to one ROOT file

Hi,

I could try with cvs files but I think there will be a way to convert the .dat files directly. I found a relative code on Binary file to ROOT file but I am getting an error reading all requested bytes.
Obviously I am doing something wrong with the type of variables and the bit values. Anyway I will try what you said.

M