# Errors in TUnfold using Roounfold

**URL:** <https://root-forum.cern.ch/t/errors-in-tunfold-using-roounfold/55920>\
**Category:** Newbie\
**Created:** [August 4, 2023, 10:57am UTC](https://root-forum.cern.ch/t/errors-in-tunfold-using-roounfold/55920 "2023-08-04T10:57:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pjana](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/p/9d8465/32.png) [@pjana](https://root-forum.cern.ch/u/pjana)\
**Post date:** [August 4, 2023, 10:57am UTC](https://root-forum.cern.ch/t/errors-in-tunfold-using-roounfold/55920/1 "2023-08-04T10:57:08Z")

</div>

Dear experts,

I am doing unfolding Roounfold. I am following the instructions from here.

> **[examples/RooUnfoldExample.cxx · master · RooUnfold / RooUnfold · GitLab](https://gitlab.cern.ch/RooUnfold/RooUnfold/-/blob/master/examples/RooUnfoldExample.cxx)**
>
> RooUnfold is a framework for unfolding within the ROOT environment, implementing a number of specific algorithms.

I can do SVD and Bayes following this script. But when I am trying to do TUnfold, it is showing error like:

> IncrementalExecutor::executeFunction: symbol ‘_ZN17RooUnfoldTUnfoldTI3TH13TH2EC1EPK18RooUnfoldResponseTIS0\_S1\_EPKS0\_N7TUnfold8ERegModeEbPKcSC_’ unresolved while linking function ‘\_GLOBAL\_\_sub\_I\_cling\_module\_11’!  
> You are probably missing the definition of RooUnfoldTUnfoldT\<TH1, TH2\>::RooUnfoldTUnfoldT(RooUnfoldResponseT\<TH1, TH2\> const\*, TH1 const\*, TUnfold::ERegMode, bool, char const\*, char const\*)  
> Maybe you need to load the corresponding shared library?  
> define hists  
> Warning in TFile::Append: Replacing existing TH1: response (Potential memory leak).  
> Warning in TFile::Append: Replacing existing TH1: response (Potential memory leak).  
> Warning in TFile::Append: Replacing existing TH1: response (Potential memory leak).  
> file 5270000  
> output\_tree 5270000  
> ======================================Response matrix=========================
> 
> \*\*\* Break \*\*\* segmentation violation
> 
> # =========================================================== There was a crash. This is the entire stack trace of all threads:
> 
> #0 0x00007f10c20b760c in waitpid () from /lib64/libc.so.6  
> #1 0x00007f10c2034f62 in do\_system () from /lib64/libc.so

Any suggestions would be helpful for me.  
Thank you!

---

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [August 4, 2023, 4:26pm UTC](https://root-forum.cern.ch/t/errors-in-tunfold-using-roounfold/55920/2 "2023-08-04T16:26:37Z")

</div>

Hi

RooUnfold is not part of ROOT. Please ask directly the question to the RooUnfold author or maintainers.

Best,

Lorenzo

---

<div class="post-metadata">

**Author:** ![pjana](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/p/9d8465/32.png) [@pjana](https://root-forum.cern.ch/u/pjana)\
**Post date:** [August 5, 2023, 4:39am UTC](https://root-forum.cern.ch/t/errors-in-tunfold-using-roounfold/55920/3 "2023-08-05T04:39:48Z")

</div>

Ok, I would try to contact to RooUnfold authors.  
Many thanks!
