This C++ version of BAT is still being maintained, but addition of new features is unlikely. Check out our new incarnation, BAT.jl, the Bayesian analysis toolkit in Julia. In addition to Metropolis-Hastings sampling, BAT.jl supports Hamiltonian Monte Carlo (HMC) with automatic differentiation, automatic prior-based parameter space transformations, and much more. See the BAT.jl documentation.
BCEfficiencyFitter
Description:The BCEfficiencyFitter allows to fit a ROOT TF1 function to the ratio of two ROOT TH1D histograms. The uncertainty on the expectation value in each bin is assumed to be Binomial, and thus non-symmetric around the ratio of entries in this bin. The ratio is assumed to be between 0 and 1, i.e., one histogram contains a subset of the other.
Authors:- Daniel Kollar, CERN
- Kevin Kröninger, University of Göttingen
- Available in the current release under /examples/basic/efficiencyfitter.
- Available in the current release under /models.
- See current reference guide.
![]() |
Left: Two histograms where one (red) is a subset of the other (black). Right: Ratio of the histograms ("data") and fit function (red curve) with uncertainty bands (yellow band). The uncertainties on the data points are calculated assuming a binomial distribution. |