# Getting TGraph from TChain

**URL:** <https://root-forum.cern.ch/t/getting-tgraph-from-tchain/17904>\
**Category:** ROOT\
**Created:** [July 14, 2014, 3:28pm UTC](https://root-forum.cern.ch/t/getting-tgraph-from-tchain/17904 "2014-07-14T15:28:18Z")\
**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:** [July 14, 2014, 3:54pm UTC](https://root-forum.cern.ch/t/getting-tgraph-from-tchain/17904/3 "2014-07-14T15:54:36Z")

</div>

TGraph \*g = ((TGraph \*)((c.GetPrimitive(“Graph”)).Clone(“MyNewGraph”)));  
TGraph \*g = ((TGraph \*)((c.FindObject(“Graph”)).Clone(“MyNewGraph”)));

---

_[View the full topic](https://root-forum.cern.ch/t/getting-tgraph-from-tchain/17904)._
