Hello
I am trying to use RooFit from python and my one day experience is not
so good, just because of choice of python one has to find various
workarounds.
Things which should be trivial are not working, I have a pdf and a
variable, now I want to create integral object
In [1]: pdf
Out[1]: <ROOT.RooHistPdf object ("W") at 0xb3eb7c8>
In [2]: mt
Out[2]: <ROOT.RooRealVar object ("mt") at 0xb3d2630>
none of attempts below work
pdf.createIntegral(mt) pdf.createIntegral(ROOT.RooArgSet(mt)) pdf.createIntegral(ROOT.RooArgSet(mt), ROOT.RooArgSet(mt))arg = ROOT.RooArgSet(mt)
either cannot convert arguments or wants more arguments.
Any help? Maybe RooFit/PyRoot pages should explicitly say "python is not supported", which will be pity, but ...
Thanks,
Margar
This archive was generated by hypermail 2.2.0 : Tue Nov 22 2011 - 23:50:02 CET