#42 closed defect (fixed)
Generator iterating eternally
Reported by: | guest | Owned by: | Thomas Latham |
---|---|---|---|
Priority: | major | Milestone: | v2r2p1 |
Version: | v2r2 | Keywords: | |
Cc: |
Description
Dear developpers,
I got a problem when choosing a parameter (alpha) for BelleNR amplitude. When this parameter is too big, and thus events at high mass become too rare, the generator starts iterating ad vitam eternam without stopping...:
ERROR in LauAbsFitModel::generate : Problem in toy MC generation. Starting again with updated parameters... INFO in LauAbsFitModel::generate : Generating experiment number 0
In this case, the generation problem is due to the aSqMax limit.
Cheers A.Hicheur
Change History (5)
comment:1 Changed 10 years ago by
Owner: | set to Thomas Latham |
---|---|
Status: | new → assigned |
Version: | → v2r2 |
comment:2 Changed 10 years ago by
Status: | assigned → testing |
---|
comment:3 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | testing → closed |
Resetting the max number of iterations in LauIsobarDynamics::checkToyMC does improve things but then the generation is done after quiet a long time.
The suggestion would be to trigger a warning message about e.g., a too diverging amplitude, possibly with the position in DP, so that the user knows more precisely what is happening.
comment:5 Changed 10 years ago by
Milestone: | → v2r2p1 |
---|
(In [179]) Improve the checks on why toy MC generation fails in the case of exceeding max iterations, oktotest #42