just include file "TObjecTable.h" in your source and you
can call:
gObjectTable->Print()
where ever you like. The main feature of the object table is that
you can use it to see which objects are active at a certain
moment in your program. This can be help full if you track some
memory leak, because you will see many more object of a certain
class than you would expect.
Cheers, Fons.
Laurent Aphecetche wrote:
>
> Hi,
>
> How to use the TObjectTable feature in a compiled program ?
>
> Thanks.
> --
> APHECETCHE Laurent (mailto:aphecetche@ganil.fr)
> GANIL, B.P. 5027, 14076, Caen Cedex 5, France
> Vox: +33 (0)2 31 45 45 85 - Fax: +33 (0)2 31 45 46 65
> WWW: http://ganp03.in2p3.fr/nof/ & (perso.)
> http://www.mygale.org/~p0mp0n
-- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland Phone: +41 22 7679248 E-Mail: Fons.Rademakers@cern.ch Fax: +41 22 7677910