HypoTestInverter takes too long time to run

Dear experts,
I used the python version of RooStats.
When I try to use the test-inversion method to give the upper limit, the code is sensitive to the number of points in SetFixedScan.
11 is OK and the code runs fast. But if I change it to 12, the code will run long and no result will be given.
The workspace I used is as follows.
workspace.root (13.1 KB)

Some concerning code is as follows.

asympCalc = ROOT.RooStats.AsymptoticCalculator(data, bModel, mc)
inverter = ROOT.RooStats.HypoTestInverter(asympCalc)
result = inverter.GetInterval()

How can I fix this problem? Thanks in advance!

I guess @moneta can help you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.