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.
BCGraphFitter
Description:The BCTemplate fitter allows to fit several ROOT TH1D histograms ("templates") to a data distribution. The bin entries are assumed to fluctuate independently according to Poisson distributions.
Authors:- Kevin Kröninger, University of Göttingen
- /examples/advanced/templatefitter/hypothesis: An example on hypothesis testing.
- /examples/advanced/templatefitter/0nubb: An example where a signal peak on top of a flat background is searched for.
- /examples/advanced/templatefitter/Whel: An example where several contributions to an angular distribution are fitted to data.
- Available in the current release under /models.
- See current reference guide.
![]() |
An angular distribution (histogram) fitted with a set of templates. The bottom plot shows the deviation between data and MC. |