whizard is hosted by Hepforge, IPPP Durham

Opened 10 years ago

Closed 10 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 10 years ago by Juergen Reuter

Actually, it is the ?unweighted = false flag that triggers this bug.

comment:2 Changed 10 years ago by kilian

Status: newassigned

No idea, but I'll look at it.

comment:3 Changed 10 years ago by kilian

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 10 years ago by kilian

Resolution: fixed
Status: assignedclosed

r5335: weighted events are dropped if they do not contain a valid particle set.

Note: See TracTickets for help on using tickets.