# Why I use tree-\>Draw("branch") but got nothing?

**URL:** <https://root-forum.cern.ch/t/why-i-use-tree-draw-branch-but-got-nothing/51740>\
**Category:** Newbie\
**Created:** [September 28, 2022, 9:09am UTC](https://root-forum.cern.ch/t/why-i-use-tree-draw-branch-but-got-nothing/51740 "2022-09-28T09:09:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dyson](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/dyson/32/30894_2.png) [@Dyson](https://root-forum.cern.ch/u/Dyson)\
**Post date:** [September 28, 2022, 9:09am UTC](https://root-forum.cern.ch/t/why-i-use-tree-draw-branch-but-got-nothing/51740/1 "2022-09-28T09:09:38Z")

</div>

mode3-\>Print() //mode3 is a tree name in a root file

* * *

\*Tree :mode3 : ks N-Tuple example \*  
\*Entries : 0 : Total = 18194 bytes File Size = 1708 \*

- 

```
   : : Tree compression factor = 1.00 *

```

* * *

\*Br 0 :deltaE\_pkpi\_3 : deltaE\_pkpi\_3/D \*  
\*Entries : 0 : Total Size= 525 bytes One basket in memory \*  
\*Baskets : 0 : Basket Size= 32000 bytes Compression= 1.00 \*  
…

mode3-\>Draw(“deltaE\_pkpi\_3”)

//then nothing comes out…  
//What’s wrong here? In vscode I can see the branch in a histogram form.  
//Also, if I write a histogram in a root file, I cannot draw the histogram at the same time, and if a draw a histogram from a root file instead of using TBrowser b, I got an empty canvas…  
Thank you very much 😉

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [September 28, 2022, 9:17am UTC](https://root-forum.cern.ch/t/why-i-use-tree-draw-branch-but-got-nothing/51740/2 "2022-09-28T09:17:45Z")

</div>

Hi @Dyson ,

> [@Dyson](#):
>
> Entries : 0

Your dataset is empty 👆 . There is probably an issue with the program that writes it out.

Cheers,  
Enrico
