Hi Pasha, An even shorter way of putting it is: Follow for the branch names the same rules as for any C++ variable name. Cheers, Philippe. -----Original Message----- From: owner-roottalk@pcroot.cern.ch [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Pasha Murat Sent: Wednesday, March 06, 2002 4:02 PM To: roottalk@pcroot.cern.ch Subject: [ROOT] forbidden characters in the branch names Dear Rooters, I noticed that some characters in the branch names are treated in a special way: - to be explicit, if a branch named "L3:COT_Global_Tracking" with TClonesArray of things associated with it is written out in non-split mode, one has no problems with acessing the data stored on it. - however, when the same branch is written in split mode and one is trying to use GUI interface to plot the distributions for the data stored on it, ROOT complains *ERROR 26 : Unknown name : "L3" Intuitively I understand that it is better to stay away from using characters like ":" in the branch names, however it is quite convenient and, as such, a user is tempted. So I think that it would be nice to have a list of characters which one should not be using in the names given to ROOT objects (branches, etc...) - ROOT is already mature enough to start worrying even about minor issues like this one... -thanks, Pasha
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:44 MET