When to use Clear() versus Delete()

From: David Nitz (dfnitz@umich.edu)
Date: Wed Oct 01 1997 - 20:48:59 MEST


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



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:21 MET