HypoTestInverter - B model has no pdf or observables defined

Dear all,
I am using root 6.18/04 and I get the following error:

[#0] ERROR:InputArguments -- HypoTestInverter - B model has no pdf or observables defined

when running this line:

HypoTestInverter calc(fc);

Please find in attachment the script exercise_2.C - you can run it like this:
root -l exercise_2.C
and the needed root file Workspace_mumufit.root - it contains the workspace.

Any help will be greatly appreciated.

Regards,
Marco Bomben

Hi Marco,

It says that either pdf or observables haven’t been defined. Given that you defined the pdf, try setting the observable(s).

I just tried

  bModel.SetObservables("mass");

and that works fine, but you have to check if that’s the actual observable.

Thanks a lot Stephan! That solved the error message.
Regards,
Marco Bomben

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