Hello! I've tried for some time now to create objects in CINT which can be put in TTrees, but it didn't work out. Is there some general limitation on doing that? Do strameable objects have to be compiled? I derived my objects from TObject, used ClassDef and ClassImp macros (copied from Rtypes.h because of the #include problem) and Streamer methods created by rootcint. If I load my files with ".L" I can use the classes and see the descriptions with ".class". But if I add a branch to a tree with: myTree->Branch("mybranch", "TmyClass", &gMyClass, 320000, 0); then it is not visible (branch name is empty) with TTree::Print and TTree::Write causes a segfault. The same works fine with ROOTs compiled classes. I can give more details if needed. (System used: 1.03/03 on Linux) Thanks Robert
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:21 MET