My Notes on RooFit with Python

Importing an object into a RooWorkSpace

if ws is a RooWorkSpace and obj an object to be imported to it, ws.import(obj) will not work in python because import is a reserved keyword in python.

The following however will do the trick:


Defining a power law PDF


How to get the normalization value from a RooExtendPdf


-- AndreHolzner - 17-Sep-2012

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2012-09-27 - AndreHolzner
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback