Re: [ROOT] Copying/Moving TObjects

From: Michael Kordosky (kordosky@dell4.hep.utexas.edu)
Date: Mon Mar 12 2001 - 03:15:52 MET


On Sun, 11 Mar 2001, Michael Kordosky wrote:

> moving/copying TObject derived classes is TObject::Clone().  This function
> seems to bind correctly to the derived class except that it doesn't get
> the name and title? So, must I insert a test to figure out if a particular
--------------------
|
-> Disregard the part about the name and title, indeed it does reproduce
them correctly, as I thought it should!  I am still interested in knowing
if using Clone() is the correct method, or if there is something more
efficient.  Is there any way of having objects from a file be
automatically read into memory at gROOT , preventing them from being
deleted when the file closes and avoiding the call to Clone()?

Mike Kordosky

-- 
Graduate Research Assistant  // High Energy Physics Lab
kordosky@hep.utexas.edu     // University of Texas at Austin
ph: (512) 471-8426 (RLM Lab, Office)
    (512) 475-8673 (ENS Lab)



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:39 MET