This is an example of unfolding a two-dimensional distribution.
Also using an auxiliary measurement to constrain some background
The example comprises several macros:
- testUnfold5a.C create root files with TTree objects for signal, background and data.
- write files:
- testUnfold5_signal.root
- testUnfold5_background.root
- testUnfold5_data.root
- testUnfold5b.C create a root file with the TUnfoldBinning objects -> write file testUnfold5_binning.root
- testUnfold5c.C loop over trees and fill histograms based on the TUnfoldBinning objects
- read:
- testUnfold5_binning.root
- testUnfold5_signal.root
- testUnfold5_background.root
- testUnfold5_data.root
- write:
- testUnfold5_histograms.root
- testUnfold5d.C run the unfolding
- read:
- testUnfold5_histograms.root
- write:
- testUnfold5_result.root
- testUnfold5_result.ps