# Software for large scale fitting histograms

**URL:** <https://root-forum.cern.ch/t/software-for-large-scale-fitting-histograms/47266>\
**Category:** Evolution Proposals, Apps & Ideas\
**Tags:** hist\
**Created:** [October 16, 2021, 9:28am UTC](https://root-forum.cern.ch/t/software-for-large-scale-fitting-histograms/47266 "2021-10-16T09:28:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rlalik](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/rlalik/32/25117_2.png) [@rlalik](https://root-forum.cern.ch/u/rlalik)\
**Post date:** [October 16, 2021, 9:28am UTC](https://root-forum.cern.ch/t/software-for-large-scale-fitting-histograms/47266/1 "2021-10-16T09:28:28Z")

</div>

Hi,

please have a loot at [https://github.com/rlalik/FitterFactory/](https://github.com/rlalik/FitterFactory/) fitting tool.

This is a piece of software that I wrote and which save my ass while my phd work when I had to fit couple of hundreds if not thousands histograms, requiring manual tuning of fit parameters and refitting again to improve.

It is a simple library which takes as input a text file with fit functions and parameters. After the fit the file is updated with new values or auxiliary file is created, which can be used for next iteration of fitting if necessary.

The library supports c++ to c++17 (tested with). Recently I made large refactoring of the code. If you like, and you have some wishes for new functionality, just let me know.

Regards and have a nice fitting!  
Rafał

---

<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:** [October 18, 2021, 8:18am UTC](https://root-forum.cern.ch/t/software-for-large-scale-fitting-histograms/47266/2 "2021-10-18T08:18:56Z")

</div>

Hi

Thank you for your message. This can be certainly a useful tool for these use case of fitting several histograms. It is good then you advertise here your tool.

If you have any feedback concerning the ROOT histogram fitting, I would be very grateful for this. You can contact me also directly by email

Lorenzo
