-
- Downloads
[RF] Introducing binned likelihood fit optimization in HistFactory
In a binned likelihood fit, it is possible to skip the PDF normalization when the unnormalized binned PDF can be interpreted directly in terms of event yields. This is now done by default for models HistFactory models, which results in great speedups for binned fits with many channels. Some RooFit users like ATLAS were already using this for a long time, so this feature is battle-tested. To disable this optimization when using the `hist2workspace` executable, add the `-disable_binned_fit_optimization` command line argument. Directly in C++, you can also set the `binnedFitOptimization` to `false` in the HistFactory configuration as follows: ```C++ RooStats::HistFactory::MakeModelAndMeasurementFast(measurement, {.binnedFitOptimization=false}); ``` If your compiler doesn't support aggregate initialization with designators, you need to create and edit the configuration struct explicitely: ```C++ RooStats::HistFactory::HistoToWorkspaceFactoryFast::Configuration hfCfg; hfCfg.binnedFitOptimization = false; RooStats::HistFactory::MakeModelAndMeasurementFast(measurement, hfCfg); ```
Showing
- README/ReleaseNotes/v628/index.md 22 additions, 0 deletionsREADME/ReleaseNotes/v628/index.md
- roofit/histfactory/inc/RooStats/HistFactory/HistoToWorkspaceFactoryFast.h 11 additions, 7 deletions...ry/inc/RooStats/HistFactory/HistoToWorkspaceFactoryFast.h
- roofit/histfactory/inc/RooStats/HistFactory/MakeModelAndMeasurementsFast.h 5 additions, 3 deletions...y/inc/RooStats/HistFactory/MakeModelAndMeasurementsFast.h
- roofit/histfactory/src/HistoToWorkspaceFactoryFast.cxx 11 additions, 9 deletionsroofit/histfactory/src/HistoToWorkspaceFactoryFast.cxx
- roofit/histfactory/src/MakeModelAndMeasurementsFast.cxx 4 additions, 7 deletionsroofit/histfactory/src/MakeModelAndMeasurementsFast.cxx
- roofit/histfactory/src/hist2workspace-argparse.py 11 additions, 12 deletionsroofit/histfactory/src/hist2workspace-argparse.py
- roofit/histfactory/src/hist2workspace.cxx 7 additions, 17 deletionsroofit/histfactory/src/hist2workspace.cxx
Loading
Please register or sign in to comment