# Saving Tlist in root file

**URL:** <https://root-forum.cern.ch/t/saving-tlist-in-root-file/29366>\
**Category:** ROOT\
**Created:** [June 14, 2018, 1:55pm UTC](https://root-forum.cern.ch/t/saving-tlist-in-root-file/29366 "2018-06-14T13:55:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![linev](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@linev](https://root-forum.cern.ch/u/linev)\
**Post date:** [June 14, 2018, 4:30pm UTC](https://root-forum.cern.ch/t/saving-tlist-in-root-file/29366/2 "2018-06-14T16:30:34Z")

</div>

Hi Diallo,

When you saving TList into the file, you should specify extra option:

```
file->cd()
lst->Write("name", 1)

```

Regards,  
Sergey

---

_[View the full topic](https://root-forum.cern.ch/t/saving-tlist-in-root-file/29366)._
