#96 closed defect (fixed)
cuts are not evaluated when a previous particle list is empty
Reported by: | Juergen Reuter | Owned by: | kilian |
---|---|---|---|
Priority: | P3 | Milestone: | |
Component: | core | Version: | 2.0.0alpha |
Severity: | major | Keywords: | Parsing of input files |
Cc: |
Description (last modified by )
It seems that WHIZARD 2 misunderstands the input from the .in file, when a consecutive order of seed, cut, integrate, show(results) statements are invoked. I attach both the input and the output files.
WK: The real problem is that the cuts on quarks are not used at all if cuts on leptons (which don't exist in the process) are present.
Attachments (2)
Change History (4)
Changed 15 years ago by
comment:1 Changed 15 years ago by
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Summary: | Destructive interference between cut, show, seed, and integrate statementes → cuts are not evaluated when a previous particle list is empty |
The all
function was not evaluated if its argument was unknown. Then, the whole cut was unknown and was ignored. This happened if the argument was empty. The correct behavior is to return true in that case, so further expressions (additional cuts) are evaluated.
Fixed in [1372].
Furthermore, the cut list should read
cuts = all 5 degree < Theta < 175 degree [lepton] and all 5 degree < Theta [lepton, lepton] and all E > 10 GeV [lepton] and all 5 degree < Theta < 175 degree [quark] and all 5 degree < Theta [lepton, quark] and all E > 10 GeV [quark] and all M > 10 GeV [combine [quark, quark]]
input file