> Is it possible to use gROOT->FindObject() to find an object of class which
> is added with ACLIC.
No unless your class inherits from one of the classes that add its object into of the list (Files, Histograms, etc.) or if your contructor adds the object to the list or if you added the object to one of the list.
In other word, in general, for the objects of your classes it is up to you to decide how there are kept track of (and can be retrieved).
Cheers,
Philippe.
-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch]
On Behalf Of Margar SIMONYAN
Sent: Wednesday, July 13, 2005 4:46 AM
To: Roottalk
Subject: [ROOT] gROOT->FindObject()
Dear all
Is it possible to use gROOT->FindObject() to find an object of class which
is added with ACLIC. The class inherits from TObject, in header file I put
ClassDef, and ClassImp macros.
I am using ROOT 4.04.02 on SLC3.
Best regards,
Margar Simonyan
Received on Wed Jul 13 2005 - 15:39:29 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:10 MET