Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WHIZARD GenCrossSection error message #7

Open
dirkzerwas opened this issue Mar 21, 2024 · 2 comments
Open

WHIZARD GenCrossSection error message #7

dirkzerwas opened this issue Mar 21, 2024 · 2 comments

Comments

@dirkzerwas
Copy link
Collaborator

WHIZARD: activating the writing of the cross section to the HepMC event record leads to the error message:
WARNING::GenCrossSection::to_string: the number of cross-sections cross_sections.size()=1 does not match the number of weights0
not reproduced by Juergen Reuter in standalone mode. Need to check versions of Whizard and HEPMC to solve the problem.

@apricePhy
Copy link
Collaborator

The error "the number of cross-sections cross_sections.size()=1 does not match the number of weights" is a HepMC3 issue. Hepmc requires the MC to set an xs for each weight that it is given. We had this in sherpa and we to adjust how we fill event weights

@dirkzerwas
Copy link
Collaborator Author

In KEY4HEP we have:
HepMC 3.02.07
WHIZARD 3.1.2
I asked Juergen to compare with his setup.

Hi sinput (attached) gave him no errors, where as running it in KEY4HEP had the error (output attached)
output.txt
input.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants