# More than one tree with same treename in a root file

**URL:** <https://root-forum.cern.ch/t/more-than-one-tree-with-same-treename-in-a-root-file/46714>\
**Category:** ROOT\
**Tags:** tree, root\
**Created:** [September 7, 2021, 8:14am UTC](https://root-forum.cern.ch/t/more-than-one-tree-with-same-treename-in-a-root-file/46714 "2021-09-07T08:14:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dastudillo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/dastudillo/32/17280_2.png) [@dastudillo](https://root-forum.cern.ch/u/dastudillo)\
**Post date:** [September 7, 2021, 9:19am UTC](https://root-forum.cern.ch/t/more-than-one-tree-with-same-treename-in-a-root-file/46714/2 "2021-09-07T09:19:20Z")

</div>

For Q2, I suppose you see inside the file something like

```auto
tree;1
tree;2

```

and so on. If that’s the case, just getting the tree without numbers (Get(“tree”)) should be enough, as ROOT takes the highest number by default, giving access to all data. Read about namecycle by searching at [Get Started - ROOT](https://root.cern/get_started/) (use the top right loupe icon), or search for that word on this forum or documentation; e.g. [Aux;1 aux;2 aux3;](https://root-forum.cern.ch/t/aux-1-aux-2-aux3/13345/)

---

_[View the full topic](https://root-forum.cern.ch/t/more-than-one-tree-with-same-treename-in-a-root-file/46714)._
