Opened 15 years ago
Closed 15 years ago
#264 closed task (fixed)
Allow manipulation of integrals and decay partial widths / BRs
Reported by: | kilian | Owned by: | kilian |
---|---|---|---|
Priority: | P2 | Milestone: | v2.0.2 |
Component: | core | Version: | 2.0.0rc3 |
Severity: | normal | Keywords: | |
Cc: |
Description
Currently, for determining branching fractions and for determining event numbers in simulation, WHIZARD uses the integrals it has calculated itself. The user should be able to modify the results, so he can manually insert K factors or measured cross sections / branching fractions while keeping the benefit of WHIZARD's phase space sampling. In particular, he could make use of the decay widths stored in the SLHA record.
(The 'weight' expression can be abused for this purpose, but it would allow only for relative adjustments, not for setting the value directly.)
Change History (6)
comment:1 Changed 15 years ago by
Type: | defect → task |
---|
comment:2 Changed 15 years ago by
comment:3 Changed 15 years ago by
Milestone: | v2.0.1 → v2.0.2 |
---|
comment:4 Changed 15 years ago by
Status: | new → assigned |
---|
Also implement a method to specify numeric codes for processes, using a similar syntax.
comment:5 Changed 15 years ago by
Priority: | P3 → P2 |
---|---|
Severity: | minor → normal |
As this Wolfgangs next task, I rank it higher.
comment:6 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
This is done in r2475.
The result variables integral(proc)
(also n_calls
, error
etc., but this is probably useless) can be reset by the user once they become available due to a previous integrate
command. The simulate
and unstable
commands will use the redefined values. This should cover all use cases.
Furthermore, each process that is defined by a process
declaration acquires an integer variable num_id(proc)
. The value is undefined initially, but the user can give it a value, locally or globally. Reading and writing to HepMC or HEPEUP format, the user-defined IDs are activated by setting ?use_num_id
. This way, event files written by external generators can be rescanned, and WHIZARD's event files can be given arbitrary user-defined process IDs.
By default, the numeric ID is just the position of the process in the simulate
or rescan
command.
Treating the full decay width as an independent parameters would also allow to weight process cross sections by branching ratios, thus approximating exclusive matrix elements by factorization.