This python class is based on RooFit and allows to perform binned and unbinned fits. An example of fit can be found in /tutorial:
- The tutorial sample
tutorial.rootis already generated, if you want to generate another sample you can do:python tutorial.py config_tutorial_fit.json --gen_tutorial
- Run the fit on the toy sample
python tutorial.py config_tutorial_fit.json --do_fit
- In the analysis repository run the command:
python runDQFitter.py config_analysis.json --do_fit
For validation of the code use the reference: