whizard is hosted by Hepforge, IPPP Durham

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#156 closed defect (fixed)

W2 lets you change sqrts without effect

Reported by: sschmidt Owned by: ALL
Priority: P3 Milestone:
Component: documentation Version: 2.0.0beta
Severity: normal Keywords: input file
Cc:

Description

You can change sqrts after the beams statement, without having effect (all subsequent integrate commands will use the initial sqrts) and without any warnings (This confused me a bit).

This might be needed for scanning different values of sqrts. See the attached file for an example.

Attachments (1)

bug7.sin (410 bytes) - added by sschmidt 14 years ago.

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by sschmidt

Attachment: bug7.sin added

comment:1 Changed 14 years ago by Juergen Reuter

Milestone: v2.0finalv2.0-rc2

comment:2 Changed 14 years ago by kilian

Component: interfacesdocumentation
Milestone: v2.0-rc2v2.0final

A scan over sqrts should always redefine the beams statement (if there is one). It is natural that integrate takes its information from the beams statement.

I don't see a fix, but it should be properly documented in the description of beams/integrate.

comment:3 Changed 14 years ago by Juergen Reuter

Milestone: v2.0finalv2.0-rc3

comment:4 Changed 14 years ago by kilian

Resolution: fixed
Status: newclosed

r1769 adds a consistency check and implements a (non-fatal) error when sqrts and beam disagree.

Note that for a sqrts scan, the 'beams = ' statement, if needed, must be inside the loop.

comment:5 Changed 14 years ago by Juergen Reuter

Milestone: v2.0-rc3

Milestone v2.0-rc3 deleted

Note: See TracTickets for help on using tickets.