Opened 11 years ago
Closed 11 years ago
#602 closed defect (fixed)
Example Zprime.sin triggers a bug
Reported by: | Juergen Reuter | Owned by: | kilian |
---|---|---|---|
Priority: | P1 | Milestone: | v2.2.0 |
Component: | core | Version: | 2.1.1 |
Severity: | normal | Keywords: | |
Cc: |
Description
The example Zprime.sin triggers
| Generating 100000 weighted, unpolarized events ... | | |===================================================================| | | % complete | events generated | events remaining | time remaining | |===================================================================| | 0.0 0 100000 ??? ****************************************************************************** ****************************************************************************** *** WHIZARD BUG: Event: write raw: particle set is undefined ****************************************************************************** ****************************************************************************** | There were no errors and 1 warning(s). WHIZARD run aborted.
Per definition, this _is_ a WHIZARD bug.
Change History (4)
comment:1 Changed 11 years ago by
comment:3 Changed 11 years ago by
OK, this is caused by events which did not pass the cuts.
We might store these as events with weight zero, but actually the particle set is not even filled. (It wouldn't matter, of course.) These events should probably not count for n_events
when generating weighted events, just be dropped silently.
comment:4 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
r5335: weighted events are dropped if they do not contain a valid particle set.
Note: See
TracTickets for help on using
tickets.
Actually, it is the
?unweighted = false
flag that triggers this bug.