Hi Kate, Kate Scholberg wrote: > > > Thanks! > > The first solution works. The second approach, although slower, is > preferable for my application, because it allows branch selection. > The first solution too allows for branch selection. > However I notice something strange with the second approach: your > macro only works if I do *not* load the shared library with the class > info (amsmc.sl in the files I sent). If I load the lib, GetEntry > reads nothing for the sub-branch. > You must have an incompatibility between your shared lib and Root. Could you recompile your shared lib in particular the CINT dictionary? Rene Brun > In fact, my original macro works too if I don't load the library! (If > I don't load the library, I get various error messages when getting > the tree, and of course then cannot use the classes in the macro, > but the direct sub-branch read seems to work anyway). > > Would you expect this behavior? > > Kate.
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:51 MET