Hello I try to uses the Tokenizer on a TString
char line(CHRLEN);
.....
TString s(line);
TObjArray *d = s.Tokenize(TString(" "));
s contains floats (0.000034177 0.000074050 0.000136709 0.000233544 0.000267721) with a spaces as delimiter.
d->Print() shows me that all my number are no in TObjString, as expected.
Collection name='TObjArray', class='TObjArray', size=128 TObjString = 0.000034177 ......
Now my plan was to use the Sting() function of TObjString and finally convert them into Double_t in order to add the values to a histogram.
However I could not fin out how to convert d[i] -> TObjString or even better d[i] -> Double_t.
Thanks for the help, Andreas
This archive was generated by hypermail 2.2.0 : Tue Nov 22 2011 - 17:50:01 CET