Dear rooter,
Please check the attachment. I think it is a bug of TTree::Fill().
There are three files in the attachment:
1. data.txt -- Data file used for test
2. tree_01.C and tree_02.C are test macros.
Start root, and execute the following commands:
---
root [] .L tree_01.C
root [] .L tree_02.C
root [] fill_data_01("data.txt")
root [] fill_data_02("data.txt")
---
Please compare both outputs. If a structure contains a string member
before members of other types (such as integer), TTree::Fill() cannot
give the correct result.
Because my English is limited, I hope I have indicate the problem clearly.
Best regards.
Exaos
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET