Re: Adapter from Genfit to Pnd objects checked in [message #8848 is a reply to message #8846] |
Thu, 11 June 2009 13:46 |
StefanoSpataro
Messages: 2736 Registered: June 2005 Location: Torino
|
first-grade participant |
From: *to.infn.it
|
|
I think that for ROOT the problem is when the memory address of the pointer is not available anymore (i.e. it is pointing to an object which is stored in a friend file which is not loaded). In such a case, when analysing the first event of the tree, even if you are not using the initial information which has this kind of problem, root does and could crash. Storing indexes is much safer, an integer is always an integer and even if you click on it you will never crash.
But I don't know if this was solved in recent root versions.
[Updated on: Thu, 11 June 2009 13:48] Report message to a moderator
|
|
|