# Create Different Branchs Same Tree at ROOT File

**URL:** <https://root-forum.cern.ch/t/create-different-branchs-same-tree-at-root-file/52344>\
**Category:** ROOT\
**Tags:** tree, root\
**Created:** [November 13, 2022, 2:09pm UTC](https://root-forum.cern.ch/t/create-different-branchs-same-tree-at-root-file/52344 "2022-11-13T14:09:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rabiatuylek](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/r/e99b99/32.png) [@rabiatuylek](https://root-forum.cern.ch/u/rabiatuylek)\
**Post date:** [November 13, 2022, 2:09pm UTC](https://root-forum.cern.ch/t/create-different-branchs-same-tree-at-root-file/52344/1 "2022-11-13T14:09:55Z")

</div>

Hello ROOT Users,

I created a Root file which I was made from own data. But ı have a problem. I have 1 TTree and that’s name is “nominal” and I have 1 branch which called is jet\_pt. I want to add 1 data which called is jet\_eta but in the same Tree. When I add new data which called is jet\_eta, Root file has 2 different Trees. But I do not want this. Just, I want 2 branches (2 leaves) at the same Tree. How can I make this?

Thank you…  
Rabia Tüylek

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [November 13, 2022, 2:11pm UTC](https://root-forum.cern.ch/t/create-different-branchs-same-tree-at-root-file/52344/2 "2022-11-13T14:11:59Z")

</div>

> [@Aux;1 aux;2 aux3;](https://root-forum.cern.ch/t/aux-1-aux-2-aux3/13345):
>
> Hello! I’m filling a tree and after I, sometimes, get this funny behavior AUX;1 AUX;2 with the same histograms inside but with different events in each ;1 and ;2… Can somebody please tell me why this is happening? Many thanks, Stefanos

---

<div class="post-metadata">

**Author:** ![rabiatuylek](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/r/e99b99/32.png) [@rabiatuylek](https://root-forum.cern.ch/u/rabiatuylek)\
**Post date:** [November 13, 2022, 2:23pm UTC](https://root-forum.cern.ch/t/create-different-branchs-same-tree-at-root-file/52344/3 "2022-11-13T14:23:19Z")

</div>

Yeah, I do not want tree;1 and tree;2. Just, I desire 1 Tree in made of 2 branches.

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [November 27, 2022, 2:23pm UTC](https://root-forum.cern.ch/t/create-different-branchs-same-tree-at-root-file/52344/4 "2022-11-27T14:23:49Z")

</div>

Closed on November 27, 2022, 2:23pm UTC

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