About

sweights is a package which can implement various different methods for projecting out a particular component in a control variable based on the distribution in a discriminating variable. It is based on the work described in arXiv:2112.04574.

For a basic tour of what the package does then see the tutorial.

If you are used to using RooFit and already have your fit setup this way then we also provide a wrapper to convert a RooFit pdf into the format expected here. You can take a look at the converter.

The intention is to eventually port this package to scikit-hep.

Maintainers

  • Matthew Kenzie (@matthewkenzie)