# TTree compression factor 1.00

**URL:** <https://root-forum.cern.ch/t/ttree-compression-factor-1-00/31850>\
**Category:** ROOT\
**Tags:** tree\
**Created:** [December 2, 2018, 4:53pm UTC](https://root-forum.cern.ch/t/ttree-compression-factor-1-00/31850 "2018-12-02T16:53:10Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [December 2, 2018, 6:32pm UTC](https://root-forum.cern.ch/t/ttree-compression-factor-1-00/31850/3 "2018-12-02T18:32:41Z")

</div>

Try to enforce the compression algorithm and its level, e.g.:  
[`TFile *f = TFile::Open("f.root", "RECREATE", "", 101); // 101 = 100 * ROOT::kZLIB + 1`](https://root-forum.cern.ch/t/help-on-method-s-to-create-tree-from-multi-fold-gamma-ray-coincidence-data/29704/19)

---

_[View the full topic](https://root-forum.cern.ch/t/ttree-compression-factor-1-00/31850)._
