I am in the process of designing the layout of an event structure using
TTree that has a large amount of data in various sub-groups. (This is for
the CLAS detector, right now CLAS uses BOS banks.) I would ideally like most
of this data to be directly accessible from a TBrowser. I get quite close to
what I want using the Event.cxx example, however, I stumble upon the
following questions:
1) Is there any way in which the branches can be split deeper that 1 level,
so that the data of sub objects are stored in their own baskets ?
(Tree->Branch(....,split=1) only splits object one level deep, I'd like 3
deep which would allow for a much more clear organization of the data.)
2) How can I call a member function of a class from one of the objects in
the tree, using TTree::Draw() ?
(T->Draw("fTrack.GetPx()") of the example does not work, even when the
libEvent.so is loaded.)
Thank you very much,
Maurik
P.S. I run Root 2.00/8 on Linux.
-- ---------------------------------------------------------------------- Maurik Holtrop web: http://www.physics.unh.edu/Maurik UNH Physics Department tel: (603) 862-2019 | fax: (603) 862-2998 DeMeritt Hall mailto:maurik.holtrop@unh.edu Durham, NH 03824 Home: (603) 659-8765 ----------------------------------------------------------------------