When to use Clear() versus Delete()

David Nitz (dfnitz@umich.edu)
Wed, 1 Oct 1997 14:48:59 -0400 (EDT)


I'm fairly new to trying to use root and C++. I'm trying to set up
an event structure similar to the examples using TClonesArray.

I've gone over this a number of times, but remain confused about when
I should use "Clear" and when I should use "Delete" to prepare storage
for a new event. Can anyone explain the difference to me? Thanks.

David F. Nitz (dfnitz@umich.edu)
Physics Department, University of Michigan