Finding TObjects?

Please read tips for efficient and successful posting and posting code

ROOT Version: any
Platform: Linux

Is there an easy way to find or list all TObjects not belonging to a directory ? Like for example cloned histograms where TH1:SetDirectory( NULL ) has been called ? As far as I can tell FindObject() only locates objects in directories.
I’m trying to debug a complicated bit of code that creates, manipulates and destroys lots of histograms and I’m looking for ways of getting a basically a snapshot of the current “memory” map.


Hi Peter,

Check TObject::SetObjectStat() method - probably it is that you are looking for.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.