How can I convert .txt file to .root file

I want to convert the .txt file to .root file.

The form of txt file is;
2021-01-04-16:14:06.058150 1.0100E+03

And I want to get the root file which contents is
time(sec) value

Could you get some tips?

ROOT Version: 06.22.06
Platform: WSL2
Compiler: Not Provided

There is several example in this forum.
For instance: Time axis while reading from external file

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.