# Accessing Object Information Available in TBrowser Without GUI

**URL:** <https://root-forum.cern.ch/t/accessing-object-information-available-in-tbrowser-without-gui/55849>\
**Category:** Newbie\
**Tags:** tree, root\
**Created:** [July 27, 2023, 6:26pm UTC](https://root-forum.cern.ch/t/accessing-object-information-available-in-tbrowser-without-gui/55849 "2023-07-27T18:26:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lynne](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/c77e96/32.png) [@Lynne](https://root-forum.cern.ch/u/Lynne)\
**Post date:** [July 27, 2023, 6:26pm UTC](https://root-forum.cern.ch/t/accessing-object-information-available-in-tbrowser-without-gui/55849/1 "2023-07-27T18:26:56Z")

</div>

Hi, so I am using ROOT with CMSSW, and a lot of the branches I’m looking at contain objects with multiple different methods and such. Using the TBrowser, I can see all of the different methods available under the branches. However, when I use TTree-\>Print() or edmDumpEventContent I only get the branches. I was wondering is there a way to get the object information I am referring to without using the TBrowser? It feels like there should be an option to print it out somewhere, as using the GUI can be painfully slow if I am ssh’d onto LXPlus for instance. Any help is appreciated and let me know if there’s any other information I should provide, thanks.

* * *

\_ROOT Version: 6.24/07

* * *

---

<div class="post-metadata">

**Author:** ![jonas](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/jonas/32/24756_2.png) [@jonas](https://root-forum.cern.ch/u/jonas)\
**Post date:** [July 31, 2023, 11:56am UTC](https://root-forum.cern.ch/t/accessing-object-information-available-in-tbrowser-without-gui/55849/2 "2023-07-31T11:56:27Z")

</div>

Hi @Lynne!

This kind of information can be retrieved from the [TClass](https://root.cern.ch/doc/master/classTClass.html) that represents the class of your object. You just need to call [IsA()](https://root.cern.ch/doc/master/classTObject.html#acf2968a9f099ea5e21d2c4de869721e1) on your object to get a `TClass *` pointer. Then you can use for example [TClass::GetListOfMethods()](https://root.cern.ch/doc/master/classTClass.html#a5648dadc9ffaf897181fcc6309e7c9d3) to get all the methods defined for that class.

Is that a step in the right direction? Let us know if you need more help!

Cheers,  
Jonas
