Hi,
what is "Model" in your example code?
There are a range of issues with using RooFit from python. First, (common for plotOn, but that should've been fixed), the "using" declaration does not propagate through CINT dictionaries, so PyROOT is blind to it. Second, RooFit likes to cast const away from temporary variables. Third, RooFit likes to overload methods on both a derived as well as a base class. These last two, I consider bugs in RooFit, as they can bite you from C++ (it's just worse when used from python due to slightly different scoping rules).
In general, I recommend not to use RooFit from python.
Best regards,
Wim
-- WLavrijsen_at_lbl.gov -- +1 (510) 486 6411 -- www.lavrijsen.netReceived on Wed Apr 11 2012 - 22:25:48 CEST
This archive was generated by hypermail 2.2.0 : Wed Apr 11 2012 - 23:50:01 CEST