whizard is hosted by Hepforge, IPPP Durham

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

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

Component: documentationcore
Priority: P1P3
Severity: blockermajor
Status: newassigned

The missing options have been implemented in [1445]. They are:

  • $lhapdf_file (e.g., "cteq65s.LHgrid"; default as before)
  • lhapdf_member (default = 0)
  • lhapdf_photon_scheme (default = 0)

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.

comment:2 Changed 15 years ago by Juergen Reuter

Priority: P3P1

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 kilian

Priority: P1P3

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 kilian

Resolution: fixed
Status: assignedclosed

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.

comment:5 Changed 15 years ago by Juergen Reuter

Milestone: v2.0.0final

Milestone v2.0.0final deleted

Note: See TracTickets for help on using tickets.