How to use the pyroofit.composites.ProdPdf function in pyroofit

To help you get started, we’ve selected a few pyroofit examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github simonUU / PyrooFit / tests / test_composites.py View on Github external
def test_ProdPdf():
    import ROOT
    df = get_test_df()
    assert isinstance(df, pd.DataFrame)

    bkg = Chebychev(('mbc', 0, 1))
    sig = Gauss(('mbc', 0, 1))

    pdf = sig*bkg

    assert isinstance(pdf, ProdPdf)
    assert isinstance(pdf.roo_pdf, ROOT.RooAbsPdf)

pyroofit

Python wrapper for RooFit to create fits easily with pandas DataFrames.

MIT
Latest version published 4 years ago

Package Health Score

39 / 100
Full package analysis

Similar packages