whizard is hosted by Hepforge, IPPP Durham

Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#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 kilian)

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)

bug5.in (1.8 KB) - added by Juergen Reuter 15 years ago.
input file
whizard.log (6.3 KB) - added by Juergen Reuter 15 years ago.
log file

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by Juergen Reuter

Attachment: bug5.in added

input file

Changed 15 years ago by Juergen Reuter

Attachment: whizard.log added

log file

comment:1 Changed 15 years ago by kilian

Description: modified (diff)
Resolution: fixed
Status: newclosed
Summary: Destructive interference between cut, show, seed, and integrate statementescuts 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]]

comment:2 Changed 14 years ago by Juergen Reuter

Milestone: v2.0.0final

Milestone v2.0.0final deleted

Note: See TracTickets for help on using tickets.