#75 closed enhancement (fixed)
question: setNBkgndEvents with LauFormulaPar
Reported by: | guest | Owned by: | Thomas Latham |
---|---|---|---|
Priority: | major | Milestone: | v3r4 |
Version: | v3r2 | Keywords: | |
Cc: |
Description
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)
comment:1 Changed 7 years ago by
Owner: | set to Thomas Latham |
---|---|
Status: | new → assigned |
Version 0, edited 7 years ago
by
(next)
comment:2 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 7 years ago by
Milestone: | → v3r4 |
---|---|
Type: | defect → enhancement |
Note: See
TracTickets for help on using
tickets.
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/latest/classLauFitObject.html#acc04aee868c227f8873587865cb18497