# Problem with TCutG in Ttree-\>Draw

**URL:** <https://root-forum.cern.ch/t/problem-with-tcutg-in-ttree-draw/32858>\
**Category:** Newbie\
**Created:** [February 22, 2019, 1:49pm UTC](https://root-forum.cern.ch/t/problem-with-tcutg-in-ttree-draw/32858 "2019-02-22T13:49:00Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [February 22, 2019, 3:00pm UTC](https://root-forum.cern.ch/t/problem-with-tcutg-in-ttree-draw/32858/5 "2019-02-22T15:00:42Z")

</div>

> [@How to search for a value in ntuple and get the index?](https://root-forum.cern.ch/t/how-to-search-for-a-value-in-ntuple-and-get-the-index/32095/5):
>
> See “Saving the result of Draw to a [TEventList](https://root.cern.ch/doc/master/classTEventList.html), a [TEntryList](https://root.cern.ch/doc/master/classTEntryList.html) or a [TEntryListArray](https://root.cern.ch/doc/master/classTEntryListArray.html)” and then " Using a [TEventList](https://root.cern.ch/doc/master/classTEventList.html), [TEntryList](https://root.cern.ch/doc/master/classTEntryList.html) or [TEntryListArray](https://root.cern.ch/doc/master/classTEntryListArray.html) as Input" in the [TTree::Draw](https://root.cern.ch/doc/master/classTTree.html#a73450649dc6e54b5b94516c468523e45) method description.

---

_[View the full topic](https://root-forum.cern.ch/t/problem-with-tcutg-in-ttree-draw/32858)._
