Greetings all,
I am trying to read individual entry values from a leaf into a series of variables. The values represent the net counts in a series of gamma peak and an associated peak error.
The first pair of values is read correctly - subsequent pairs are not. I suspect that I am failing to initialize a pointer correctly but I can not seem to figure out how to correct the problem.
I have attached a short script which demonstrates the problem and an ASCII file which is read in by the script to illustrate the issue. I have also attached an example of output from a root session.
Any guidance you can give on what I am doing wrong here will be greatly appreciated.
Regards
ExampleSession.txt (1.13 KB)
parameters_ru98RIV0309_R1.txt (183 Bytes)
Example.C (785 Bytes)