# How to write two different trees into one file?

**URL:** <https://root-forum.cern.ch/t/how-to-write-two-different-trees-into-one-file/24496>\
**Category:** ROOT\
**Tags:** tree\
**Created:** [April 21, 2017, 4:17am UTC](https://root-forum.cern.ch/t/how-to-write-two-different-trees-into-one-file/24496 "2017-04-21T04:17:52Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [April 21, 2017, 7:27am UTC](https://root-forum.cern.ch/t/how-to-write-two-different-trees-into-one-file/24496/3 "2017-04-21T07:27:39Z")

</div>

Also see [How to Quickly Inspect the Content of a File?](https://root-forum.cern.ch/t/how-to-quickly-inspect-the-content-of-a-file/38086)

---

_[View the full topic](https://root-forum.cern.ch/t/how-to-write-two-different-trees-into-one-file/24496)._
