question: setNBkgndEvents with LauFormulaPar
Hello,
Since I want to fix the ratio of yields of different background components, I make one of the yield by using LauFormulaPar. But it looks like the setNBkgndEvents function of LauCPFitModel/LauAbsFitModel cannot accept using LauFormulaPar as input. Is there anyway to fix the ratio between yields of different components?
Thank you.
Change History (3)
Owner: |
set to Thomas Latham
|
Status: |
new →
assigned
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
Milestone: |
→ v3r4
|
Type: |
defect →
enhancement
|
Thanks for reporting this issue. I will look into whether it is feasible to change the argument to this function to be a pointer to LauAbsRValue, which will allow you to provide a LauFormulaPar. In the meantime, you can make such a constraint via the addConstraint function inherited from LauFitObject, see: https://laura.hepforge.org/doc/doxygen/v3r2/classLauFitObject.html#acc04aee868c227f8873587865cb18497