Hi everyone,
I have 180 “.dat” files (binary files) and I want to convert it into a .root file. The main reason is because I am dealing with large amount of data.
The data type of the binary file is:
dtype=np.dtype([(“time”,np.float64),(“x1”,np.float64),(“y1”,np.float64),(“z1”,np.float64),(“ch1”,np.int8),(“x2”,np.float64),(“y2”,np.float64),(“z2”,np.float64),(“ch2”,np.int8),(“x3”,np.float64), (“y3”,np.float64),(“z3”,np.float64),(“ch3”,np.int8),(“x4”,np.float64),(“y4”,np.float64),(“z4”,np.float64),(“ch4”,np.int8),(“ll”,np.float64),(“pep”,np.float64),(“wep”,np.float64)])
Can anyone help me with this?
Thanks in advance.
Marg