interactive handling of TClonesArray (ROOT 1.01/07)

Pasha Murat (murat@cdfsga.fnal.gov)
Fri, 4 Jul 1997 22:36:11 GMT


Dear ROOT developers,

a couple of weeks ago I reported a problem with interactive handling of
TClonesArray. Briefly remind what it was - it is still present in 1.01/07:
--------------------------------------------------------------------------------
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 1.01/07 3 July 1997 *
* Development version *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************

CINT/ROOT C/C++ Interpreter version 5.13.11, May 25 1997
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] a= TClonesArray("int",100);
root [1] .p a[0]

*** Break *** segmentation violation
--------------------------------------------------------------------------------
I consider this problem to be a *major* one: user can't process an event,
containing a list (TClonesArray) of tracks, which is a general case
in particle physics. In particular, following one of the most helpful ROOT test
examples (test/MainEvent.cxx) one can access only the data stored in the event
header, whereas track data are not available interactively.

Just want to attract your attention to the importance of this issue,

thank you,
Pasha.