# Problem with creating TF1 from RooFitResult

**URL:** <https://root-forum.cern.ch/t/problem-with-creating-tf1-from-roofitresult/17240>\
**Category:** Roofit and RooStats\
**Created:** [February 19, 2014, 3:22pm UTC](https://root-forum.cern.ch/t/problem-with-creating-tf1-from-roofitresult/17240 "2014-02-19T15:22:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![poniatowska](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/p/bb73d2/32.png) [@poniatowska](https://root-forum.cern.ch/u/poniatowska)\
**Post date:** [February 19, 2014, 3:22pm UTC](https://root-forum.cern.ch/t/problem-with-creating-tf1-from-roofitresult/17240/1 "2014-02-19T15:22:07Z")

</div>

I started to working with RooFit and I stuck on one problem. I made RooFFTConvPdf and after fitting I have RooFitResult object and I want to write this fit function, as a TF1 object. I found that it is possible to convert RooAbsReal into TF1 using asTF() function, but I don’t know how connect RooFitReault with RooAbsReal. If someone can help me and show how take out TF1 from RooFitResult.

Thanks, Kasia
