How to store signal shapes as Tree format from a large CSV/TXT file?

Hi Friends,

I have csv/txt data files created by an oscilloscope that contains digitized signal values. The first column is time and the second column is digitized voltage. I have 250 events which means the file contains 500 columns. Each column has 512 points/rows.

Event1-time, Event1-Voltage, Event2-time, Event2-Voltage, …, Event250-time, Event250-Voltage

I would like to read each column and store them in a root file as Tree format.

I would appreciate if you show me the way how to do that.

Thanks in advance.

Welcome to the ROOT forum,

You might want to look at the TTree manual. It points to the TTree tutorials.

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