# Histograms in TBrowser?

**URL:** <https://root-forum.cern.ch/t/histograms-in-tbrowser/13604>\
**Category:** ROOT\
**Created:** [January 13, 2012, 4:57pm UTC](https://root-forum.cern.ch/t/histograms-in-tbrowser/13604 "2012-01-13T16:57:29Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Hobbybastler](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/4af34b/32.png) [@Hobbybastler](https://root-forum.cern.ch/u/Hobbybastler)\
**Post date:** [January 13, 2012, 4:57pm UTC](https://root-forum.cern.ch/t/histograms-in-tbrowser/13604/1 "2012-01-13T16:57:29Z")

</div>

Hi  
i have a tree where one branch holds a signal of type

```auto
Double_t signal[1000];
```

When i open the tree in a TBrowser and double-click this branch i get a histogram containing the values from all entries (i.e. number of entries in the tree \* 1000). Is there a convenient way of getting the histogram for a single entry (i.e. signal[i] is content of bin i)?  
Also, sometimes when the Branch holds a single value, e.g.

```auto
Double_t amp;
```

I want to have a graph/histogram with the eventnumber on the y-axis.  
Is there any method that i could override (e.g. in TBranch) to add my custom way of creating the histogram that is shown on double-click in the TBrowser?

---

_[View the full topic](https://root-forum.cern.ch/t/histograms-in-tbrowser/13604)._
