I have a text file that I’d like to read in. Here’s how it looks like:
I am trying to read this in using:
TTree *tree=new TTree("tree","tree");
tree->ReadFile("test.dat","E_incident/D:E_deposited:x_incident:y_incident:z_incident:theta:Time:EventID/I:TrackID:ParticleID:ParticleName/C:CreatorProcessName/C:IsEdepositedTotalEntry/b:IsSurfaceHitTrack",'\t');
It gives the following error, apparently unable to recognize the strings:
When I check the # of entries in tree, the answer is zero. What am I doing wrong?
p.s. pardon the width of the outputs…