Hi, if I save a tree with entries being a class, I get different behaviour, with respect of the methods defined in the class, when I am in split mode or not: let's define the instance c of class C, with method GetId(), returning value of member id split mode = 0: ----------- only one superbranch. I can execute tree.Draw("c.GetId()"); 1. I cannot access directly id, even if declared public split mode = 1 ----------- many subbranches. I can draw: tree.Draw("id") but: 2. tree.Draw("c.Id()") make a seg violation. I do not understand point 2. making a seg violation. I think I understand the reasons for the difference between split and unsplit, but still, it means that I cannot access directly members in a short way when doing simple things, and use methods, when plotting more sophisticated observables from an algorithm with one single tree. Then, assuming that I want to plot complicated observables eventually, I need in any case to save the tree unsplit. Therefore I need to have in mind the members name and their corresponding Get methods to do stg. Is that really how it is ? thank you Mathieu
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:50 MET