This shows you the differences between two versions of the page.
— | root:componentspyrootroofit [2011/10/19 15:40] (current) – created decianm | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Drawing components of pdfs in RooFit with pyRoot ====== | ||
+ | Instead of doing: | ||
+ | <code python> | ||
+ | sum.plotOn(xframe, | ||
+ | </ | ||
+ | you have to do: | ||
+ | <code python> | ||
+ | argset = RooArgSet(BG) | ||
+ | sum.plotOn(xframe, | ||
+ | </ |