#110 closed defect (fixed)
LHAPDF is not working in W2
Reported by: | Juergen Reuter | Owned by: | kilian |
---|---|---|---|
Priority: | P3 | Milestone: | |
Component: | core | Version: | 2.0.0beta |
Severity: | major | Keywords: | PDFs, documentation |
Cc: |
Description
In W2 it is not possible to call a different pdfset than the standard ones. If possible this has at least to be properly documented!!!
Change History (5)
comment:1 Changed 15 years ago by
Component: | documentation → core |
---|---|
Priority: | P1 → P3 |
Severity: | blocker → major |
Status: | new → assigned |
comment:2 Changed 15 years ago by
Priority: | P3 → P1 |
---|
The options seem not to do anything!!! WHIZARD prints out the chosen LHAPDF file, but always the standard PDF is taken.
comment:3 Changed 15 years ago by
Priority: | P1 → P3 |
---|
That was a typo in the comment. The variable was $lhapdf_name.
However, $lhapdf_file is actually better, so I renamed the variable in the code [1463].
comment:4 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
A source of confusion was the existence of global variables. Fixed in [1490].
LHAPDF should work now also in case of independent structure functions, as in p + gamma or n + pion. What will not work (and makes no sense) is the selection of two different proton structure functions in the same process. While WHIZARD will pretend to do that, LHAPDF actually overwrites the first one with the second setting, because it has its own global variables. If the second beam is a photon or pion, no problem.
The missing options have been implemented in [1445]. They are:
There is still a bug in the implementation which prohibits the selection of independent SFs for the two beams. Thus I leave the ticket open but reduce the priority, since this doesn't affect the primary use case.